OpenMS
2.5.0
|
Wrapper class for random number generators used by the simulation classes. More...
#include <OpenMS/SIMULATION/SimTypes.h>
Public Member Functions | |
boost::random::mt19937_64 & | getBiologicalRng () |
boost::random::mt19937_64 & | getTechnicalRng () |
void | setBiologicalRngSeed (unsigned long int seed) |
void | setTechnicalRngSeed (unsigned long int seed) |
void | initialize (bool biological_random, bool technical_random) |
Initialize the RNGs. More... | |
Private Attributes | |
boost::random::mt19937_64 | biological_rng_ |
random number generator for biological variability More... | |
boost::random::mt19937_64 | technical_rng_ |
random number generator for technical variability More... | |
Wrapper class for random number generators used by the simulation classes.
The random numbers are separated two sources of randomness:
|
inline |
References SimRandomNumberGenerator::biological_rng_.
|
inline |
References SimRandomNumberGenerator::technical_rng_.
|
inline |
Initialize the RNGs.
References SimRandomNumberGenerator::biological_rng_, and SimRandomNumberGenerator::technical_rng_.
|
inline |
References SimRandomNumberGenerator::biological_rng_.
|
inline |
References SimRandomNumberGenerator::technical_rng_.
|
private |
random number generator for biological variability
Referenced by SimRandomNumberGenerator::getBiologicalRng(), SimRandomNumberGenerator::initialize(), and SimRandomNumberGenerator::setBiologicalRngSeed().
|
private |
random number generator for technical variability
Referenced by SimRandomNumberGenerator::getTechnicalRng(), SimRandomNumberGenerator::initialize(), and SimRandomNumberGenerator::setTechnicalRngSeed().