File indexing completed on 2025-01-18 09:37:19
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_GRAPH_DISTRIBUTED_REVERSE_GRAPH_HPP
0010 #define BOOST_GRAPH_DISTRIBUTED_REVERSE_GRAPH_HPP
0011
0012 #ifndef BOOST_GRAPH_USE_MPI
0013 #error "Parallel BGL files should not be included unless <boost/graph/use_mpi.hpp> has been included"
0014 #endif
0015
0016 #include <boost/graph/reverse_graph.hpp>
0017 #include <boost/graph/parallel/container_traits.hpp>
0018
0019 namespace boost {
0020 namespace graph {
0021 namespace parallel {
0022
0023 template<typename Graph, typename GraphRef>
0024 struct process_group_type<reverse_graph<Graph, GraphRef> >
0025 : process_group_type<Graph> { };
0026 }
0027
0028 }
0029
0030
0031 template<typename Graph, typename GraphRef>
0032 inline typename graph::parallel::process_group_type<Graph>::type
0033 process_group(reverse_graph<Graph, GraphRef> const& g) {
0034 return process_group(g.m_g);
0035 }
0036 }
0037
0038 #endif