#include <itkLBFGSOptimizer.h>
Inheritance diagram for itk::LBFGSOptimizer:
Public Types | |
typedef LBFGSOptimizer | Self |
typedef SingleValuedNonLinearVnlOptimizer | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef vnl_vector< double > | InternalParametersType |
typedef vnl_lbfgs | InternalOptimizerType |
Public Member Functions | |
virtual const char * | GetClassName () const |
vnl_lbfgs * | GetOptimizer (void) |
void | StartOptimization (void) |
virtual void | SetCostFunction (SingleValuedCostFunction *costFunction) |
virtual void | SetTrace (bool flag) |
virtual bool | GetTrace () |
virtual void | TraceOn () |
virtual void | TraceOff () |
virtual void | SetMaximumNumberOfFunctionEvaluations (unsigned int n) |
virtual unsigned int | GetMaximumNumberOfFunctionEvaluations () |
virtual void | SetGradientConvergenceTolerance (double gtol) |
virtual double | GetGradientConvergenceTolerance () |
virtual void | SetLineSearchAccuracy (double tol) |
virtual double | GetLineSearchAccuracy () |
virtual void | SetDefaultStepLength (double stp) |
virtual double | GetDefaultStepLength () |
Static Public Member Functions | |
Pointer | New () |
Protected Types | |
typedef Superclass::CostFunctionAdaptorType | CostFunctionAdaptorType |
Protected Member Functions | |
LBFGSOptimizer () | |
virtual | ~LBFGSOptimizer () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Definition at line 31 of file itkLBFGSOptimizer.h.
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 39 of file itkLBFGSOptimizer.h. |
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 107 of file itkLBFGSOptimizer.h. |
|
Internal optimizer type. Definition at line 51 of file itkLBFGSOptimizer.h. |
|
InternalParameters typedef. Definition at line 48 of file itkLBFGSOptimizer.h. |
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 38 of file itkLBFGSOptimizer.h. |
|
Standard "Self" typedef. Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 36 of file itkLBFGSOptimizer.h. |
|
Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. Definition at line 37 of file itkLBFGSOptimizer.h. |
|
|
|
|
|
Run-time type information (and related methods). Reimplemented from itk::SingleValuedNonLinearVnlOptimizer.
|
|
Set/Get the default step size. This is a positive real number with a default value of 1.0 which determines the stpe size in the line search. |
|
Set/Get the gradient convergence tolerance. This is a positive real number that determines the accuracy with which the solution is to be found. The optimization terminates when: ||G|| < gtol max(1,||X||) where ||.|| denotes the Euclidean norm. |
|
Set/Get the line search accuracy. This is a positive real number with a default value of 0.9, which controls the accuracy of the line search. If the function and gradient evalutions are inexpensive with respect to the cost of the iterations it may be advantageous to set the value to a small value (say 0.1). |
|
Set/Get the maximum number of function evaluations allowed. |
|
Method for getting access to the internal optimizer. |
|
Set/Get the optimizer trace flag. If set to true, the optimizer prints out information every iteration. |
|
Method for creation through the object factory. Reimplemented from itk::SingleValuedNonLinearOptimizer.
|
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::SingleValuedNonLinearOptimizer.
|
|
Plug in a Cost Function into the optimizer Implements itk::SingleValuedNonLinearVnlOptimizer.
|
|
Set/Get the default step size. This is a positive real number with a default value of 1.0 which determines the stpe size in the line search. |
|
Set/Get the gradient convergence tolerance. This is a positive real number that determines the accuracy with which the solution is to be found. The optimization terminates when: ||G|| < gtol max(1,||X||) where ||.|| denotes the Euclidean norm. |
|
Set/Get the line search accuracy. This is a positive real number with a default value of 0.9, which controls the accuracy of the line search. If the function and gradient evalutions are inexpensive with respect to the cost of the iterations it may be advantageous to set the value to a small value (say 0.1). |
|
Set/Get the maximum number of function evaluations allowed. |
|
Set/Get the optimizer trace flag. If set to true, the optimizer prints out information every iteration. |
|
Start optimization with an initial value. Reimplemented from itk::Optimizer.
|
|
Set/Get the optimizer trace flag. If set to true, the optimizer prints out information every iteration. |
|
Set/Get the optimizer trace flag. If set to true, the optimizer prints out information every iteration. |