Simpact Cyan
Population based event driven simulation using mNRM
Public Member Functions | List of all members
FixedValueDistribution Class Reference

Not actually a distribution, but can be used to force a specific value to be generated every time. More...

#include <fixedvaluedistribution.h>

Inheritance diagram for FixedValueDistribution:
Inheritance graph
[legend]
Collaboration diagram for FixedValueDistribution:
Collaboration graph
[legend]

Public Member Functions

 FixedValueDistribution (double value, GslRandomNumberGenerator *pRndGen)
 Constructor of the class, in which the value to be always returned is specified. More...
 
double pickNumber () const
 Pick a number according to a specific distrubution, specified in a subclass of ProbabilityDistribution . More...
 

Detailed Description

Not actually a distribution, but can be used to force a specific value to be generated every time.

Constructor & Destructor Documentation

FixedValueDistribution::FixedValueDistribution ( double  value,
GslRandomNumberGenerator pRndGen 
)
inline

Constructor of the class, in which the value to be always returned is specified.

Member Function Documentation

double FixedValueDistribution::pickNumber ( ) const
inlinevirtual

Pick a number according to a specific distrubution, specified in a subclass of ProbabilityDistribution .

Implements ProbabilityDistribution.


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