#include <itkAmoebaOptimizer.h>
Inheritance diagram for itk::AmoebaOptimizer:
AmoebaOptimizer is a wrapper around the vnl_amoeba algorithm which is an implementation of the Nelder-Meade downhill simplex problem. For most problems, it is a few times slower than a Levenberg-Marquardt algorithm but does not require derivatives of its cost function. It works by creating a simplex (n+1 points in ND space). The cost function is evaluated at each corner of the simplex. The simplex is then modified (by reflecting a corner about the opposite edge, by shrinking the entire simplex, by contracting one edge of the simplex, or by expanding the simplex) in searching for the minimum of the cost function.
The methods AutomaticInitialSimplex() and SetInitialSimplexDelta() control whether the optimizer defines the initial simplex automatically (by constructing a very small simplex around the initial position) or uses a user supplied simplex size.
AmoebaOptimizer can only minimize a function.
Definition at line 49 of file itkAmoebaOptimizer.h.
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 57 of file itkAmoebaOptimizer.h. |
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 132 of file itkAmoebaOptimizer.h. |
|
Internal optimizer type. Definition at line 73 of file itkAmoebaOptimizer.h. |
|
InternalParameters typedef. Definition at line 70 of file itkAmoebaOptimizer.h. |
|
Parameters type. It defines a position in the optimization search space. Reimplemented from itk::SingleValuedNonLinearOptimizer. Definition at line 67 of file itkAmoebaOptimizer.h. |
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 56 of file itkAmoebaOptimizer.h. |
|
Standard "Self" typedef. Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 54 of file itkAmoebaOptimizer.h. |
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 55 of file itkAmoebaOptimizer.h. |
|
|
|
|
|
Set/Get the mode which determines how the amoeba algorithm defines the initial simplex. Default is AutomaticInitialSimplexOn. If AutomaticInitialSimplex is on, the initial simplex is created with a default size. If AutomaticInitialSimplex is off, then InitialSimplexDelta will be used to define the initial simplex, setting the ith corner of the simplex as [x0[0], x0[1], ..., x0[i]+InitialSimplexDelta[i], ..., x0[d-1]]. |
|
Set/Get the mode which determines how the amoeba algorithm defines the initial simplex. Default is AutomaticInitialSimplexOn. If AutomaticInitialSimplex is on, the initial simplex is created with a default size. If AutomaticInitialSimplex is off, then InitialSimplexDelta will be used to define the initial simplex, setting the ith corner of the simplex as [x0[0], x0[1], ..., x0[i]+InitialSimplexDelta[i], ..., x0[d-1]]. |
|
Set/Get the mode which determines how the amoeba algorithm defines the initial simplex. Default is AutomaticInitialSimplexOn. If AutomaticInitialSimplex is on, the initial simplex is created with a default size. If AutomaticInitialSimplex is off, then InitialSimplexDelta will be used to define the initial simplex, setting the ith corner of the simplex as [x0[0], x0[1], ..., x0[i]+InitialSimplexDelta[i], ..., x0[d-1]]. |
|
The optimization algorithm will terminate when the simplex diameter and the difference in cost function at the corners of the simplex falls below user specified thresholds. The simplex diameter threshold is set via method SetParametersConvergenceTolerance() with the default value being 1e-8. The cost function convergence threshold is set via method SetFunctionConvergenceTolerance() with the default value being 1e-4. |
|
Set/Get the deltas that are used to define the initial simplex when AutomaticInitialSimplex is off. |
|
Set/Get the maximum number of iterations. The optimization algorithm will terminate after the maximum number of iterations has been reached. The default value is 500. |
|
Run-time type information (and related methods). Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. |
|
Method for getting access to the internal optimizer. |
|
The optimization algorithm will terminate when the simplex diameter and the difference in cost function at the corners of the simplex falls below user specified thresholds. The simplex diameter threshold is set via method SetParametersConvergenceTolerance() with the default value being 1e-8. The cost function convergence threshold is set via method SetFunctionConvergenceTolerance() with the default value being 1e-4. |
|
Return Current Value |
|
Method for creation through the object factory. Reimplemented from itk::SingleValuedNonLinearOptimizer. |
|
Print out internal state Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. |
|
Set/Get the mode which determines how the amoeba algorithm defines the initial simplex. Default is AutomaticInitialSimplexOn. If AutomaticInitialSimplex is on, the initial simplex is created with a default size. If AutomaticInitialSimplex is off, then InitialSimplexDelta will be used to define the initial simplex, setting the ith corner of the simplex as [x0[0], x0[1], ..., x0[i]+InitialSimplexDelta[i], ..., x0[d-1]]. |
|
Plug in a Cost Function into the optimizer Implements itk::SingleValuedNonLinearVnlOptimizer. |
|
The optimization algorithm will terminate when the simplex diameter and the difference in cost function at the corners of the simplex falls below user specified thresholds. The simplex diameter threshold is set via method SetParametersConvergenceTolerance() with the default value being 1e-8. The cost function convergence threshold is set via method SetFunctionConvergenceTolerance() with the default value being 1e-4. |
|
Set/Get the deltas that are used to define the initial simplex when AutomaticInitialSimplex is off. |
|
Set/Get the maximum number of iterations. The optimization algorithm will terminate after the maximum number of iterations has been reached. The default value is 500. |
|
The optimization algorithm will terminate when the simplex diameter and the difference in cost function at the corners of the simplex falls below user specified thresholds. The simplex diameter threshold is set via method SetParametersConvergenceTolerance() with the default value being 1e-8. The cost function convergence threshold is set via method SetFunctionConvergenceTolerance() with the default value being 1e-4. |
|
Start optimization with an initial value. Reimplemented from itk::Optimizer. |