18#ifndef itkLBFGSBOptimizerv4_h
19#define itkLBFGSBOptimizerv4_h
22#include "vnl/algo/vnl_lbfgsb.h"
23#include "ITKOptimizersv4Export.h"
114 return m_InitialPosition;
157 itkGetConstMacro(CostFunctionConvergenceFactor,
double);
163 itkGetConstMacro(MaximumNumberOfCorrections,
unsigned int);
171 itkGetConstReferenceMacro(InfinityNormOfProjectedGradient,
double);
194 unsigned int m_MaximumNumberOfCorrections{ 5 };
Wrapper helper around vnl_lbfgsb.
Control indentation during Print() invocation.
Limited memory Broyden Fletcher Goldfarb Shannon minimization with simple bounds.
void SetMetric(MetricType *metric) override
void SetBoundSelection(const BoundSelectionType &value)
void SetUpperBound(const BoundValueType &value)
ParametersType & GetInitialPosition()
virtual void SetCostFunctionConvergenceFactor(double)
Superclass::CostFunctionAdaptorType CostFunctionAdaptorType
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetMaximumNumberOfCorrections(unsigned int)
~LBFGSBOptimizerv4() override
void SetLowerBound(const BoundValueType &value)
void SetInitialPosition(const ParametersType ¶m)
void StartOptimization(bool doOnlyInitialization=false) override
Superclass::ScalesType ScalesType
Superclass::MetricType MetricType
void SetScales(const ScalesType &) override
Superclass::ParametersType ParametersType
bool CanUseScales() const override
Abstract base for vnl lbfgs algorithm optimizers in ITKv4 registration framework.
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
class ITK_FORWARD_EXPORT LBFGSBOptimizerHelperv4