41 #include "../Random/RandomTools.h" 42 #include "../NumConstants.h" 43 #include "../../Utils/MapTools.h" void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
double getLowerBound() const
double Expectation(double a) const
Return a primitive function used for the expectation of the continuous version of the distribution...
Partial implementation of the DiscreteDistribution interface.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
this static class contains several useful constant values.
An interval, either bounded or not, which can also have infinite bounds.
This class allows to perform a correspondence analysis.
void setLowerBound(double lowerBound, bool strict)
This class is designed to facilitate the manipulation of parameters.
void addParameter_(Parameter *parameter)
BetaDiscreteDistribution & operator=(const BetaDiscreteDistribution &)
Discretized Beta distribution with parameters alpha and beta, on a given interval. On default, the interval is , but it can be restricted.
double qProb(double x) const
Return the quantile of the continuous version of the distribution, ie y such that ...
double pProb(double x) const
Return the cumulative quantile of the continuous version of the distribution, ie .
The parameter list object.
AbstractDiscreteDistribution & operator=(const AbstractDiscreteDistribution &adde)
A partial implementation of the Parametrizable interface.
virtual void discretize()
Discretizes the distribution in equiprobable classes.
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
BetaDiscreteDistribution(size_t n, double alpha=1, double beta=1)
Build a new discretized beta distribution.
void setUpperBound(double upperBound, bool strict)
double getUpperBound() const
IntervalConstraint intMinMax_
the interval where the distribution is defined/restricted.
double getParameterValue(const std::string &name) const
Get the value for parameter of name 'name'.