38 #ifndef vtkRandomGraphSource_h 39 #define vtkRandomGraphSource_h 41 #include "vtkInfovisCoreModule.h" 45 class vtkPVXMLElement;
58 vtkGetMacro(NumberOfVertices,
int);
59 vtkSetClampMacro(NumberOfVertices,
int, 0,
VTK_INT_MAX);
67 vtkGetMacro(NumberOfEdges,
int);
68 vtkSetClampMacro(NumberOfEdges,
int, 0,
VTK_INT_MAX);
76 vtkGetMacro(EdgeProbability,
double);
77 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
85 vtkSetMacro(IncludeEdgeWeights,
bool);
86 vtkGetMacro(IncludeEdgeWeights,
bool);
87 vtkBooleanMacro(IncludeEdgeWeights,
bool);
94 vtkSetStringMacro(EdgeWeightArrayName);
95 vtkGetStringMacro(EdgeWeightArrayName);
102 vtkSetMacro(Directed,
bool);
103 vtkGetMacro(Directed,
bool);
104 vtkBooleanMacro(Directed,
bool);
112 vtkSetMacro(UseEdgeProbability,
bool);
113 vtkGetMacro(UseEdgeProbability,
bool);
114 vtkBooleanMacro(UseEdgeProbability,
bool);
122 vtkSetMacro(StartWithTree,
bool);
123 vtkGetMacro(StartWithTree,
bool);
124 vtkBooleanMacro(StartWithTree,
bool);
133 vtkSetMacro(AllowSelfLoops,
bool);
134 vtkGetMacro(AllowSelfLoops,
bool);
135 vtkBooleanMacro(AllowSelfLoops,
bool);
143 vtkSetMacro(AllowParallelEdges,
bool);
144 vtkGetMacro(AllowParallelEdges,
bool);
145 vtkBooleanMacro(AllowParallelEdges,
bool);
152 vtkSetMacro(GeneratePedigreeIds,
bool);
153 vtkGetMacro(GeneratePedigreeIds,
bool);
154 vtkBooleanMacro(GeneratePedigreeIds,
bool);
161 vtkSetStringMacro(VertexPedigreeIdArrayName);
162 vtkGetStringMacro(VertexPedigreeIdArrayName);
169 vtkSetStringMacro(EdgePedigreeIdArrayName);
170 vtkGetStringMacro(EdgePedigreeIdArrayName);
179 vtkSetMacro(Seed,
int);
180 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