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

Base class of statistical distributions in SST. More...

#include <distrib.h>

Inheritance diagram for SST::RNG::RandomDistribution:
SST::RNG::ConstantDistribution SST::RNG::DiscreteDistribution SST::RNG::ExponentialDistribution SST::RNG::GaussianDistribution SST::RNG::PoissonDistribution SST::RNG::UniformDistribution

Public Member Functions

virtual double getNextDouble ()=0
 Obtains the next double from the distribution. More...
 
virtual ~RandomDistribution ()
 Destroys the distribution.
 
 RandomDistribution ()
 Creates the base (abstract) class of a distribution.
 

Detailed Description

Base class of statistical distributions in SST.

Member Function Documentation

◆ getNextDouble()

virtual double SST::RNG::RandomDistribution::getNextDouble ( )
pure virtual

Obtains the next double from the distribution.

Returns
The next double in the distribution being sampled

Implemented in SST::RNG::UniformDistribution, SST::RNG::PoissonDistribution, SST::RNG::GaussianDistribution, SST::RNG::ExponentialDistribution, SST::RNG::DiscreteDistribution, and SST::RNG::ConstantDistribution.


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