19#ifndef __itkFiniteDifferenceGradientDescentOptimizer_h
20#define __itkFiniteDifferenceGradientDescentOptimizer_h
93 itkSetMacro( NumberOfIterations,
unsigned long );
96 itkGetConstMacro( NumberOfIterations,
unsigned long );
99 itkGetConstMacro( CurrentIteration,
unsigned long );
102 itkGetConstMacro( Value,
double );
108 itkSetMacro( Param_a,
double );
109 itkGetMacro( Param_a,
double );
112 itkSetMacro( Param_c,
double );
113 itkGetMacro( Param_c,
double );
116 itkSetMacro( Param_A,
double );
117 itkGetMacro( Param_A,
double );
120 itkSetMacro( Param_alpha,
double );
121 itkGetMacro( Param_alpha,
double );
124 itkSetMacro( Param_gamma,
double );
125 itkGetMacro( Param_gamma,
double );
127 itkGetConstMacro( ComputeCurrentValue,
bool );
128 itkSetMacro( ComputeCurrentValue,
bool );
129 itkBooleanMacro( ComputeCurrentValue );
132 itkGetConstMacro( GradientMagnitude,
double );
133 itkGetConstMacro( LearningRate,
double );
141 void PrintSelf( std::ostream & os, Indent indent )
const override;
An optimizer based on gradient descent ...
FiniteDifferenceGradientDescentOptimizer()
void ResumeOptimization(void)
unsigned long m_NumberOfIterations
void StartOptimization(void) override
void StopOptimization(void)
DerivativeType m_Gradient
void operator=(const Self &)
virtual double Compute_a(unsigned long k) const
ScaledSingleValuedNonLinearOptimizer Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
unsigned long m_CurrentIteration
SmartPointer< const Self > ConstPointer
@ MaximumNumberOfIterations
virtual double Compute_c(unsigned long k) const
double m_GradientMagnitude
~FiniteDifferenceGradientDescentOptimizer() override
bool m_ComputeCurrentValue
virtual void AdvanceOneStep(void)
FiniteDifferenceGradientDescentOptimizer Self
SmartPointer< Self > Pointer
StopConditionType m_StopCondition
FiniteDifferenceGradientDescentOptimizer(const Self &)
Superclass::DerivativeType DerivativeType