SST  8.0.0
StructuralSimulationToolkit
SST::RNG::SSTRandom Class Referenceabstract

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

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

Inheritance diagram for SST::RNG::SSTRandom:
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 to 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 ~SSTRandom ()
 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: