37 #ifndef __vtkRandomGraphSource_h
38 #define __vtkRandomGraphSource_h
43 class vtkPVXMLElement;
54 vtkGetMacro(NumberOfVertices,
int);
55 vtkSetClampMacro(NumberOfVertices,
int, 0,
VTK_INT_MAX);
61 vtkGetMacro(NumberOfEdges,
int);
62 vtkSetClampMacro(NumberOfEdges,
int, 0,
VTK_INT_MAX);
68 vtkGetMacro(EdgeProbability,
double);
69 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
75 vtkSetMacro(IncludeEdgeWeights,
bool);
76 vtkGetMacro(IncludeEdgeWeights,
bool);
77 vtkBooleanMacro(IncludeEdgeWeights,
bool);
82 vtkSetStringMacro(EdgeWeightArrayName);
83 vtkGetStringMacro(EdgeWeightArrayName);
89 vtkSetMacro(Directed,
bool);
90 vtkGetMacro(Directed,
bool);
91 vtkBooleanMacro(Directed,
bool);
97 vtkSetMacro(UseEdgeProbability,
bool);
98 vtkGetMacro(UseEdgeProbability,
bool);
99 vtkBooleanMacro(UseEdgeProbability,
bool);
105 vtkSetMacro(StartWithTree,
bool);
106 vtkGetMacro(StartWithTree,
bool);
107 vtkBooleanMacro(StartWithTree,
bool);
113 vtkSetMacro(AllowSelfLoops,
bool);
114 vtkGetMacro(AllowSelfLoops,
bool);
115 vtkBooleanMacro(AllowSelfLoops,
bool);
121 vtkSetMacro(AllowParallelEdges,
bool);
122 vtkGetMacro(AllowParallelEdges,
bool);
123 vtkBooleanMacro(AllowParallelEdges,
bool);
128 vtkSetMacro(GeneratePedigreeIds,
bool);
129 vtkGetMacro(GeneratePedigreeIds,
bool);
130 vtkBooleanMacro(GeneratePedigreeIds,
bool);
135 vtkSetStringMacro(VertexPedigreeIdArrayName);
136 vtkGetStringMacro(VertexPedigreeIdArrayName);
141 vtkSetStringMacro(EdgePedigreeIdArrayName);
142 vtkGetStringMacro(EdgePedigreeIdArrayName);
148 vtkSetMacro(Seed,
int);
149 vtkGetMacro(Seed,
int);