Simpact Cyan
Population based event driven simulation using mNRM
|
Not actually a distribution, but can be used to force a specific value to be generated every time. More...
#include <fixedvaluedistribution.h>
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... | |
Not actually a distribution, but can be used to force a specific value to be generated every time.
|
inline |
Constructor of the class, in which the value to be always returned is specified.
|
inlinevirtual |
Pick a number according to a specific distrubution, specified in a subclass of ProbabilityDistribution .
Implements ProbabilityDistribution.