42 #include "../../Utils/MapTools.h"
43 #include "../NumConstants.h"
44 #include "../Random/RandomTools.h"
Partial implementation of the DiscreteDistribution interface.
double getUpperBound() const
double getLowerBound() const
methods about the range of the definition
AbstractDiscreteDistribution & operator=(const AbstractDiscreteDistribution &adde)
virtual void discretize()
Discretizes the distribution in equiprobable classes.
std::shared_ptr< IntervalConstraint > intMinMax_
the interval where the distribution is defined/restricted.
void addParameter_(Parameter *parameter)
virtual void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
double getParameterValue(const std::string &name) const
Get the value for parameter of name 'name'.
Discretized Beta distribution with parameters alpha and beta, on a given interval....
double pProb(double x) const
Return the cumulative quantile of the continuous version of the distribution, ie .
BetaDiscreteDistribution(size_t n, double alpha=1, double beta=1)
Build a new discretized beta distribution.
double qProb(double x) const
Return the quantile of the continuous version of the distribution, ie y such that .
double Expectation(double a) const
Return a primitive function used for the expectation of the continuous version of the distribution,...
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
BetaDiscreteDistribution & operator=(const BetaDiscreteDistribution &)
this static class contains several useful constant values.
The parameter list object.
This class is designed to facilitate the manipulation of parameters.