Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::graph::metis_distribution Class Reference

#include <metis.hpp>

Public Types

typedef int process_id_type
 
typedef std::size_t size_type
 
typedef std::vector
< process_id_type >::iterator 
iterator
 

Public Member Functions

 metis_distribution (std::istream &in, process_id_type my_id)
 
size_type block_size (process_id_type id, size_type) const
 
process_id_type operator() (size_type n) const
 
size_type local (size_type n) const
 
size_type global (size_type n) const
 
size_type global (process_id_type id, size_type n) const
 
iterator begin ()
 
iterator end ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

boost::graph::metis_distribution::metis_distribution ( std::istream &  in,
process_id_type  my_id 
)

Member Function Documentation

iterator boost::graph::metis_distribution::begin ( )
inline
metis_distribution::size_type boost::graph::metis_distribution::block_size ( process_id_type  id,
size_type   
) const

References count.

iterator boost::graph::metis_distribution::end ( )
inline
size_type boost::graph::metis_distribution::global ( size_type  n) const
inline

References global().

Referenced by global().

metis_distribution::size_type boost::graph::metis_distribution::global ( process_id_type  id,
size_type  n 
) const
metis_distribution::size_type boost::graph::metis_distribution::local ( size_type  n) const

References count, and boost::n.

process_id_type boost::graph::metis_distribution::operator() ( size_type  n) const
inline

References boost::n.


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