Traits structure that allows a communicator with graph topology to be view as a graph by the Boost Graph Library. More...
#include <graph_communicator.hpp>
Classes | |
struct | traversal_category |
INTERNAL ONLY. More... | |
Public Types | |
typedef int | vertex_descriptor |
typedef std::pair< int, int > | edge_descriptor |
typedef directed_tag | directed_category |
typedef disallow_parallel_edge_tag | edge_parallel_category |
typedef mpi::detail::comm_out_edge_iterator | out_edge_iterator |
typedef int | degree_size_type |
typedef mpi::detail::comm_adj_iterator | adjacency_iterator |
typedef counting_iterator< int > | vertex_iterator |
typedef int | vertices_size_type |
typedef mpi::detail::comm_edge_iterator | edge_iterator |
typedef int | edges_size_type |
Static Public Member Functions | |
static vertex_descriptor | null_vertex () |
Returns a vertex descriptor that can never refer to any valid vertex. More... | |
Traits structure that allows a communicator with graph topology to be view as a graph by the Boost Graph Library.
The specialization of graph_traits
for an MPI communicator allows a communicator with graph topology to be viewed as a graph. An MPI communicator with graph topology meets the requirements of the Graph, Incidence Graph, Adjacency Graph, Vertex List Graph, and Edge List Graph concepts from the Boost Graph Library.
typedef mpi::detail::comm_adj_iterator boost::graph_traits< mpi::graph_communicator >::adjacency_iterator |
typedef int boost::graph_traits< mpi::graph_communicator >::degree_size_type |
typedef std::pair<int, int> boost::graph_traits< mpi::graph_communicator >::edge_descriptor |
typedef mpi::detail::comm_edge_iterator boost::graph_traits< mpi::graph_communicator >::edge_iterator |
typedef disallow_parallel_edge_tag boost::graph_traits< mpi::graph_communicator >::edge_parallel_category |
typedef int boost::graph_traits< mpi::graph_communicator >::edges_size_type |
typedef mpi::detail::comm_out_edge_iterator boost::graph_traits< mpi::graph_communicator >::out_edge_iterator |
typedef int boost::graph_traits< mpi::graph_communicator >::vertex_descriptor |
typedef counting_iterator<int> boost::graph_traits< mpi::graph_communicator >::vertex_iterator |
typedef int boost::graph_traits< mpi::graph_communicator >::vertices_size_type |
|
inlinestatic |
Returns a vertex descriptor that can never refer to any valid vertex.