61#ifndef vtkRandomGraphSource_h
62#define vtkRandomGraphSource_h
65#include "vtkInfovisCoreModule.h"
67VTK_ABI_NAMESPACE_BEGIN
82 vtkGetMacro(NumberOfVertices,
int);
91 vtkGetMacro(NumberOfEdges,
int);
100 vtkGetMacro(EdgeProbability,
double);
101 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
109 vtkSetMacro(IncludeEdgeWeights,
bool);
110 vtkGetMacro(IncludeEdgeWeights,
bool);
111 vtkBooleanMacro(IncludeEdgeWeights,
bool);
118 vtkSetStringMacro(EdgeWeightArrayName);
119 vtkGetStringMacro(EdgeWeightArrayName);
126 vtkSetMacro(Directed,
bool);
127 vtkGetMacro(Directed,
bool);
128 vtkBooleanMacro(Directed,
bool);
136 vtkSetMacro(UseEdgeProbability,
bool);
137 vtkGetMacro(UseEdgeProbability,
bool);
138 vtkBooleanMacro(UseEdgeProbability,
bool);
146 vtkSetMacro(StartWithTree,
bool);
147 vtkGetMacro(StartWithTree,
bool);
148 vtkBooleanMacro(StartWithTree,
bool);
157 vtkSetMacro(AllowSelfLoops,
bool);
158 vtkGetMacro(AllowSelfLoops,
bool);
159 vtkBooleanMacro(AllowSelfLoops,
bool);
167 vtkSetMacro(AllowParallelEdges,
bool);
168 vtkGetMacro(AllowParallelEdges,
bool);
169 vtkBooleanMacro(AllowParallelEdges,
bool);
176 vtkSetMacro(GeneratePedigreeIds,
bool);
177 vtkGetMacro(GeneratePedigreeIds,
bool);
178 vtkBooleanMacro(GeneratePedigreeIds,
bool);
185 vtkSetStringMacro(VertexPedigreeIdArrayName);
186 vtkGetStringMacro(VertexPedigreeIdArrayName);
193 vtkSetStringMacro(EdgePedigreeIdArrayName);
194 vtkGetStringMacro(EdgePedigreeIdArrayName);
203 vtkSetMacro(Seed,
int);
204 vtkGetMacro(Seed,
int);
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
a simple class to control print indentation
a graph with random edges
char * EdgeWeightArrayName
char * EdgePedigreeIdArrayName
static vtkRandomGraphSource * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
char * VertexPedigreeIdArrayName
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkRandomGraphSource() override
int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Creates directed or undirected output based on Directed flag.