Wrapper class for random number generators used by the simulation classes. More...
#include <OpenMS/SIMULATION/SimTypes.h>
Public Member Functions | |
SimRandomNumberGenerator () | |
Default constructor. More... | |
SimRandomNumberGenerator & | operator= (const SimRandomNumberGenerator &source) |
Assignment operator. More... | |
void | initialize (bool biological_random, bool technical_random) |
Initialize the RNGs. More... | |
Constructors and Destructors | |
SimRandomNumberGenerator (const SimRandomNumberGenerator &other) | |
Copy constructor. More... | |
~SimRandomNumberGenerator () | |
Destructor. More... | |
Public Attributes | |
gsl_rng * | biological_rng |
GSL random number generator for biological variability. More... | |
gsl_rng * | technical_rng |
GSL 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 |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Destructor.
References SimRandomNumberGenerator::biological_rng, and SimRandomNumberGenerator::technical_rng.
|
inline |
Initialize the RNGs.
References SimRandomNumberGenerator::biological_rng, and SimRandomNumberGenerator::technical_rng.
|
inline |
Assignment operator.
References SimRandomNumberGenerator::biological_rng, and SimRandomNumberGenerator::technical_rng.
gsl_rng* biological_rng |
GSL random number generator for biological variability.
Referenced by SimRandomNumberGenerator::initialize(), SimRandomNumberGenerator::operator=(), and SimRandomNumberGenerator::~SimRandomNumberGenerator().
gsl_rng* technical_rng |
GSL random number generator for technical variability.
Referenced by SimRandomNumberGenerator::initialize(), SimRandomNumberGenerator::operator=(), and SimRandomNumberGenerator::~SimRandomNumberGenerator().
OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:33 using doxygen 1.8.5 |