37 #ifndef __vtkRandomGraphSource_h
38 #define __vtkRandomGraphSource_h
40 #include "vtkInfovisCoreModule.h"
41 #include "vtkGraphAlgorithm.h"
44 class vtkPVXMLElement;
51 void PrintSelf(ostream& os, vtkIndent indent);
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);
171 virtual int RequestData(
173 vtkInformationVector**,
174 vtkInformationVector*);
178 virtual int RequestDataObject(vtkInformation*,
179 vtkInformationVector** inputVector,
180 vtkInformationVector* outputVector);
a graph with random edges
char * EdgePedigreeIdArrayName
char * VertexPedigreeIdArrayName
char * EdgeWeightArrayName