Aufgabe 7: Anwendung
Random Class Reference
#include <utils/random.h>
Public Member Functions | |
Random (uint32_t seed) | |
Constructor. More... | |
uint32_t | number () |
Get the next (pseudo)random number. More... | |
Detailed Description
Mersenne Twister (32 bit pseudorandom number generator)
- See also
- Wikipedia
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
seed initial value (seed) for the pseudorandom number generator.
Member Function Documentation
uint32_t Random::number | ( | ) |
Get the next (pseudo)random number.
- Returns
- some number
The documentation for this class was generated from the following files:
- utils/random.h
- utils/random.cc