40 #ifndef _DOWNHILLSIMPLEXMETHOD_H_ 41 #define _DOWNHILLSIMPLEXMETHOD_H_ 44 #include "../VectorTools.h" 118 #ifndef NO_VIRTUAL_COV 170 #endif //_DOWNHILLSIMPLEXMETHOD_H_
std::vector< ParameterList > parameters_
const ParameterList & operator[](size_t i) const
double optimize()
Multidimensional minimization of the function function_ by the downhill simplex method of Nelder and ...
This class allows to perform a correspondence analysis.
ParameterList getPSum()
Update the pSum_ variable.
This is the function abstract class.
void doInit(const ParameterList ¶ms)
This function is called by the init() method and contains all calculations.
double getCurrentTolerance() const
Get the current tolerance.
The parameter list object.
double tryExtrapolation(double fac)
Extrapolates by a factor fac through the face of the simplex from the high point. Try the new point a...
size_t getDimension() const
double doStep()
This function is called by the step() method and contains all calculations.
bool isToleranceReached() const
Tell if the we reached the desired tolerance with a given new set of estimates.
ParameterList & operator[](size_t i)
std::vector< double > Vdouble
DownhillSimplexMethod(Function *function)
Build a new Downhill Simplex optimizer.
DSMStopCondition * clone() const
Create a copy of this object and send a pointer to it.
virtual ~DSMStopCondition()
The Clonable interface (allow an object to be cloned).
Partial implementation of the Optimizer interface.
virtual ~DownhillSimplexMethod()
DownhillSimplexMethod * clone() const
Create a copy of this object and send a pointer to it.
Partial implementation of the OptimizationStopCondition interface.
unsigned int iNextHighest_
DSMStopCondition(DownhillSimplexMethod *dsm)
This implements the Downhill Simplex method in multidimensions.