21 #include <vnl/algo/vnl_algo_export.h> 124 #endif // vnl_amoeba_h_ An object that represents a function from R^n -> R.
void set_x_tolerance(double tol)
Define tolerance on elements of x.
vnl_amoeba_SimplexCorner & operator=(const vnl_amoeba_SimplexCorner &that)
static int compare(vnl_amoeba_SimplexCorner const &s1, vnl_amoeba_SimplexCorner const &s2)
Nelder-Meade downhill simplex.
double relative_diameter
Scaling used to select starting vertices relative to initial x0.
void set_zero_term_delta(double d)
void set_max_iterations(int n)
Define maximum number of iterations to use.
vnl_amoeba_SimplexCorner(int=0)
Abstract base for minimising functions.
double get_end_error() const
void set_f_tolerance(double tol)
Define tolerance on function evaluation.
void set_relative_diameter(double r)
Define scaling used to select starting vertices relative to initial x0.
static bool default_verbose
int get_num_evaluations() const
Number of evaluations used in last call to minimize.