18 #ifndef itkLBFGSOptimizerBasev4_h
19 #define itkLBFGSOptimizerBasev4_h
22 #include "vnl/algo/vnl_lbfgs.h"
23 #include "vnl/algo/vnl_lbfgsb.h"
25 #include "ITKOptimizersv4Export.h"
38 template<
typename TInternalVnlOptimizerType >
72 template<
typename TInternalVnlOptimizerType >
113 itkGetConstMacro(Trace,
bool);
114 itkBooleanMacro(Trace);
119 itkGetConstMacro(MaximumNumberOfFunctionEvaluations,
unsigned int);
128 itkGetConstMacro(GradientConvergenceTolerance,
double);
135 virtual ~LBFGSOptimizerBasev4();
136 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
159 LBFGSOptimizerBasev4(const
Self &) ITK_DELETE_FUNCTION;
160 void operator=(const
Self &) ITK_DELETE_FUNCTION;
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "itkLBFGSOptimizerBasev4.hxx"
Superclass::ParametersType ParametersType
InternalOptimizerType * GetOptimizer()
Superclass::StopConditionDescriptionType StopConditionDescriptionType
LBFGSOptimizerBaseHelperv4< TInternalVnlOptimizerType > InternalOptimizerType
Light weight base class for most itk classes.
Wrapper helper around vnl optimizer.
Superclass::ScalesType ScalesType
virtual void SetTrace(bool flag)
InternalOptimizerAutoPointer m_VnlOptimizer
Wrapper helper around vnl_lbfgsb.
double m_InfinityNormOfProjectedGradient
Superclass::MetricType MetricType
std::ostringstream m_StopConditionDescription
double m_CostFunctionConvergenceFactor
Superclass::MetricType MetricType
virtual void SetGradientConvergenceTolerance(double gtol)
This class is an Adaptor that allows to pass itk::ObjectToObjectMetricBase objects to vnl_optimizers ...
This is a base for the ITKv4 Optimization methods using the vnl library.
Superclass::ParametersType ParametersType
LBFGSOptimizerBasev4 Self
SmartPointer< const Self > ConstPointer
virtual void SetMetric(MetricType *metric) override
virtual void StartOptimization(bool doOnlyInitialization=false) override
virtual const StopConditionReturnStringType GetStopConditionDescription() const override
unsigned int m_MaximumNumberOfFunctionEvaluations
Superclass::ScalesType ScalesType
Superclass::StopConditionReturnStringType StopConditionReturnStringType
Implements an Automatic Pointer to an object.
Superclass::StopConditionReturnStringType StopConditionReturnStringType
Control indentation during Print() invocation.
double m_GradientConvergenceTolerance
bool m_OptimizerInitialized
Superclass::StopConditionDescriptionType StopConditionDescriptionType
SmartPointer< Self > Pointer
Abstract base for vnl lbfgs algorithm optimizers in ITKv4 registration framework. ...
SingleValuedNonLinearVnlOptimizerv4 Superclass
virtual void SetMaximumNumberOfFunctionEvaluations(unsigned int n)
virtual void PrintSelf(std::ostream &os, Indent indent) const override