41 #include "../../App/ApplicationTools.h" 48 for (
size_t i = 0; i < functionParameters_.size(); i++)
52 const string name = p.
getName();
71 double correctedValue = value;
95 double correctedValue = value;
107 double correctedValue = value;
130 double correctedValue = value;
150 double correctedValue = value;
180 for (
size_t i = 0; i < getNumberOfParameters(); ++i)
189 (*
ApplicationTools::error <<
"Oups, value " << x <<
" led to a constraint exception. The transformed value was " << getParameter_(i).getValue()).endLine();
double getLowerBound() const
virtual const Constraint * getConstraint() const
Return the constraint associated to this parameter if there is one.
bool strictLowerBound() const
An interval, either bounded or not, which can also have infinite bounds.
This class allows to perform a correspondence analysis.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
This class is designed to facilitate the manipulation of parameters.
static std::string toString(T t)
General template method to convert to a string.
The parameter list object.
bool finiteLowerBound() const
virtual void setValue(double value)
Set the value of this parameter.
bool strictUpperBound() const
bool finiteUpperBound() const
virtual std::string getDescription() const =0
Give a short description on the type of constraint.
The constraint interface.
virtual const std::string & getName() const
Get the name of this parameter.
virtual double getValue() const
Get the value of this parameter.
Exception thrown when a value do not match a given constraint.
double getUpperBound() const