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

#include <plod_generator.hpp>

Public Types

typedef std::forward_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

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

References pow(), and boost::flyweights::x.

Member Function Documentation

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

References pow(), and boost::flyweights::x.

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

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