41 #include "../Random/RandomTools.h" 42 #include "../../Utils/MapTools.h" 58 cond_(1-exp(-lambda_*tp_))
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
Partial implementation of the DiscreteDistribution interface.
This class allows to perform a correspondence analysis.
void setLowerBound(double lowerBound, bool strict)
IntervalConstraint * clone() const
Create a copy of this object and send a pointer to it.
This class is designed to facilitate the manipulation of parameters.
void addParameter_(Parameter *parameter)
The parameter list object.
void restrictToConstraint(const Constraint &c)
Restricts the distribution to the domain where the constraint is respected, in addition of other pred...
A partial implementation of the Parametrizable interface.
TruncatedExponentialDiscreteDistribution(size_t n, double lambda=1., double truncationPoint=10)
Build a new truncated exponential discrete distribution.
virtual void setConstraint(Constraint *constraint, bool attach=false)
Set a constraint to this parameter.
The constraint interface.
virtual void discretize()
Discretizes the distribution in equiprobable classes.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
void setUpperBound(double upperBound, bool strict)
Parameter & getParameter_(const std::string &name)
static const IntervalConstraint R_PLUS
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'.
virtual void restrictToConstraint(const Constraint &c)
Restricts the distribution to the domain where the constraint is respected, in addition of other pred...