Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::graph::distributed::shuffled_distribution< BaseDistribution > Struct Template Reference

#include <shuffled_distribution.hpp>

Inheritance diagram for boost::graph::distributed::shuffled_distribution< BaseDistribution >:
Collaboration diagram for boost::graph::distributed::shuffled_distribution< BaseDistribution >:

Public Types

typedef std::size_t size_type
 

Public Member Functions

template<class ProcessGroup >
 shuffled_distribution (ProcessGroup const &pg, BaseDistribution const &base)
 
std::vector< size_type > const & mapping () const
 
template<class InputIterator >
void assign_mapping (InputIterator first, InputIterator last)
 
BaseDistribution & base ()
 
BaseDistribution const & base () const
 
template<class ProcessID >
size_type block_size (ProcessID id, size_type n) const
 
template<class T >
size_type operator() (T const &value) const
 
template<class ProcessID >
size_type start (ProcessID id) const
 
size_type local (size_type i) const
 
size_type global (size_type i) const
 
template<class ProcessID >
size_type global (ProcessID id, size_type n) const
 
template<class Archive >
void serialize (Archive &ar, unsigned long)
 
void clear ()
 

Member Typedef Documentation

template<class BaseDistribution >
typedef std::size_t boost::graph::distributed::shuffled_distribution< BaseDistribution >::size_type

Constructor & Destructor Documentation

template<class BaseDistribution >
template<class ProcessGroup >
boost::graph::distributed::shuffled_distribution< BaseDistribution >::shuffled_distribution ( ProcessGroup const &  pg,
BaseDistribution const &  base 
)
inline

Member Function Documentation

template<class BaseDistribution >
template<class InputIterator >
void boost::graph::distributed::shuffled_distribution< BaseDistribution >::assign_mapping ( InputIterator  first,
InputIterator  last 
)
inline
template<class BaseDistribution >
BaseDistribution const& boost::graph::distributed::shuffled_distribution< BaseDistribution >::base ( ) const
inline
template<class BaseDistribution >
template<class ProcessID >
size_type boost::graph::distributed::shuffled_distribution< BaseDistribution >::block_size ( ProcessID  id,
size_type  n 
) const
inline
template<class BaseDistribution >
void boost::graph::distributed::shuffled_distribution< BaseDistribution >::clear ( )
inline
template<class BaseDistribution >
size_type boost::graph::distributed::shuffled_distribution< BaseDistribution >::global ( size_type  i) const
inline
template<class BaseDistribution >
template<class ProcessID >
size_type boost::graph::distributed::shuffled_distribution< BaseDistribution >::global ( ProcessID  id,
size_type  n 
) const
inline
template<class BaseDistribution >
size_type boost::graph::distributed::shuffled_distribution< BaseDistribution >::local ( size_type  i) const
inline
template<class BaseDistribution >
std::vector<size_type> const& boost::graph::distributed::shuffled_distribution< BaseDistribution >::mapping ( ) const
inline
template<class BaseDistribution >
template<class T >
size_type boost::graph::distributed::shuffled_distribution< BaseDistribution >::operator() ( T const &  value) const
inline
template<class BaseDistribution >
template<class Archive >
void boost::graph::distributed::shuffled_distribution< BaseDistribution >::serialize ( Archive &  ar,
unsigned  long 
)
inline
template<class BaseDistribution >
template<class ProcessID >
size_type boost::graph::distributed::shuffled_distribution< BaseDistribution >::start ( ProcessID  id) const
inline

The documentation for this struct was generated from the following file: