StuBS
|
#include <random.h>
Public Member Functions | |
Random (uint32_t seed) | |
Constructor. | |
uint32_t | number () |
Get the next (pseudo)random number. | |
Mersenne Twister (32 bit pseudorandom number generator)
|
explicit |
Constructor.
seed | initial value (seed) for the pseudorandom number generator. |
uint32_t Random::number | ( | ) |
Get the next (pseudo)random number.