40 #ifndef _GOLDENSECTIONSEARCH_H_ 41 #define _GOLDENSECTIONSEARCH_H_ 144 #endif //_GOLDENSECTIONSEARCH_H_ GSSStopCondition(GoldenSectionSearch *gss)
bool isToleranceReached() const
Tell if the we reached the desired tolerance with a given new set of estimates.
This class allows to perform a correspondence analysis.
This is the function abstract class.
virtual ~GSSStopCondition()
double getCurrentTolerance() const
Get the current tolerance.
The parameter list object.
virtual ~GoldenSectionSearch()
Golden Section Search optimization algorithm for one parameter.
The base class exception for NULL pointer error.
GSSStopCondition * clone() const
Create a copy of this object and send a pointer to it.
Partial implementation of the Optimizer interface.
void doInit(const ParameterList ¶ms)
This function is called by the init() method and contains all calculations.
GoldenSectionSearch * clone() const
Create a copy of this object and send a pointer to it.
Partial implementation of the OptimizationStopCondition interface.
bool isInitialIntervalSet_
void setInitialInterval(double inf, double sup)
Set intial search interval.
bool isInitialIntervalSet() const
double doStep()
This function is called by the step() method and contains all calculations.
GoldenSectionSearch(Function *function)
double getFunctionValue() const
Initialize optimizer.