#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 > &weights) |
| |
| static WeightType | try_get_sum (const std::vector< WeightType > &weights) |
| |
| template<class URNG > |
| static WeightType | generate_in_range (URNG &urng, 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 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 >
The documentation for this struct was generated from the following file: