22#ifndef vtkRandomGraphSource_h
23#define vtkRandomGraphSource_h
26#include "vtkInfovisCoreModule.h"
28VTK_ABI_NAMESPACE_BEGIN
43 vtkGetMacro(NumberOfVertices,
int);
52 vtkGetMacro(NumberOfEdges,
int);
61 vtkGetMacro(EdgeProbability,
double);
62 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
70 vtkSetMacro(IncludeEdgeWeights,
bool);
71 vtkGetMacro(IncludeEdgeWeights,
bool);
72 vtkBooleanMacro(IncludeEdgeWeights,
bool);
79 vtkSetStringMacro(EdgeWeightArrayName);
80 vtkGetStringMacro(EdgeWeightArrayName);
87 vtkSetMacro(Directed,
bool);
88 vtkGetMacro(Directed,
bool);
89 vtkBooleanMacro(Directed,
bool);
97 vtkSetMacro(UseEdgeProbability,
bool);
98 vtkGetMacro(UseEdgeProbability,
bool);
99 vtkBooleanMacro(UseEdgeProbability,
bool);
107 vtkSetMacro(StartWithTree,
bool);
108 vtkGetMacro(StartWithTree,
bool);
109 vtkBooleanMacro(StartWithTree,
bool);
118 vtkSetMacro(AllowSelfLoops,
bool);
119 vtkGetMacro(AllowSelfLoops,
bool);
120 vtkBooleanMacro(AllowSelfLoops,
bool);
128 vtkSetMacro(AllowParallelEdges,
bool);
129 vtkGetMacro(AllowParallelEdges,
bool);
130 vtkBooleanMacro(AllowParallelEdges,
bool);
137 vtkSetMacro(GeneratePedigreeIds,
bool);
138 vtkGetMacro(GeneratePedigreeIds,
bool);
139 vtkBooleanMacro(GeneratePedigreeIds,
bool);
146 vtkSetStringMacro(VertexPedigreeIdArrayName);
147 vtkGetStringMacro(VertexPedigreeIdArrayName);
154 vtkSetStringMacro(EdgePedigreeIdArrayName);
155 vtkGetStringMacro(EdgePedigreeIdArrayName);
164 vtkSetMacro(Seed,
int);
165 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.