42#ifndef vtkPBGLRandomGraphSource_h
43#define vtkPBGLRandomGraphSource_h
45#include "vtkInfovisParallelModule.h"
51#if !defined(VTK_LEGACY_REMOVE)
81 vtkGetMacro(EdgeProbability,
double);
82 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
91 vtkGetMacro(IncludeEdgeWeights,
bool);
99 vtkSetStringMacro(EdgeWeightArrayName);
108 vtkGetMacro(Directed,
bool);
122 vtkGetMacro(UseEdgeProbability,
bool);
132 vtkGetMacro(StartWithTree,
bool);
143 vtkGetMacro(AllowSelfLoops,
bool);
156 vtkGetMacro(AllowBalancedEdgeDistribution,
bool);
165 vtkGetMacro(GeneratePedigreeIds,
bool);
174 vtkSetStringMacro(VertexPedigreeIdArrayName);
182 vtkSetStringMacro(EdgePedigreeIdArrayName);
193 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
Generates a distributed graph with random edges.
~vtkPBGLRandomGraphSource()
vtkPBGLRandomGraphSource()
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Creates directed or undirected output based on Directed flag.
vtkIdType NumberOfVertices
char * EdgePedigreeIdArrayName
char * VertexPedigreeIdArrayName
char * EdgeWeightArrayName
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkPBGLRandomGraphSource * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
bool AllowBalancedEdgeDistribution
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.