A graph mixin that can provide a mapping from names to vertices, and use that mapping to simplify creation and manipulation of graphs. More...
#include <named_graph.hpp>
Public Types | |
typedef process_group_type::process_id_type | process_id_type |
typedef Config::distribution_type | distribution_type |
The type used to distribute named vertices in the graph. More... | |
typedef Config::base_distribution_type | base_distribution_type |
Public Member Functions | |
maybe_named_graph (const process_group_type &) | |
maybe_named_graph (const process_group_type &pg, const base_distribution_type &distribution) | |
void | added_vertex (Vertex) |
Notify the named_graph that we have added the given vertex. More... | |
template<typename VertexIterStability > | |
void | removing_vertex (Vertex, VertexIterStability) |
Notify the named_graph that we are removing the given vertex. More... | |
void | clearing_graph () |
Notify the named_graph that we are clearing the graph. More... | |
process_id_type | owner_by_property (const vertex_property_type &) |
Retrieve the owner of a given vertex based on the properties associated with that vertex. More... | |
distribution_type & | distribution () |
const distribution_type & | distribution () const |
Protected Attributes | |
process_group_type | pg |
The process group of the graph. More... | |
distribution_type | distribution_ |
The distribution used for the graph. More... | |
A graph mixin that can provide a mapping from names to vertices, and use that mapping to simplify creation and manipulation of graphs.
This partial specialization turns off this functionality when the VertexProperty
does not have an internal vertex name.
typedef Config::base_distribution_type boost::graph::distributed::maybe_named_graph< Graph, Vertex, Edge, Config, void >::base_distribution_type |
typedef Config::distribution_type boost::graph::distributed::maybe_named_graph< Graph, Vertex, Edge, Config, void >::distribution_type |
The type used to distribute named vertices in the graph.
typedef process_group_type::process_id_type boost::graph::distributed::maybe_named_graph< Graph, Vertex, Edge, Config, void >::process_id_type |
|
inlineexplicit |
|
inline |
|
inline |
Notify the named_graph that we have added the given vertex.
This is a no-op.
|
inline |
Notify the named_graph that we are clearing the graph.
|
inline |
|
inline |
|
inline |
Retrieve the owner of a given vertex based on the properties associated with that vertex.
This operation just returns the number of the local processor, adding all vertices locally.
References boost::graph::distributed::process_id().
|
inline |
Notify the named_graph that we are removing the given vertex.
This is a no-op.
|
protected |
The distribution used for the graph.
|
protected |
The process group of the graph.