imaging::MinimizerInterface Class Reference
[Minimization Module]

Abstract base class of iterative minimization methods. More...

#include <MinimizerInterface.hpp>

Inheritance diagram for imaging::MinimizerInterface:

imaging::CovarianceMatrixAdaptation imaging::Lbfgs imaging::NlCg imaging::SteepestDescent

List of all members.

Public Member Functions

virtual bool minimize (size_t n_max_steps, size_t &n_actual_steps)=0


Detailed Description

Abstract base class of iterative minimization methods.

This interface is a common base class of iterative minimization methods. The parameters of a specific minimization method should be passed in the constructor together with a reference to the energy to be minimized. The actual iterative minimization is started by calling minimize(). It should be possible to call minimize() several times in case the convergence criterion was not met during the first call. However, due to the complexity of some minimization routines it is in general not possible to guarantee that iterative calls of minimize() behave exactly the same as one call with a higher value n_max_steps.


Member Function Documentation

virtual bool imaging::MinimizerInterface::minimize ( size_t  n_max_steps,
size_t n_actual_steps 
) [pure virtual]

Start the minimization process. At most n_max_steps will be performed. If the convergence criterion (as set in the constructor) is met before the number of maximal steps is reached the function returns true. Otherwise it returns false. The actual number of performed stops is stored in n_steps. Upon return, the energy (as set in the constructor) will have the solution as its current argument.

Implemented in imaging::CovarianceMatrixAdaptation, imaging::Lbfgs, imaging::NlCg, and imaging::SteepestDescent.


The documentation for this class was generated from the following file:

Generated on Tue Feb 10 10:01:31 2009 for imaging2 by  doxygen 1.5.5