47#ifndef vtkRandomGraphSource_h
48#define vtkRandomGraphSource_h
51#include "vtkInfovisCoreModule.h"
67 vtkGetMacro(NumberOfVertices,
int);
76 vtkGetMacro(NumberOfEdges,
int);
85 vtkGetMacro(EdgeProbability,
double);
86 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
94 vtkSetMacro(IncludeEdgeWeights,
bool);
95 vtkGetMacro(IncludeEdgeWeights,
bool);
96 vtkBooleanMacro(IncludeEdgeWeights,
bool);
103 vtkSetStringMacro(EdgeWeightArrayName);
104 vtkGetStringMacro(EdgeWeightArrayName);
111 vtkSetMacro(Directed,
bool);
112 vtkGetMacro(Directed,
bool);
113 vtkBooleanMacro(Directed,
bool);
121 vtkSetMacro(UseEdgeProbability,
bool);
122 vtkGetMacro(UseEdgeProbability,
bool);
123 vtkBooleanMacro(UseEdgeProbability,
bool);
131 vtkSetMacro(StartWithTree,
bool);
132 vtkGetMacro(StartWithTree,
bool);
133 vtkBooleanMacro(StartWithTree,
bool);
142 vtkSetMacro(AllowSelfLoops,
bool);
143 vtkGetMacro(AllowSelfLoops,
bool);
144 vtkBooleanMacro(AllowSelfLoops,
bool);
152 vtkSetMacro(AllowParallelEdges,
bool);
153 vtkGetMacro(AllowParallelEdges,
bool);
154 vtkBooleanMacro(AllowParallelEdges,
bool);
161 vtkSetMacro(GeneratePedigreeIds,
bool);
162 vtkGetMacro(GeneratePedigreeIds,
bool);
163 vtkBooleanMacro(GeneratePedigreeIds,
bool);
170 vtkSetStringMacro(VertexPedigreeIdArrayName);
171 vtkGetStringMacro(VertexPedigreeIdArrayName);
178 vtkSetStringMacro(EdgePedigreeIdArrayName);
179 vtkGetStringMacro(EdgePedigreeIdArrayName);
188 vtkSetMacro(Seed,
int);
189 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.