37 #ifndef vtkRandomGraphSource_h
38 #define vtkRandomGraphSource_h
44 class vtkPVXMLElement;
55 vtkGetMacro(NumberOfVertices,
int);
56 vtkSetClampMacro(NumberOfVertices,
int, 0,
VTK_INT_MAX);
62 vtkGetMacro(NumberOfEdges,
int);
63 vtkSetClampMacro(NumberOfEdges,
int, 0,
VTK_INT_MAX);
69 vtkGetMacro(EdgeProbability,
double);
70 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
76 vtkSetMacro(IncludeEdgeWeights,
bool);
77 vtkGetMacro(IncludeEdgeWeights,
bool);
78 vtkBooleanMacro(IncludeEdgeWeights,
bool);
83 vtkSetStringMacro(EdgeWeightArrayName);
84 vtkGetStringMacro(EdgeWeightArrayName);
90 vtkSetMacro(Directed,
bool);
91 vtkGetMacro(Directed,
bool);
92 vtkBooleanMacro(Directed,
bool);
98 vtkSetMacro(UseEdgeProbability,
bool);
99 vtkGetMacro(UseEdgeProbability,
bool);
100 vtkBooleanMacro(UseEdgeProbability,
bool);
106 vtkSetMacro(StartWithTree,
bool);
107 vtkGetMacro(StartWithTree,
bool);
108 vtkBooleanMacro(StartWithTree,
bool);
114 vtkSetMacro(AllowSelfLoops,
bool);
115 vtkGetMacro(AllowSelfLoops,
bool);
116 vtkBooleanMacro(AllowSelfLoops,
bool);
122 vtkSetMacro(AllowParallelEdges,
bool);
123 vtkGetMacro(AllowParallelEdges,
bool);
124 vtkBooleanMacro(AllowParallelEdges,
bool);
129 vtkSetMacro(GeneratePedigreeIds,
bool);
130 vtkGetMacro(GeneratePedigreeIds,
bool);
131 vtkBooleanMacro(GeneratePedigreeIds,
bool);
136 vtkSetStringMacro(VertexPedigreeIdArrayName);
137 vtkGetStringMacro(VertexPedigreeIdArrayName);
142 vtkSetStringMacro(EdgePedigreeIdArrayName);
143 vtkGetStringMacro(EdgePedigreeIdArrayName);
149 vtkSetMacro(Seed,
int);
150 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
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKINFOVISCORE_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
char * EdgeWeightArrayName