SST  12.0.1
StructuralSimulationToolkit
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

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::DiscreteDistribution, SST::RNG::GaussianDistribution, SST::RNG::UniformDistribution, SST::RNG::ExponentialDistribution, SST::RNG::PoissonDistribution, and SST::RNG::ConstantDistribution.


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