Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::small_world_iterator< RandomGenerator, Graph > Class Template Reference

#include <small_world_generator.hpp>

Public Types

typedef std::input_iterator_tag iterator_category
 
typedef std::pair
< vertices_size_type,
vertices_size_type > 
value_type
 
typedef const value_typereference
 
typedef const value_typepointer
 
typedef void difference_type
 

Public Member Functions

 small_world_iterator ()
 
 small_world_iterator (RandomGenerator &gen, vertices_size_type n, vertices_size_type k, double prob=0.0, bool allow_self_loops=false)
 
reference operator* () const
 
pointer operator-> () const
 
small_world_iteratoroperator++ ()
 
small_world_iterator operator++ (int)
 
bool operator== (const small_world_iterator &other) const
 
bool operator!= (const small_world_iterator &other) const
 

Member Typedef Documentation

template<typename RandomGenerator , typename Graph >
typedef void boost::small_world_iterator< RandomGenerator, Graph >::difference_type
template<typename RandomGenerator , typename Graph >
typedef std::input_iterator_tag boost::small_world_iterator< RandomGenerator, Graph >::iterator_category
template<typename RandomGenerator , typename Graph >
typedef const value_type* boost::small_world_iterator< RandomGenerator, Graph >::pointer
template<typename RandomGenerator , typename Graph >
typedef const value_type& boost::small_world_iterator< RandomGenerator, Graph >::reference
template<typename RandomGenerator , typename Graph >
typedef std::pair<vertices_size_type, vertices_size_type> boost::small_world_iterator< RandomGenerator, Graph >::value_type

Constructor & Destructor Documentation

template<typename RandomGenerator , typename Graph >
boost::small_world_iterator< RandomGenerator, Graph >::small_world_iterator ( )
inline
template<typename RandomGenerator , typename Graph >
boost::small_world_iterator< RandomGenerator, Graph >::small_world_iterator ( RandomGenerator &  gen,
vertices_size_type  n,
vertices_size_type  k,
double  prob = 0.0,
bool  allow_self_loops = false 
)
inline

Member Function Documentation

template<typename RandomGenerator , typename Graph >
bool boost::small_world_iterator< RandomGenerator, Graph >::operator!= ( const small_world_iterator< RandomGenerator, Graph > &  other) const
inline
template<typename RandomGenerator , typename Graph >
reference boost::small_world_iterator< RandomGenerator, Graph >::operator* ( ) const
inline
template<typename RandomGenerator , typename Graph >
small_world_iterator& boost::small_world_iterator< RandomGenerator, Graph >::operator++ ( )
inline

References boost::flyweights::x.

template<typename RandomGenerator , typename Graph >
small_world_iterator boost::small_world_iterator< RandomGenerator, Graph >::operator++ ( int  )
inline
template<typename RandomGenerator , typename Graph >
pointer boost::small_world_iterator< RandomGenerator, Graph >::operator-> ( ) const
inline
template<typename RandomGenerator , typename Graph >
bool boost::small_world_iterator< RandomGenerator, Graph >::operator== ( const small_world_iterator< RandomGenerator, Graph > &  other) const
inline

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