#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 * | GetNameOfClass () const |
vnl_lbfgs * | GetOptimizer (void) |
void | StartOptimization (void) |
virtual void | SetCostFunction (SingleValuedCostFunction *costFunction) |
MeasureType | GetValue () |
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 110 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. |
|
|
|
|
|
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. |
|
Run-time type information (and related methods). Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. |
|
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. |
|
Return Current Value |
|
Method for creation through the object factory. Reimplemented from itk::SingleValuedNonLinearOptimizer. |
|
Print out internal state Reimplemented from itk::SingleValuedNonLinearVnlOptimizer. |
|
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. |