18 #ifndef itkLBFGSBOptimizerv4_h
19 #define itkLBFGSBOptimizerv4_h
22 #include "vnl/algo/vnl_lbfgsb.h"
23 #include "ITKOptimizersv4Export.h"
114 return m_InitialPosition;
119 StartOptimization(
bool doOnlyInitialization =
false)
override;
123 SetMetric(MetricType * metric)
override;
127 SetLowerBound(
const BoundValueType & value);
129 itkGetConstReferenceMacro(LowerBound, BoundValueType);
133 SetUpperBound(
const BoundValueType & value);
135 itkGetConstReferenceMacro(UpperBound, BoundValueType);
144 SetBoundSelection(
const BoundSelectionType & value);
146 itkGetConstReferenceMacro(BoundSelection, BoundSelectionType);
155 SetCostFunctionConvergenceFactor(
double);
157 itkGetConstMacro(CostFunctionConvergenceFactor,
double);
161 SetMaximumNumberOfCorrections(
unsigned int);
163 itkGetConstMacro(MaximumNumberOfCorrections,
unsigned int);
167 SetScales(
const ScalesType &)
override;
171 itkGetConstReferenceMacro(InfinityNormOfProjectedGradient,
double);
177 PrintSelf(std::ostream & os,
Indent indent)
const override;
187 unsigned int m_MaximumNumberOfCorrections{ 5 };