67 #ifndef __vtkPBGLRMATGraphSource_h
68 #define __vtkPBGLRMATGraphSource_h
70 #include "vtkInfovisParallelModule.h"
71 #include "vtkGraphAlgorithm.h"
74 class vtkPVXMLElement;
81 void PrintSelf(ostream& os, vtkIndent indent);
86 vtkGetMacro(NumberOfVertices, vtkIdType);
91 virtual void SetNumberOfVertices(vtkIdType value);
96 vtkGetMacro(NumberOfEdges, vtkIdType);
97 vtkSetClampMacro(NumberOfEdges, vtkIdType, 0, VTK_ID_MAX);
101 void SetProbabilities(
double A,
double B,
double C,
double D);
104 void GetProbabilities(
double *A,
double *B,
double *C,
double *D);
109 vtkSetMacro(IncludeEdgeWeights,
bool);
110 vtkGetMacro(IncludeEdgeWeights,
bool);
111 vtkBooleanMacro(IncludeEdgeWeights,
bool);
116 vtkSetStringMacro(EdgeWeightArrayName);
117 vtkGetStringMacro(EdgeWeightArrayName);
123 vtkSetMacro(AllowSelfLoops,
bool);
124 vtkGetMacro(AllowSelfLoops,
bool);
125 vtkBooleanMacro(AllowSelfLoops,
bool);
130 vtkSetMacro(GeneratePedigreeIds,
bool);
131 vtkGetMacro(GeneratePedigreeIds,
bool);
132 vtkBooleanMacro(GeneratePedigreeIds,
bool);
137 vtkSetStringMacro(VertexPedigreeIdArrayName);
138 vtkGetStringMacro(VertexPedigreeIdArrayName);
143 vtkSetStringMacro(EdgePedigreeIdArrayName);
144 vtkGetStringMacro(EdgePedigreeIdArrayName);
151 vtkSetMacro(Seed,
int);
152 vtkGetMacro(Seed,
int);
172 virtual int RequestData(
174 vtkInformationVector**,
175 vtkInformationVector*);
179 virtual int RequestDataObject(vtkInformation*,
180 vtkInformationVector** inputVector,
181 vtkInformationVector* outputVector);
char * VertexPedigreeIdArrayName
vtkIdType NumberOfVertices
char * EdgeWeightArrayName
char * EdgePedigreeIdArrayName
a distributed graph with random edges built accorting to the recursive matrix (R-MAT) model...