41 #ifndef BPP_NUMERIC_FUNCTION_DIRECTIONFUNCTION_H
42 #define BPP_NUMERIC_FUNCTION_DIRECTIONFUNCTION_H
45 #include "../../App/ApplicationTools.h"
46 #include "../../Io/OutputStream.h"
47 #include "../AutoParameter.h"
48 #include "../Parametrizable.h"
59 std::vector<double>
xi_;
76 ParametrizableAdapter::operator=(df);
void setConstraintPolicy(const std::string &constraintPolicy)
void init(const ParameterList &p, const std::vector< double > &xi)
void setMessageHandler(OutputStream *messenger)
DirectionFunction(Function *function=0)
const ParameterList & getParameters() const
Get all parameters available.
std::string getConstraintPolicy() const
OutputStream * messenger_
ParameterList & getParameters_()
Get all parameters available.
std::vector< double > xi_
std::string constraintPolicy_
size_t getNumberOfParameters() const
Get the number of parameters.
DirectionFunction(const DirectionFunction &df)
Function * getFunction() const
DirectionFunction & operator=(const DirectionFunction &df)
double getValue() const
Get the value of the function at the current point.
ParameterList getFunctionParameters() const
virtual ~DirectionFunction()
void setParameters(const ParameterList ¶meters)
Set the point where the function must be computed.
DirectionFunction * clone() const
Create a copy of this object and send a pointer to it.
This is the function abstract class.
The parameter list object.
A low-level implementation of the Parametrizable interface with void functions.