39 #ifndef vtkPBGLDistributedGraphHelper_h
40 #define vtkPBGLDistributedGraphHelper_h
42 #include "vtkInfovisParallelModule.h"
45 class vtkPBGLDistributedGraphHelperInternals;
47 namespace boost {
namespace graph {
namespace distributed {
48 class mpi_process_group;
51 #if !defined(VTK_LEGACY_REMOVE)
80 boost::graph::distributed::mpi_process_group GetProcessGroup();
136 ADD_UNDIRECTED_EDGE_NN_NO_REPLY_TAG
228 friend class vtkPBGLDistributedGraphHelperInternals;
232 #endif //VTK_LEGACY_REMOVE
233 #endif // vtkPBGLDistributedGraphHelper_h
helper for the vtkGraph class that allows the graph to be distributed across multiple memory spaces...
virtual void AddEdgeInternal(vtkIdType u, vtkIdType v, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)=0
Add an edge (u, v) to the distributed graph.
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
An array holding vtkVariants.
virtual vtkDistributedGraphHelper * Clone()=0
Clones the distributed graph helper, returning another distributed graph helper of the same kind that...
virtual void AttachToGraph(vtkGraph *graph)
Attach this distributed graph helper to the given graph.
virtual void Synchronize()=0
Synchronizes all of the processors involved in this distributed graph, so that all processors have a ...
virtual vtkIdType FindVertex(const vtkVariant &pedigreeId)=0
Try to find the vertex with the given pedigree ID.
A atomic type representing the union of many types.
Base class for graph data types.
a simple class to control print indentation
vtkPBGLDistributedGraphHelperInternals * Internals
The Parallel BGL-specific internal information for this distributed graph.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual void FindEdgeSourceAndTarget(vtkIdType id, vtkIdType *source, vtkIdType *target)=0
Determine the source and target of the edge with the given ID.
virtual void AddVertexInternal(vtkVariantArray *propertyArr, vtkIdType *vertex)=0
Add a vertex, optionally with properties, to the distributed graph.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
end namespace boost::graph::distributed