40 #ifndef __vtkPBGLRandomGraphSource_h
41 #define __vtkPBGLRandomGraphSource_h
43 #include "vtkInfovisParallelModule.h"
44 #include "vtkGraphAlgorithm.h"
47 class vtkPVXMLElement;
54 void PrintSelf(ostream& os, vtkIndent indent);
58 vtkGetMacro(NumberOfVertices, vtkIdType);
59 vtkSetClampMacro(NumberOfVertices, vtkIdType, 0, VTK_ID_MAX);
65 vtkGetMacro(NumberOfEdges, vtkIdType);
66 vtkSetClampMacro(NumberOfEdges, vtkIdType, 0, VTK_ID_MAX);
72 vtkGetMacro(EdgeProbability,
double);
73 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
79 vtkSetMacro(IncludeEdgeWeights,
bool);
80 vtkGetMacro(IncludeEdgeWeights,
bool);
81 vtkBooleanMacro(IncludeEdgeWeights,
bool);
86 vtkSetStringMacro(EdgeWeightArrayName);
87 vtkGetStringMacro(EdgeWeightArrayName);
93 vtkSetMacro(Directed,
bool);
94 vtkGetMacro(Directed,
bool);
95 vtkBooleanMacro(Directed,
bool);
105 vtkSetMacro(UseEdgeProbability,
bool);
106 vtkGetMacro(UseEdgeProbability,
bool);
107 vtkBooleanMacro(UseEdgeProbability,
bool);
113 vtkSetMacro(StartWithTree,
bool);
114 vtkGetMacro(StartWithTree,
bool);
115 vtkBooleanMacro(StartWithTree,
bool);
121 vtkSetMacro(AllowSelfLoops,
bool);
122 vtkGetMacro(AllowSelfLoops,
bool);
123 vtkBooleanMacro(AllowSelfLoops,
bool);
132 vtkSetMacro(AllowBalancedEdgeDistribution,
bool);
133 vtkGetMacro(AllowBalancedEdgeDistribution,
bool);
134 vtkBooleanMacro(AllowBalancedEdgeDistribution,
bool);
139 vtkSetMacro(GeneratePedigreeIds,
bool);
140 vtkGetMacro(GeneratePedigreeIds,
bool);
141 vtkBooleanMacro(GeneratePedigreeIds,
bool);
147 vtkSetStringMacro(VertexPedigreeIdArrayName);
148 vtkGetStringMacro(VertexPedigreeIdArrayName);
153 vtkSetStringMacro(EdgePedigreeIdArrayName);
154 vtkGetStringMacro(EdgePedigreeIdArrayName);
161 vtkSetMacro(Seed,
int);
162 vtkGetMacro(Seed,
int);
183 virtual int RequestData(
185 vtkInformationVector**,
186 vtkInformationVector*);
190 virtual int RequestDataObject(vtkInformation*,
191 vtkInformationVector** inputVector,
192 vtkInformationVector* outputVector);
char * EdgePedigreeIdArrayName
char * EdgeWeightArrayName
char * VertexPedigreeIdArrayName
Generates a distributed graph with random edges.
vtkIdType NumberOfVertices
bool AllowBalancedEdgeDistribution