18#ifndef itkLBFGSOptimizer_h
19#define itkLBFGSOptimizer_h
22#include "vnl/algo/vnl_lbfgs.h"
23#include "ITKOptimizersExport.h"
116 itkGetMacro(Trace,
bool);
117 itkBooleanMacro(Trace);
123 itkGetMacro(MaximumNumberOfFunctionEvaluations,
unsigned int);
133 itkGetMacro(GradientConvergenceTolerance,
double);
144 itkGetMacro(LineSearchAccuracy,
double);
153 itkGetMacro(DefaultStepLength,
double);
Control indentation during Print() invocation.
double m_DefaultStepLength
double m_LineSearchAccuracy
double m_GradientConvergenceTolerance
void StartOptimization() override
void PrintSelf(std::ostream &os, Indent indent) const override
vnl_lbfgs * GetOptimizer()
Superclass::CostFunctionAdaptorType CostFunctionAdaptorType
std::ostringstream m_StopConditionDescription
virtual void SetMaximumNumberOfFunctionEvaluations(unsigned int n)
vnl_lbfgs InternalOptimizerType
SmartPointer< const Self > ConstPointer
virtual void SetGradientConvergenceTolerance(double f)
MeasureType GetValue() const
virtual void SetDefaultStepLength(double f)
vnl_vector< double > InternalParametersType
unsigned int m_MaximumNumberOfFunctionEvaluations
bool m_OptimizerInitialized
SmartPointer< Self > Pointer
virtual void SetTrace(bool flag)
void SetCostFunction(SingleValuedCostFunction *costFunction) override
std::string GetStopConditionDescription() const override
SingleValuedNonLinearVnlOptimizer Superclass
std::unique_ptr< InternalOptimizerType > m_VnlOptimizer
virtual void SetLineSearchAccuracy(double f)
~LBFGSOptimizer() override
This class is a base for the CostFunctions returning a single value.
CostFunctionType::MeasureType MeasureType
SingleValuedVnlCostFunctionAdaptor CostFunctionAdaptorType
SingleValuedNonLinearVnlOptimizer()
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....