41#ifndef vtkRandomGraphSource_h
42#define vtkRandomGraphSource_h
45#include "vtkInfovisCoreModule.h"
61 vtkGetMacro(NumberOfVertices,
int);
70 vtkGetMacro(NumberOfEdges,
int);
79 vtkGetMacro(EdgeProbability,
double);
80 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
88 vtkSetMacro(IncludeEdgeWeights,
bool);
89 vtkGetMacro(IncludeEdgeWeights,
bool);
90 vtkBooleanMacro(IncludeEdgeWeights,
bool);
97 vtkSetStringMacro(EdgeWeightArrayName);
98 vtkGetStringMacro(EdgeWeightArrayName);
105 vtkSetMacro(Directed,
bool);
106 vtkGetMacro(Directed,
bool);
107 vtkBooleanMacro(Directed,
bool);
115 vtkSetMacro(UseEdgeProbability,
bool);
116 vtkGetMacro(UseEdgeProbability,
bool);
117 vtkBooleanMacro(UseEdgeProbability,
bool);
125 vtkSetMacro(StartWithTree,
bool);
126 vtkGetMacro(StartWithTree,
bool);
127 vtkBooleanMacro(StartWithTree,
bool);
136 vtkSetMacro(AllowSelfLoops,
bool);
137 vtkGetMacro(AllowSelfLoops,
bool);
138 vtkBooleanMacro(AllowSelfLoops,
bool);
146 vtkSetMacro(AllowParallelEdges,
bool);
147 vtkGetMacro(AllowParallelEdges,
bool);
148 vtkBooleanMacro(AllowParallelEdges,
bool);
155 vtkSetMacro(GeneratePedigreeIds,
bool);
156 vtkGetMacro(GeneratePedigreeIds,
bool);
157 vtkBooleanMacro(GeneratePedigreeIds,
bool);
164 vtkSetStringMacro(VertexPedigreeIdArrayName);
165 vtkGetStringMacro(VertexPedigreeIdArrayName);
172 vtkSetStringMacro(EdgePedigreeIdArrayName);
173 vtkGetStringMacro(EdgePedigreeIdArrayName);
182 vtkSetMacro(Seed,
int);
183 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.