18 #ifndef __itkLBFGSBOptimizer_h
19 #define __itkLBFGSBOptimizer_h
98 void StartOptimization(
void);
106 virtual void SetTrace(
bool flag);
108 itkGetMacro(Trace,
bool);
109 itkBooleanMacro(Trace);
137 virtual void SetCostFunctionConvergenceFactor(
double);
139 itkGetMacro(CostFunctionConvergenceFactor,
double);
145 virtual void SetProjectedGradientTolerance(
double);
147 itkGetMacro(ProjectedGradientTolerance,
double);
150 virtual void SetMaximumNumberOfIterations(
unsigned int);
152 itkGetMacro(MaximumNumberOfIterations,
unsigned int);
155 virtual void SetMaximumNumberOfEvaluations(
unsigned int);
157 itkGetMacro(MaximumNumberOfEvaluations,
unsigned int);
160 virtual void SetMaximumNumberOfCorrections(
unsigned int);
162 itkGetMacro(MaximumNumberOfCorrections,
unsigned int);
167 itkExceptionMacro(<<
"This optimizer does not support scales.");
171 itkGetConstReferenceMacro(CurrentIteration,
unsigned int);
174 MeasureType GetValue()
const;
178 itkGetConstReferenceMacro(InfinityNormOfProjectedGradient,
double);
181 const std::string GetStopConditionDescription()
const;
186 void PrintSelf(std::ostream & os,
Indent indent)
const;
192 void operator=(
const Self &);