41 #ifndef BPP_NUMERIC_FUNCTION_BFGSMULTIDIMENSIONS_H
42 #define BPP_NUMERIC_FUNCTION_BFGSMULTIDIMENSIONS_H
45 #include "../VectorTools.h"
101 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.
Broyden–Fletcher–Goldfarb–Shanno (BFGS) optimization method.
void getGradient(std::vector< double > &gradient) const
virtual ~BfgsMultiDimensions()
BfgsMultiDimensions * clone() const
Create a copy of this object and send a pointer to it.
double doStep()
This function is called by the step() method and contains all calculations.
DerivableFirstOrder * getFunction()
Get the current function being optimized.
DerivableFirstOrder * getFunction_()
const DerivableFirstOrder * getFunction() const
Get the current function being optimized.
BfgsMultiDimensions(DerivableFirstOrder *function)
void doInit(const ParameterList ¶ms)
This function is called by the init() method and contains all calculations.
This is the abstract class for first order derivable functions.
The parameter list object.
std::vector< double > Vdouble
std::vector< Vdouble > VVdouble