SST  13.1.0
Structural Simulation Toolkit
SST::RNG::Random Class Referenceabstract

Implements the base class for random number generators for the SST core. More...

#include "sst/core/rng/rng.h"

Inheritance diagram for SST::RNG::Random:
SST::RNG::MarsagliaRNG SST::RNG::MersenneRNG SST::RNG::XORShiftRNG

Public Member Functions

virtual double nextUniform ()=0
 Generates the next random number in the range [0,1).
 
virtual uint32_t generateNextUInt32 ()=0
 Generates the next random number as an unsigned 32-bit integer.
 
virtual uint64_t generateNextUInt64 ()=0
 Generates the next random number as an unsigned 64-bit integer.
 
virtual int64_t generateNextInt64 ()=0
 Generates the next random number as a signed 64-bit integer.
 
virtual int32_t generateNextInt32 ()=0
 Generates the next random number as a signed 32-bit integer.
 
virtual ~Random ()
 Destroys the random number generator.
 

Detailed Description

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.


The documentation for this class was generated from the following file: