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_reader Class Reference

#include <metis.hpp>

Classes

class  edge_iterator
 
class  edge_weight_iterator
 

Public Types

typedef std::size_t vertices_size_type
 
typedef std::size_t edges_size_type
 
typedef double vertex_weight_type
 
typedef double edge_weight_type
 

Public Member Functions

 metis_reader (std::istream &in)
 
edge_iterator begin ()
 
edge_iterator end ()
 
edge_weight_iterator weight_begin ()
 
vertices_size_type num_vertices () const
 
edges_size_type num_edges () const
 
std::size_t num_vertex_weights () const
 
vertex_weight_type vertex_weight (vertices_size_type v, std::size_t n)
 
bool has_edge_weights () const
 

Friends

class edge_iterator
 
bool operator== (edge_iterator, edge_iterator)
 
bool operator!= (edge_iterator, edge_iterator)
 

Member Typedef Documentation

Constructor & Destructor Documentation

boost::graph::metis_reader::metis_reader ( std::istream &  in)
inline

Member Function Documentation

metis_reader::edge_iterator boost::graph::metis_reader::begin ( )
inline

References boost::edge().

metis_reader::edge_iterator boost::graph::metis_reader::end ( )
inline
bool boost::graph::metis_reader::has_edge_weights ( ) const
inline
edges_size_type boost::graph::metis_reader::num_edges ( ) const
inline
std::size_t boost::graph::metis_reader::num_vertex_weights ( ) const
inline

Referenced by vertex_weight().

vertices_size_type boost::graph::metis_reader::num_vertices ( ) const
inline
vertex_weight_type boost::graph::metis_reader::vertex_weight ( vertices_size_type  v,
std::size_t  n 
)
inline

References boost::n, and num_vertex_weights().

metis_reader::edge_weight_iterator boost::graph::metis_reader::weight_begin ( )
inline

Friends And Related Function Documentation

friend class edge_iterator
friend
bool operator== ( metis_reader::edge_iterator  x,
metis_reader::edge_iterator  y 
)
friend

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