41 #ifndef vtkPBGLRandomGraphSource_h
42 #define vtkPBGLRandomGraphSource_h
44 #include "vtkInfovisParallelModule.h"
48 class vtkPVXMLElement;
50 #if !defined(VTK_LEGACY_REMOVE)
74 vtkGetMacro(EdgeProbability,
double);
75 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
81 vtkSetMacro(IncludeEdgeWeights,
bool);
82 vtkGetMacro(IncludeEdgeWeights,
bool);
83 vtkBooleanMacro(IncludeEdgeWeights,
bool);
88 vtkSetStringMacro(EdgeWeightArrayName);
89 vtkGetStringMacro(EdgeWeightArrayName);
95 vtkSetMacro(Directed,
bool);
96 vtkGetMacro(Directed,
bool);
97 vtkBooleanMacro(Directed,
bool);
107 vtkSetMacro(UseEdgeProbability,
bool);
108 vtkGetMacro(UseEdgeProbability,
bool);
109 vtkBooleanMacro(UseEdgeProbability,
bool);
115 vtkSetMacro(StartWithTree,
bool);
116 vtkGetMacro(StartWithTree,
bool);
117 vtkBooleanMacro(StartWithTree,
bool);
123 vtkSetMacro(AllowSelfLoops,
bool);
124 vtkGetMacro(AllowSelfLoops,
bool);
125 vtkBooleanMacro(AllowSelfLoops,
bool);
134 vtkSetMacro(AllowBalancedEdgeDistribution,
bool);
135 vtkGetMacro(AllowBalancedEdgeDistribution,
bool);
136 vtkBooleanMacro(AllowBalancedEdgeDistribution,
bool);
141 vtkSetMacro(GeneratePedigreeIds,
bool);
142 vtkGetMacro(GeneratePedigreeIds,
bool);
143 vtkBooleanMacro(GeneratePedigreeIds,
bool);
149 vtkSetStringMacro(VertexPedigreeIdArrayName);
150 vtkGetStringMacro(VertexPedigreeIdArrayName);
155 vtkSetStringMacro(EdgePedigreeIdArrayName);
156 vtkGetStringMacro(EdgePedigreeIdArrayName);
163 vtkSetMacro(Seed,
int);
164 vtkGetMacro(Seed,
int);
202 #endif //VTK_LEGACY_REMOVE
char * EdgePedigreeIdArrayName
static vtkGraphAlgorithm * New()
char * EdgeWeightArrayName
char * VertexPedigreeIdArrayName
Generates a distributed graph with random edges.
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIdType NumberOfVertices
bool AllowBalancedEdgeDistribution
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)