12#ifndef SST_CORE_RNG_CONSTANT_H
13#define SST_CORE_RNG_CONSTANT_H
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition serializer.h:45
Implements a distribution which always returns a constant value (provided by the user).
Definition constant.h:27
ConstantDistribution(double v)
Creates a constant distribution which returns a constant value.
Definition constant.h:34
double getMean()
Gets the constant value for the distribution.
Definition constant.h:56
ConstantDistribution()
Default constructor.
Definition constant.h:61
double getNextDouble() override
Gets the next double for the distribution, in this case it will return the constant value specified b...
Definition constant.h:50
void serialize_order(SST::Core::Serialization::serializer &ser) override
Serialization function for checkpoint.
Definition constant.h:68
~ConstantDistribution()
Destroys the constant distribution.
Definition constant.h:43
RandomDistribution()
Creates the base (abstract) class of a distribution.
Definition distrib.h:41