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 );
115 virtual void AdvanceOneStep(
void) ITK_OVERRIDE;
123 virtual
void PrintSelf( std::ostream & os,
Indent indent ) const ITK_OVERRIDE;
125 TInternalComputationValueType GoldenSectionSearch( TInternalComputationValueType a, TInternalComputationValueType b, TInternalComputationValueType c );
127 TInternalComputationValueType m_LowerLimit;
128 TInternalComputationValueType m_UpperLimit;
129 TInternalComputationValueType m_Phi;
130 TInternalComputationValueType m_Resphi;
131 TInternalComputationValueType m_Epsilon;
134 unsigned int m_MaximumLineSearchIterations;
137 unsigned int m_LineSearchIterations;
149 #ifndef ITK_MANUAL_INSTANTIATION
150 #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
GradientDescentLineSearchOptimizerv4Template Self
Superclass::DerivativeType DerivativeType
GradientDescentOptimizerv4Template< TInternalComputationValueType > Superclass
Class which monitors convergence during the course of optimization.
Superclass::ParametersType ParametersType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
Gradient descent optimizer.
Superclass::MeasureType MeasureType
Gradient descent optimizer with a golden section line search.