Scopira
20080306
|
#include <distrandom.h>
Public Types | |
typedef UniRanGen | base_type |
typedef IntType | result_type |
Public Member Functions | |
unismallint_dist (base_type &rng, IntType min, IntType max) | |
ctor More... | |
result_type | min (void) const |
min | |
result_type | max (void) const |
max | |
result_type | operator() (void) |
get next | |
Static Public Attributes | |
static const bool | has_fixed_range = false |
uniform integer distribution on a small range [min, max]
scopira::tool::unismallint_dist< UniRanGen, IntType >::unismallint_dist | ( | base_type & | rng, |
IntType | min, | ||
IntType | max | ||
) |
ctor
ctor for unismallint_dist
Referenced by scopira::tool::unismallint_dist< UniRanGen, IntType >::operator()().