ssmkit
master-68aed98
|
Core random generators. More...
Classes | |
class | Generator |
A singleton wrapper of an instance of random generator. More... | |
Typedefs | |
typedef std::mt19937 | CoreGenerator |
Functions | |
void | setRandomSeed () |
Convenient function to set random seed for singleton generator object. More... | |
template<class TSeed > | |
void | setSeed (TSeed seed) |
Convenient function to set seed for singleton generator object. More... | |
Core random generators.
typedef std::mt19937 CoreGenerator |
Definition at line 15 of file generator.hpp.
|
inline |
Convenient function to set random seed for singleton generator object.
Definition at line 58 of file generator.hpp.
References Generator::get(), and Generator::setRandomSeed().
void ssmkit::random::setSeed | ( | TSeed | seed | ) |
Convenient function to set seed for singleton generator object.
Definition at line 65 of file generator.hpp.
References Generator::get(), and Generator::setSeed().