Specialization for named graphs. More...
#include <named_graph.hpp>
Public Types | |
typedef mpl::if_< is_same < InDistribution, defaultS > , hashed_distribution < vertex_name_type > , InDistribution >::type | type |
The type field provides a distribution object that maps vertex names to processors. More... | |
typedef type | default_type |
for named graphs the default type is the same as the stored distribution type More... | |
Specialization for named graphs.
typedef type boost::graph::distributed::select_distribution< InDistribution, VertexProperty, VertexSize, ProcessGroup, ExtractName >::default_type |
for named graphs the default type is the same as the stored distribution type
typedef mpl::if_<is_same<InDistribution, defaultS>, hashed_distribution<vertex_name_type>, InDistribution>::type boost::graph::distributed::select_distribution< InDistribution, VertexProperty, VertexSize, ProcessGroup, ExtractName >::type |
The type
field provides a distribution object that maps vertex names to processors.
The distribution object will be constructed with the process group over which communication will occur. The distribution object shall also be a function object mapping from the type of the name to a processor number in [0,
p
) (for p
processors). By default, the mapping function uses the boost::hash
value of the name, modulo p
.