18 #ifndef __itkLBFGSOptimizerBasev4_h
19 #define __itkLBFGSOptimizerBasev4_h
22 #include "vnl/algo/vnl_lbfgs.h"
23 #include "vnl/algo/vnl_lbfgsb.h"
37 template<
typename TInternalVnlOptimizerType >
71 template<
typename TInternalVnlOptimizerType >
112 itkGetConstMacro(Trace,
bool);
113 itkBooleanMacro(Trace);
118 itkGetConstMacro(MaximumNumberOfFunctionEvaluations,
unsigned int);
127 itkGetConstMacro(GradientConvergenceTolerance,
double);
134 virtual ~LBFGSOptimizerBasev4();
135 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
159 LBFGSOptimizerBasev4(const
Self &);
160 void operator=(const Self &);
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "itkLBFGSOptimizerBasev4.hxx"
Superclass::ParametersType ParametersType
Superclass::StopConditionDescriptionType StopConditionDescriptionType
LBFGSOptimizerBaseHelperv4< TInternalVnlOptimizerType > InternalOptimizerType
Light weight base class for most itk classes.
virtual const StopConditionReturnStringType GetStopConditionDescription() const ITK_OVERRIDE
Wrapper helper around vnl optimizer.
Superclass::ScalesType ScalesType
virtual void SetTrace(bool flag)
InternalOptimizerAutoPointer m_VnlOptimizer
InternalOptimizerType * GetOptimizer(void)
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.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
Superclass::ParametersType ParametersType
LBFGSOptimizerBasev4 Self
SmartPointer< const Self > ConstPointer
unsigned int m_MaximumNumberOfFunctionEvaluations
Superclass::ScalesType ScalesType
Superclass::StopConditionReturnStringType StopConditionReturnStringType
Implements an Automatic Pointer to an object.
virtual void SetMetric(MetricType *metric) ITK_OVERRIDE
Superclass::StopConditionReturnStringType StopConditionReturnStringType
unsigned int m_MaximumNumberOfIterations
Control indentation during Print() invocation.
double m_GradientConvergenceTolerance
bool m_OptimizerInitialized
virtual void StartOptimization(bool doOnlyInitialization=false) ITK_OVERRIDE
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)