22 #ifndef vtkRandomGraphSource_h
23 #define vtkRandomGraphSource_h
26 #include "vtkInfovisCoreModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
30 class vtkPVXMLElement;
43 vtkGetMacro(NumberOfVertices,
int);
44 vtkSetClampMacro(NumberOfVertices,
int, 0,
VTK_INT_MAX);
52 vtkGetMacro(NumberOfEdges,
int);
53 vtkSetClampMacro(NumberOfEdges,
int, 0,
VTK_INT_MAX);
61 vtkGetMacro(EdgeProbability,
double);
62 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
70 vtkSetMacro(IncludeEdgeWeights,
bool);
71 vtkGetMacro(IncludeEdgeWeights,
bool);
72 vtkBooleanMacro(IncludeEdgeWeights,
bool);
79 vtkSetStringMacro(EdgeWeightArrayName);
80 vtkGetStringMacro(EdgeWeightArrayName);
87 vtkSetMacro(Directed,
bool);
88 vtkGetMacro(Directed,
bool);
89 vtkBooleanMacro(Directed,
bool);
97 vtkSetMacro(UseEdgeProbability,
bool);
98 vtkGetMacro(UseEdgeProbability,
bool);
99 vtkBooleanMacro(UseEdgeProbability,
bool);
107 vtkSetMacro(StartWithTree,
bool);
108 vtkGetMacro(StartWithTree,
bool);
109 vtkBooleanMacro(StartWithTree,
bool);
118 vtkSetMacro(AllowSelfLoops,
bool);
119 vtkGetMacro(AllowSelfLoops,
bool);
120 vtkBooleanMacro(AllowSelfLoops,
bool);
128 vtkSetMacro(AllowParallelEdges,
bool);
129 vtkGetMacro(AllowParallelEdges,
bool);
130 vtkBooleanMacro(AllowParallelEdges,
bool);
137 vtkSetMacro(GeneratePedigreeIds,
bool);
138 vtkGetMacro(GeneratePedigreeIds,
bool);
139 vtkBooleanMacro(GeneratePedigreeIds,
bool);
146 vtkSetStringMacro(VertexPedigreeIdArrayName);
147 vtkGetStringMacro(VertexPedigreeIdArrayName);
154 vtkSetStringMacro(EdgePedigreeIdArrayName);
155 vtkGetStringMacro(EdgePedigreeIdArrayName);
164 vtkSetMacro(Seed,
int);
165 vtkGetMacro(Seed,
int);
199 VTK_ABI_NAMESPACE_END
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