41#ifndef vtkRandomGraphSource_h
42#define vtkRandomGraphSource_h
45#include "vtkInfovisCoreModule.h"
47VTK_ABI_NAMESPACE_BEGIN
62 vtkGetMacro(NumberOfVertices,
int);
71 vtkGetMacro(NumberOfEdges,
int);
80 vtkGetMacro(EdgeProbability,
double);
81 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
89 vtkSetMacro(IncludeEdgeWeights,
bool);
90 vtkGetMacro(IncludeEdgeWeights,
bool);
91 vtkBooleanMacro(IncludeEdgeWeights,
bool);
98 vtkSetStringMacro(EdgeWeightArrayName);
99 vtkGetStringMacro(EdgeWeightArrayName);
106 vtkSetMacro(Directed,
bool);
107 vtkGetMacro(Directed,
bool);
108 vtkBooleanMacro(Directed,
bool);
116 vtkSetMacro(UseEdgeProbability,
bool);
117 vtkGetMacro(UseEdgeProbability,
bool);
118 vtkBooleanMacro(UseEdgeProbability,
bool);
126 vtkSetMacro(StartWithTree,
bool);
127 vtkGetMacro(StartWithTree,
bool);
128 vtkBooleanMacro(StartWithTree,
bool);
137 vtkSetMacro(AllowSelfLoops,
bool);
138 vtkGetMacro(AllowSelfLoops,
bool);
139 vtkBooleanMacro(AllowSelfLoops,
bool);
147 vtkSetMacro(AllowParallelEdges,
bool);
148 vtkGetMacro(AllowParallelEdges,
bool);
149 vtkBooleanMacro(AllowParallelEdges,
bool);
156 vtkSetMacro(GeneratePedigreeIds,
bool);
157 vtkGetMacro(GeneratePedigreeIds,
bool);
158 vtkBooleanMacro(GeneratePedigreeIds,
bool);
165 vtkSetStringMacro(VertexPedigreeIdArrayName);
166 vtkGetStringMacro(VertexPedigreeIdArrayName);
173 vtkSetStringMacro(EdgePedigreeIdArrayName);
174 vtkGetStringMacro(EdgePedigreeIdArrayName);
183 vtkSetMacro(Seed,
int);
184 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.