5 #include "../../Utils/MapTools.h" 6 #include "../NumConstants.h" 7 #include "../Random/RandomTools.h" static const std::shared_ptr< IntervalConstraint > R_PLUS
Partial implementation of the DiscreteDistribution interface.
This class is designed to facilitate the manipulation of parameters.
void addParameter_(Parameter *parameter)
double getParameterValue(const std::string &name) const override
Get the value for parameter of name 'name'.
The parameter list object.
virtual void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
std::shared_ptr< IntervalConstraint > intMinMax_
the interval where the distribution is defined/restricted.
virtual void discretize()
Discretizes the distribution in equiprobable classes.
ExponentialDiscreteDistribution(size_t n, double lambda=1.)
Build a new discretized exponential distribution.