18 #ifndef itkGradientDescentLineSearchOptimizerv4_h
19 #define itkGradientDescentLineSearchOptimizerv4_h
58 template<
typename TInternalComputationValueType>
91 itkSetMacro( Epsilon , TInternalComputationValueType );
92 itkGetMacro( Epsilon , TInternalComputationValueType );
104 itkSetMacro( LowerLimit , TInternalComputationValueType );
105 itkGetMacro( LowerLimit , TInternalComputationValueType );
106 itkSetMacro( UpperLimit , TInternalComputationValueType );
107 itkGetMacro( UpperLimit , TInternalComputationValueType );
108 itkSetMacro( MaximumLineSearchIterations ,
unsigned int );
109 itkGetMacro( MaximumLineSearchIterations ,
unsigned int );
123 virtual
void PrintSelf( std::ostream & os,
Indent indent ) const ITK_OVERRIDE;
125 TInternalComputationValueType
GoldenSectionSearch( TInternalComputationValueType a, TInternalComputationValueType b, TInternalComputationValueType c );
129 TInternalComputationValueType
m_Phi;
140 GradientDescentLineSearchOptimizerv4Template( const
Self & );
141 void operator=( const Self& );
150 #ifndef ITK_MANUAL_INSTANTIATION
151 #include "itkGradientDescentLineSearchOptimizerv4.hxx"
Array class with size defined at construction time.
TInternalComputationValueType InternalComputationValueType
Light weight base class for most itk classes.
itk::Function::WindowConvergenceMonitoringFunction< TInternalComputationValueType > ConvergenceMonitoringType
TInternalComputationValueType m_Phi
Superclass::ParametersType ParametersType
GradientDescentLineSearchOptimizerv4Template Self
Superclass::DerivativeType DerivativeType
TInternalComputationValueType m_Epsilon
virtual void AdvanceOneStep(void) override
TInternalComputationValueType m_Resphi
TInternalComputationValueType m_UpperLimit
TInternalComputationValueType GoldenSectionSearch(TInternalComputationValueType a, TInternalComputationValueType b, TInternalComputationValueType c)
unsigned int m_LineSearchIterations
TInternalComputationValueType m_LowerLimit
GradientDescentOptimizerv4Template< TInternalComputationValueType > Superclass
Class which monitors convergence during the course of optimization.
Superclass::ParametersType ParametersType
SmartPointer< Self > Pointer
unsigned int m_MaximumLineSearchIterations
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
Superclass::MeasureType MeasureType
Gradient descent optimizer.
Superclass::MeasureType MeasureType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Gradient descent optimizer with a golden section line search.