18 #ifndef __itkLBFGSBOptimizer_h
19 #define __itkLBFGSBOptimizer_h
97 void StartOptimization(
void);
105 virtual void SetTrace(
bool flag);
107 itkGetMacro(Trace,
bool);
108 itkBooleanMacro(Trace);
136 virtual void SetCostFunctionConvergenceFactor(
double);
138 itkGetMacro(CostFunctionConvergenceFactor,
double);
144 virtual void SetProjectedGradientTolerance(
double);
146 itkGetMacro(ProjectedGradientTolerance,
double);
149 virtual void SetMaximumNumberOfIterations(
unsigned int);
151 itkGetMacro(MaximumNumberOfIterations,
unsigned int);
154 virtual void SetMaximumNumberOfEvaluations(
unsigned int);
156 itkGetMacro(MaximumNumberOfEvaluations,
unsigned int);
159 virtual void SetMaximumNumberOfCorrections(
unsigned int);
161 itkGetMacro(MaximumNumberOfCorrections,
unsigned int);
166 itkExceptionMacro(<<
"This optimizer does not support scales.");
170 itkGetConstReferenceMacro(CurrentIteration,
unsigned int);
173 MeasureType GetValue()
const;
177 itkGetConstReferenceMacro(InfinityNormOfProjectedGradient,
double);
180 const std::string GetStopConditionDescription()
const;
185 void PrintSelf(std::ostream & os,
Indent indent)
const;
190 void operator=(
const Self &);