40 #ifndef __vtkPBGLRandomGraphSource_h
41 #define __vtkPBGLRandomGraphSource_h
43 #include "vtkInfovisParallelModule.h"
47 class vtkPVXMLElement;
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);
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)