19#ifndef __itkLineSearchOptimizer_h
20#define __itkLineSearchOptimizer_h
22#include "itkSingleValuedNonLinearOptimizer.h"
24#include "itkIntTypes.h"
99 itkGetConstMacro( CurrentStepLength,
double );
110 itkSetMacro( MinimumStepLength,
double );
111 itkGetConstMacro( MinimumStepLength,
double );
112 itkSetMacro( MaximumStepLength,
double );
113 itkGetConstMacro( MaximumStepLength,
double );
114 itkSetMacro( InitialStepLengthEstimate,
double );
115 itkGetConstMacro( InitialStepLengthEstimate,
double );
121 void PrintSelf( std::ostream & os, Indent indent )
const override;
A base class for LineSearch optimizers.
virtual void GetCurrentDerivative(DerivativeType &derivative) const =0
LineSearchOptimizer(const Self &)
void PrintSelf(std::ostream &os, Indent indent) const override
double m_MaximumStepLength
~LineSearchOptimizer() override
Superclass::ParametersType ParametersType
Superclass::MeasureType MeasureType
virtual void SetCurrentStepLength(double step)
double DirectionalDerivative(const DerivativeType &derivative) const
ParametersType m_LineSearchDirection
void operator=(const Self &)
virtual MeasureType GetCurrentValue(void) const =0
Superclass::CostFunctionType CostFunctionType
virtual void SetLineSearchDirection(const ParametersType &arg)
Superclass::DerivativeType DerivativeType
SingleValuedNonLinearOptimizer Superclass
virtual void SetInitialDerivative(const DerivativeType &)
double m_MinimumStepLength
virtual void SetInitialValue(MeasureType)
double m_InitialStepLengthEstimate
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
double m_CurrentStepLength
virtual void GetCurrentValueAndDerivative(MeasureType &value, DerivativeType &derivative) const =0