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

#include <plod_generator.hpp>

Public Types

typedef std::input_iterator_tag iterator_category
 
typedef std::pair< std::size_t,
std::size_t > 
value_type
 
typedef const value_typereference
 
typedef const value_typepointer
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 undirected_plod_iterator ()
 
 undirected_plod_iterator (RandomGenerator &gen, std::size_t n, double alpha, double beta, bool allow_self_loops=false)
 
reference operator* () const
 
pointer operator-> () const
 
undirected_plod_iteratoroperator++ ()
 
undirected_plod_iterator operator++ (int)
 
bool operator== (const undirected_plod_iterator &other) const
 
bool operator!= (const undirected_plod_iterator &other) const
 

Member Typedef Documentation

template<typename RandomGenerator >
typedef std::ptrdiff_t boost::undirected_plod_iterator< RandomGenerator >::difference_type
template<typename RandomGenerator >
typedef std::input_iterator_tag boost::undirected_plod_iterator< RandomGenerator >::iterator_category
template<typename RandomGenerator >
typedef const value_type* boost::undirected_plod_iterator< RandomGenerator >::pointer
template<typename RandomGenerator >
typedef const value_type& boost::undirected_plod_iterator< RandomGenerator >::reference
template<typename RandomGenerator >
typedef std::pair<std::size_t, std::size_t> boost::undirected_plod_iterator< RandomGenerator >::value_type

Constructor & Destructor Documentation

template<typename RandomGenerator >
boost::undirected_plod_iterator< RandomGenerator >::undirected_plod_iterator ( )
inline
template<typename RandomGenerator >
boost::undirected_plod_iterator< RandomGenerator >::undirected_plod_iterator ( RandomGenerator &  gen,
std::size_t  n,
double  alpha,
double  beta,
bool  allow_self_loops = false 
)
inline

Member Function Documentation

template<typename RandomGenerator >
bool boost::undirected_plod_iterator< RandomGenerator >::operator!= ( const undirected_plod_iterator< RandomGenerator > &  other) const
inline
template<typename RandomGenerator >
reference boost::undirected_plod_iterator< RandomGenerator >::operator* ( ) const
inline
template<typename RandomGenerator >
undirected_plod_iterator& boost::undirected_plod_iterator< RandomGenerator >::operator++ ( )
inline
template<typename RandomGenerator >
undirected_plod_iterator boost::undirected_plod_iterator< RandomGenerator >::operator++ ( int  )
inline
template<typename RandomGenerator >
pointer boost::undirected_plod_iterator< RandomGenerator >::operator-> ( ) const
inline
template<typename RandomGenerator >
bool boost::undirected_plod_iterator< RandomGenerator >::operator== ( const undirected_plod_iterator< RandomGenerator > &  other) const
inline

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