#include <discrete_distribution.hpp>
|
typedef std::vector< std::pair
< WeightType, IntType > > | alias_table_t |
| |
|
| static WeightType | normalize (WeightType val, WeightType average) |
| |
| static void | normalize (std::vector< WeightType > &) |
| |
| static WeightType | try_get_sum (const std::vector< WeightType > &weights) |
| |
| template<class URNG > |
| static WeightType | generate_in_range (URNG &urng, WeightType max) |
| |
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class URNG >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class Iter >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class URNG >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
template<class IntType , class WeightType >
Referenced by boost::random::detail::integer_alias_table< IntType, WeightType >::accept(), boost::random::detail::integer_alias_table< IntType, WeightType >::get_weight(), boost::random::detail::integer_alias_table< IntType, WeightType >::init_average(), boost::random::detail::integer_alias_table< IntType, WeightType >::init_empty(), boost::random::detail::integer_alias_table< IntType, WeightType >::operator==(), and boost::random::detail::integer_alias_table< IntType, WeightType >::test().
template<class IntType , class WeightType >
The documentation for this struct was generated from the following file: