Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_amoeba Class Reference

#include <vnl_amoeba.h>

Collaboration diagram for vnl_amoeba:

Collaboration graph
[legend]
List of all members.

Public Methods

 vnl_amoeba (vnl_cost_function &f)
void set_delta (vnl_vector< double > const &delta_x)
void minimize (vnl_vector< double > &x)
int get_num_evaluations () const

Static Public Methods

void minimize (vnl_cost_function &f, vnl_vector< double > &x)
void minimize (vnl_cost_function &f, vnl_vector< double > &x, double delta)
void minimize (vnl_least_squares_function &f, vnl_vector< double > &x)

Public Attributes

int verbose
int maxiter
double X_tolerance
double F_tolerance
double relative_diameter

Static Public Attributes

bool default_verbose

Protected Attributes

vnl_cost_functionfptr
int num_evaluations_

Detailed Description

Nelder-Meade downhill simplex. vnl_amoeba is an implementation of the Nelder-Meade downhill simplex algorithm. For most problems, it's a few times slower than vnl_levenberg_marquardt, but it can perform much better on noisy error functions.

Definition at line 30 of file vnl_amoeba.h.


Constructor & Destructor Documentation

vnl_amoeba::vnl_amoeba vnl_cost_function   f
 


Member Function Documentation

int vnl_amoeba::get_num_evaluations   const [inline]
 

Definition at line 42 of file vnl_amoeba.h.

References default_verbose.

void vnl_amoeba::minimize vnl_least_squares_function   f,
vnl_vector< double > &    x
[static]
 

void vnl_amoeba::minimize vnl_cost_function   f,
vnl_vector< double > &    x,
double    delta
[static]
 

void vnl_amoeba::minimize vnl_cost_function   f,
vnl_vector< double > &    x
[static]
 

void vnl_amoeba::minimize vnl_vector< double > &    x
 

void vnl_amoeba::set_delta vnl_vector< double > const &    delta_x
 


Member Data Documentation

bool vnl_amoeba::default_verbose [static]
 

Definition at line 50 of file vnl_amoeba.h.

Referenced by get_num_evaluations().

double vnl_amoeba::F_tolerance
 

Definition at line 35 of file vnl_amoeba.h.

vnl_cost_function* vnl_amoeba::fptr [protected]
 

Definition at line 53 of file vnl_amoeba.h.

int vnl_amoeba::maxiter
 

Definition at line 33 of file vnl_amoeba.h.

int vnl_amoeba::num_evaluations_ [protected]
 

Definition at line 54 of file vnl_amoeba.h.

double vnl_amoeba::relative_diameter
 

Definition at line 36 of file vnl_amoeba.h.

int vnl_amoeba::verbose
 

Definition at line 32 of file vnl_amoeba.h.

double vnl_amoeba::X_tolerance
 

Definition at line 34 of file vnl_amoeba.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:16:36 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000