12 #ifndef SST_CORE_RNG_RNG_H 13 #define SST_CORE_RNG_RNG_H 15 #include "sst/core/serialization/serializable.h" 70 #endif // SST_CORE_RNG_RNG_H Implements the base class for random number generators for the SST core.
Definition: rng.h:29
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:43
Definition: serializable.h:24
virtual int64_t generateNextInt64()=0
Generates the next random number as a signed 64-bit integer.
virtual uint32_t generateNextUInt32()=0
Generates the next random number as an unsigned 32-bit integer.
virtual int32_t generateNextInt32()=0
Generates the next random number as a signed 32-bit integer.
virtual double nextUniform()=0
Generates the next random number in the range [0,1).
virtual ~Random()
Destroys the random number generator.
Definition: rng.h:61
virtual uint64_t generateNextUInt64()=0
Generates the next random number as an unsigned 64-bit integer.