Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Public Attributes | List of all members
SimRandomNumberGenerator Struct Reference

Wrapper class for random number generators used by the simulation classes. More...

#include <OpenMS/SIMULATION/SimTypes.h>

Public Member Functions

 SimRandomNumberGenerator ()
 Default constructor. More...
 
SimRandomNumberGeneratoroperator= (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...
 

Detailed Description

Wrapper class for random number generators used by the simulation classes.

The random numbers are separated two sources of randomness:

Constructor & Destructor Documentation

Default constructor.

Copy constructor.

Member Function Documentation

void initialize ( bool  biological_random,
bool  technical_random 
)
inline
SimRandomNumberGenerator& operator= ( const SimRandomNumberGenerator source)
inline

Member Data Documentation

gsl_rng* biological_rng
gsl_rng* technical_rng

OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:33 using doxygen 1.8.5