1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef BOOST_GRAPH_DISTRIBUTED_SELECTOR_HPP
- #define BOOST_GRAPH_DISTRIBUTED_SELECTOR_HPP
- #ifndef BOOST_GRAPH_USE_MPI
- #error "Parallel BGL files should not be included unless <boost/graph/use_mpi.hpp> has been included"
- #endif
- #include <boost/graph/detail/is_distributed_selector.hpp>
- namespace boost {
-
- struct defaultS {};
-
- template<typename ProcessGroup, typename LocalS = defaultS,
- typename DistributionS = defaultS>
- struct distributedS
- {
- typedef ProcessGroup process_group_type;
- typedef LocalS local_selector;
- typedef DistributionS distribution;
- };
- namespace detail {
- template<typename ProcessGroup, typename LocalS, typename DistributionS>
- struct is_distributed_selector<distributedS<ProcessGroup, LocalS, DistributionS> >: mpl::true_ {};
- }
- }
- #endif
|