41 #ifndef BPP_NUMERIC_FUNCTION_CONJUGATEGRADIENTMULTIDIMENSIONS_H
42 #define BPP_NUMERIC_FUNCTION_CONJUGATEGRADIENTMULTIDIMENSIONS_H
96 void getGradient(std::vector<double>& gradient)
const;
Partial implementation of the Optimizer interface.
Function * getFunction_()
const Function * getFunction() const
Get the current function being optimized.
Brent's optimization for one parameter.
Conjugate gradient optimization method.
std::vector< double > xi_
virtual ~ConjugateGradientMultiDimensions()
const DerivableFirstOrder * getFunction() const
Get the current function being optimized.
void getGradient(std::vector< double > &gradient) const
double doStep()
This function is called by the step() method and contains all calculations.
DerivableFirstOrder * getFunction()
Get the current function being optimized.
void doInit(const ParameterList ¶ms)
This function is called by the init() method and contains all calculations.
DerivableFirstOrder * getFunction_()
ConjugateGradientMultiDimensions(DerivableFirstOrder *function)
BrentOneDimension optimizer_
ConjugateGradientMultiDimensions * clone() const
Create a copy of this object and send a pointer to it.
This is the abstract class for first order derivable functions.
The parameter list object.