StuBS
|
#include <utils/random.h>
Public Member Functions | |
Random (uint32_t seed) | |
Constructor. More... | |
uint32_t | number () |
Get the next (pseudo)random number. More... | |
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.