SST 12.1.0
Structural Simulation Toolkit

Implements the base class for random number generators for the SST core. More...
#include "sst/core/rng/rng.h"
Public Member Functions  
virtual double  nextUniform ()=0 
Generates the next random number in the range [0,1). More...  
virtual uint32_t  generateNextUInt32 ()=0 
Generates the next random number as an unsigned 32bit integer. More...  
virtual uint64_t  generateNextUInt64 ()=0 
Generates the next random number as an unsigned 64bit integer. More...  
virtual int64_t  generateNextInt64 ()=0 
Generates the next random number as a signed 64bit integer. More...  
virtual int32_t  generateNextInt32 ()=0 
Generates the next random number as a signed 32bit integer. More...  
virtual  ~Random () 
Destroys the random number generator.  
Implements the base class for random number generators for the SST core.
This does not implement an actual RNG itself only the base class which describes the methods each class will implement.

pure virtual 
Generates the next random number as a signed 32bit integer.
Implemented in SST::RNG::MarsagliaRNG, SST::RNG::MersenneRNG, and SST::RNG::XORShiftRNG.

pure virtual 
Generates the next random number as a signed 64bit integer.
Implemented in SST::RNG::MarsagliaRNG, SST::RNG::MersenneRNG, and SST::RNG::XORShiftRNG.

pure virtual 
Generates the next random number as an unsigned 32bit integer.
Implemented in SST::RNG::MarsagliaRNG, SST::RNG::MersenneRNG, and SST::RNG::XORShiftRNG.

pure virtual 
Generates the next random number as an unsigned 64bit integer.
Implemented in SST::RNG::MarsagliaRNG, SST::RNG::MersenneRNG, and SST::RNG::XORShiftRNG.

pure virtual 
Generates the next random number in the range [0,1).
Implemented in SST::RNG::MarsagliaRNG, SST::RNG::MersenneRNG, and SST::RNG::XORShiftRNG.
Referenced by SST::RNG::DiscreteDistribution::getNextDouble(), SST::RNG::ExponentialDistribution::getNextDouble(), SST::RNG::GaussianDistribution::getNextDouble(), SST::RNG::PoissonDistribution::getNextDouble(), and SST::RNG::UniformDistribution::getNextDouble().