Kea
1.9.9-git
|
Uniform random integer generator. More...
#include <random_number_generator.h>
Public Member Functions | |
UniformRandomIntegerGenerator (int min, int max) | |
Constructor. More... | |
int | operator() () |
Generate uniformly distributed integer. More... | |
Uniform random integer generator.
Generate uniformly distributed integers in range of [min, max]
Definition at line 52 of file random_number_generator.h.
|
inline |
Constructor.
min | The minimum number in the range |
max | The maximum number in the range |
Definition at line 58 of file random_number_generator.h.
References isc_throw.
|
inline |
Generate uniformly distributed integer.
Definition at line 75 of file random_number_generator.h.