61#ifndef vtkRandomGraphSource_h
62#define vtkRandomGraphSource_h
65#include "vtkInfovisCoreModule.h"
81 vtkGetMacro(NumberOfVertices,
int);
90 vtkGetMacro(NumberOfEdges,
int);
99 vtkGetMacro(EdgeProbability,
double);
100 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
108 vtkSetMacro(IncludeEdgeWeights,
bool);
109 vtkGetMacro(IncludeEdgeWeights,
bool);
110 vtkBooleanMacro(IncludeEdgeWeights,
bool);
117 vtkSetStringMacro(EdgeWeightArrayName);
118 vtkGetStringMacro(EdgeWeightArrayName);
125 vtkSetMacro(Directed,
bool);
126 vtkGetMacro(Directed,
bool);
127 vtkBooleanMacro(Directed,
bool);
135 vtkSetMacro(UseEdgeProbability,
bool);
136 vtkGetMacro(UseEdgeProbability,
bool);
137 vtkBooleanMacro(UseEdgeProbability,
bool);
145 vtkSetMacro(StartWithTree,
bool);
146 vtkGetMacro(StartWithTree,
bool);
147 vtkBooleanMacro(StartWithTree,
bool);
156 vtkSetMacro(AllowSelfLoops,
bool);
157 vtkGetMacro(AllowSelfLoops,
bool);
158 vtkBooleanMacro(AllowSelfLoops,
bool);
166 vtkSetMacro(AllowParallelEdges,
bool);
167 vtkGetMacro(AllowParallelEdges,
bool);
168 vtkBooleanMacro(AllowParallelEdges,
bool);
175 vtkSetMacro(GeneratePedigreeIds,
bool);
176 vtkGetMacro(GeneratePedigreeIds,
bool);
177 vtkBooleanMacro(GeneratePedigreeIds,
bool);
184 vtkSetStringMacro(VertexPedigreeIdArrayName);
185 vtkGetStringMacro(VertexPedigreeIdArrayName);
192 vtkSetStringMacro(EdgePedigreeIdArrayName);
193 vtkGetStringMacro(EdgePedigreeIdArrayName);
202 vtkSetMacro(Seed,
int);
203 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.