43 #include "../../App/ApplicationTools.h"
51 for (
size_t i = 0; i < functionParameters_.size(); i++)
55 const string name = p.
getName();
75 double correctedValue = value;
99 double correctedValue = value;
111 double correctedValue = value;
134 double correctedValue = value;
154 double correctedValue = value;
184 for (
size_t i = 0; i < getNumberOfParameters(); ++i)
193 (*
ApplicationTools::error <<
"Oups, value " << x <<
" led to a constraint exception. The transformed value was " << getParameter_(i).getValue()).endLine();
Exception thrown when a value do not match a given constraint.
An interval, either bounded or not, which can also have infinite bounds.
double getLowerBound() const
bool strictLowerBound() const
bool finiteLowerBound() const
bool strictUpperBound() const
bool finiteUpperBound() const
double getUpperBound() const
The parameter list object.
This class is designed to facilitate the manipulation of parameters.
virtual void setValue(double value)
Set the value of this parameter.
virtual const std::shared_ptr< Constraint > getConstraint() const
Return the constraint associated to this parameter if there is one.
virtual double getValue() const
Get the value of this parameter.
virtual const std::string & getName() const
Get the name of this parameter.
void fireParameterChanged(const ParameterList ¶meters)
Notify the class when one or several parameters have changed.
std::string toString(T t)
General template method to convert to a string.