- Test:
- demonstrate simple access to random number generation, as well as the setup of controlled random number sequences.
- See also
- random.hpp
Definition at line 41 of file random-test.cpp.
◆ simpleUsage()
◆ verify_reproducibleSequence()
void verify_reproducibleSequence |
( |
| ) |
|
|
inlineprivate |
- Test:
- demonstrate that random number sequences can be reproduced
- use a rigged SeedNucleus, always returning a fixed sees
- build two distinct random sequence generators, yet seeded from the same source; they will produce the same sequence
- sequences can be re-shuffled by a seed value, so that the following random numbers will start to differ
- but even this re-shuffling is deterministic
Definition at line 74 of file random-test.cpp.
References RandomSequencer< GEN >::randomise().
The documentation for this class was generated from the following file: