18 #ifndef __itkLBFGSOptimizer_h
19 #define __itkLBFGSOptimizer_h
22 #include "vnl/algo/vnl_lbfgs.h"
55 vnl_lbfgs * GetOptimizer(
void);
58 void StartOptimization(
void);
66 virtual void SetTrace(
bool flag);
68 itkGetMacro(Trace,
bool);
69 itkBooleanMacro(Trace);
72 virtual void SetMaximumNumberOfFunctionEvaluations(
unsigned int n);
74 itkGetMacro(MaximumNumberOfFunctionEvaluations,
unsigned int);
81 virtual void SetGradientConvergenceTolerance(
double gtol);
83 itkGetMacro(GradientConvergenceTolerance,
double);
91 virtual void SetLineSearchAccuracy(
double tol);
93 itkGetMacro(LineSearchAccuracy,
double);
99 virtual void SetDefaultStepLength(
double stp);
101 itkGetMacro(DefaultStepLength,
double);
107 const std::string GetStopConditionDescription()
const;
112 void PrintSelf(std::ostream & os,
Indent indent)
const;
118 void operator=(
const Self &);