5 #ifndef BPP_NUMERIC_FUNCTION_SIMPLEMULTIDIMENSIONS_H 6 #define BPP_NUMERIC_FUNCTION_SIMPLEMULTIDIMENSIONS_H 42 void setFunction(std::shared_ptr<FunctionInterface>
function)
override;
59 #endif // BPP_NUMERIC_FUNCTION_SIMPLEMULTIDIMENSIONS_H OptimizerInterface & oneDimensionOptimizer()
This Optimizer is a very simple multi-dimensions optimizer, calling a one dimensional optimizer on ea...
virtual ~SimpleMultiDimensions()
void doInit(const ParameterList ¶ms) override
This function is called by the init() method and contains all calculations.
The parameter list object.
const OptimizerInterface & oneDimensionOptimizer() const
SimpleMultiDimensions * clone() const override
Create a copy of this object and send a pointer to it.
double doStep() override
This function is called by the step() method and contains all calculations.
This is the basal interface for all optimization methods.
Brent's optimization for one parameter.
void setFunction(std::shared_ptr< FunctionInterface > function) override
Set the function to optimize.
Partial implementation of the Optimizer interface.
BrentOneDimension optimizer_
SimpleMultiDimensions(std::shared_ptr< FunctionInterface > function)