32 #ifndef vtkRandomGraphSource_h 33 #define vtkRandomGraphSource_h 35 #include "vtkInfovisCoreModule.h" 39 class vtkPVXMLElement;
52 vtkGetMacro(NumberOfVertices,
int);
53 vtkSetClampMacro(NumberOfVertices,
int, 0,
VTK_INT_MAX);
61 vtkGetMacro(NumberOfEdges,
int);
62 vtkSetClampMacro(NumberOfEdges,
int, 0,
VTK_INT_MAX);
70 vtkGetMacro(EdgeProbability,
double);
71 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
79 vtkSetMacro(IncludeEdgeWeights,
bool);
80 vtkGetMacro(IncludeEdgeWeights,
bool);
81 vtkBooleanMacro(IncludeEdgeWeights,
bool);
88 vtkSetStringMacro(EdgeWeightArrayName);
89 vtkGetStringMacro(EdgeWeightArrayName);
96 vtkSetMacro(Directed,
bool);
97 vtkGetMacro(Directed,
bool);
98 vtkBooleanMacro(Directed,
bool);
106 vtkSetMacro(UseEdgeProbability,
bool);
107 vtkGetMacro(UseEdgeProbability,
bool);
108 vtkBooleanMacro(UseEdgeProbability,
bool);
116 vtkSetMacro(StartWithTree,
bool);
117 vtkGetMacro(StartWithTree,
bool);
118 vtkBooleanMacro(StartWithTree,
bool);
127 vtkSetMacro(AllowSelfLoops,
bool);
128 vtkGetMacro(AllowSelfLoops,
bool);
129 vtkBooleanMacro(AllowSelfLoops,
bool);
137 vtkSetMacro(AllowParallelEdges,
bool);
138 vtkGetMacro(AllowParallelEdges,
bool);
139 vtkBooleanMacro(AllowParallelEdges,
bool);
146 vtkSetMacro(GeneratePedigreeIds,
bool);
147 vtkGetMacro(GeneratePedigreeIds,
bool);
148 vtkBooleanMacro(GeneratePedigreeIds,
bool);
155 vtkSetStringMacro(VertexPedigreeIdArrayName);
156 vtkGetStringMacro(VertexPedigreeIdArrayName);
163 vtkSetStringMacro(EdgePedigreeIdArrayName);
164 vtkGetStringMacro(EdgePedigreeIdArrayName);
173 vtkSetMacro(Seed,
int);
174 vtkGetMacro(Seed,
int);
static vtkGraphAlgorithm * New()
a graph with random edges
char * EdgePedigreeIdArrayName
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
char * VertexPedigreeIdArrayName
a simple class to control print indentation
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
char * EdgeWeightArrayName