19 #ifndef __itkRSGDEachParameterApartBaseOptimizer_h 20 #define __itkRSGDEachParameterApartBaseOptimizer_h 22 #include "itkSingleValuedNonLinearOptimizer.h" 65 itkSetMacro( Maximize,
bool );
66 itkGetConstMacro( Maximize,
bool );
67 itkBooleanMacro( Maximize );
89 itkSetMacro( MaximumStepLength,
double );
90 itkSetMacro( MinimumStepLength,
double );
91 itkSetMacro( NumberOfIterations,
unsigned long );
93 itkGetConstMacro( MaximumStepLength,
double );
94 itkGetConstMacro( MinimumStepLength,
double );
95 itkGetConstMacro( NumberOfIterations,
unsigned long );
97 itkGetConstMacro( CurrentIteration,
unsigned long );
98 itkGetConstMacro( StopCondition, StopConditionType );
99 itkGetConstMacro( Value, MeasureType );
100 itkGetConstReferenceMacro( Gradient, DerivativeType );
103 itkGetConstReferenceMacro( CurrentStepLengths, DerivativeType );
106 itkGetConstMacro( CurrentStepLength,
double );
109 itkGetConstMacro( GradientMagnitude,
double );
115 void PrintSelf( std::ostream & os, Indent indent )
const;
133 const DerivativeType &,
134 const DerivativeType & )
137 ex.SetLocation( __FILE__ );
138 ex.SetDescription(
"This method MUST be overloaded in derived classes" );
175 #endif // end #ifndef __itkRSGDEachParameterApartBaseOptimizer_h
double m_MaximumStepLength
RSGDEachParameterApartBaseOptimizer()
void StartOptimization(void)
DerivativeType m_PreviousGradient
virtual void AdvanceOneStep(void)
DerivativeType m_CurrentStepLengths
virtual void StepAlongGradient(const DerivativeType &, const DerivativeType &)
void StopOptimization(void)
double m_MinimumStepLength
RSGDEachParameterApartBaseOptimizer Self
void PrintSelf(std::ostream &os, Indent indent) const
unsigned long m_CurrentIteration
virtual void SetMaximize(bool _arg)
virtual ~RSGDEachParameterApartBaseOptimizer()
SingleValuedNonLinearOptimizer Superclass
void ResumeOptimization(void)
SmartPointer< const Self > ConstPointer
double m_GradientMagnitude
void operator=(const Self &)
double m_GradientMagnitudeTolerance
An optimizer based on gradient descent...
DerivativeType m_Gradient
SmartPointer< Self > Pointer
double m_CurrentStepLength
unsigned long m_NumberOfIterations
StopConditionType m_StopCondition