25 #include <queso/Optimizer.h>
30 : m_maxIterations(100),
32 m_finiteDifferenceStepSize(1e-4)
unsigned int m_maxIterations
double getTolerance() const
Returns the tolerance used to test for an extremum in the optimizer.
virtual ~BaseOptimizer()
Destructor.
double m_finiteDifferenceStepSize
unsigned int getMaxIterations() const
Returns the maximum number of iterations the optimizer will do.
BaseOptimizer()
Default constructor.
void setMaxIterations(unsigned int maxIterations)
Sets the maximum number of iterations to be used by the optimizer.
double getFiniteDifferenceStepSize() const
Returns the step size used in the finite difference formula.
void setTolerance(double tolerance)
Sets the tolerance the optimizer will use to test for an extremum.
void setFiniteDifferenceStepSize(double h)
Sets the step to use in the finite difference derivative.