67 #ifndef vtkRandomGraphSource_h
68 #define vtkRandomGraphSource_h
71 #include "vtkInfovisCoreModule.h"
74 class vtkPVXMLElement;
87 vtkGetMacro(NumberOfVertices,
int);
96 vtkGetMacro(NumberOfEdges,
int);
105 vtkGetMacro(EdgeProbability,
double);
106 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
114 vtkSetMacro(IncludeEdgeWeights,
bool);
115 vtkGetMacro(IncludeEdgeWeights,
bool);
116 vtkBooleanMacro(IncludeEdgeWeights,
bool);
123 vtkSetStringMacro(EdgeWeightArrayName);
124 vtkGetStringMacro(EdgeWeightArrayName);
131 vtkSetMacro(Directed,
bool);
132 vtkGetMacro(Directed,
bool);
133 vtkBooleanMacro(Directed,
bool);
141 vtkSetMacro(UseEdgeProbability,
bool);
142 vtkGetMacro(UseEdgeProbability,
bool);
143 vtkBooleanMacro(UseEdgeProbability,
bool);
151 vtkSetMacro(StartWithTree,
bool);
152 vtkGetMacro(StartWithTree,
bool);
153 vtkBooleanMacro(StartWithTree,
bool);
162 vtkSetMacro(AllowSelfLoops,
bool);
163 vtkGetMacro(AllowSelfLoops,
bool);
164 vtkBooleanMacro(AllowSelfLoops,
bool);
172 vtkSetMacro(AllowParallelEdges,
bool);
173 vtkGetMacro(AllowParallelEdges,
bool);
174 vtkBooleanMacro(AllowParallelEdges,
bool);
181 vtkSetMacro(GeneratePedigreeIds,
bool);
182 vtkGetMacro(GeneratePedigreeIds,
bool);
183 vtkBooleanMacro(GeneratePedigreeIds,
bool);
190 vtkSetStringMacro(VertexPedigreeIdArrayName);
191 vtkGetStringMacro(VertexPedigreeIdArrayName);
198 vtkSetStringMacro(EdgePedigreeIdArrayName);
199 vtkGetStringMacro(EdgePedigreeIdArrayName);
208 vtkSetMacro(Seed,
int);
209 vtkGetMacro(Seed,
int);
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
a simple class to control print indentation
a graph with random edges
char * EdgeWeightArrayName
char * EdgePedigreeIdArrayName
static vtkRandomGraphSource * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
char * VertexPedigreeIdArrayName
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkRandomGraphSource() override
int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Creates directed or undirected output based on Directed flag.