18 #ifndef itkRegularStepGradientDescentOptimizerv4_h 19 #define itkRegularStepGradientDescentOptimizerv4_h 45 template<
typename TInternalComputationValueType>
88 itkSetMacro(MinimumStepLength, TInternalComputationValueType);
89 itkGetConstReferenceMacro(MinimumStepLength, TInternalComputationValueType);
93 itkSetMacro(RelaxationFactor, TInternalComputationValueType);
94 itkGetConstReferenceMacro(RelaxationFactor, TInternalComputationValueType);
98 itkSetMacro(GradientMagnitudeTolerance, TInternalComputationValueType);
99 itkGetConstReferenceMacro(GradientMagnitudeTolerance, TInternalComputationValueType);
103 virtual void StartOptimization(
bool doOnlyInitialization =
false ) ITK_OVERRIDE;
147 RegularStepGradientDescentOptimizerv4( const Self & ) ITK_DELETE_FUNCTION;
148 void operator=( const Self& ) ITK_DELETE_FUNCTION;
153 #ifndef ITK_MANUAL_INSTANTIATION 154 #include "itkRegularStepGradientDescentOptimizerv4.hxx" Superclass::StopConditionType StopConditionType
Superclass::IndexRangeType IndexRangeType
Superclass::IndexRangeType IndexRangeType
Superclass::ParametersType ParametersType
double GetCurrentStepLength() const
virtual void EstimateLearningRate() override
Superclass::ScalesType ScalesType
SmartPointer< Self > Pointer
Superclass::ParametersType ParametersType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TInternalComputationValueType m_RelaxationFactor
RegularStepGradientDescentOptimizerv4 Self
virtual void PrintSelf(std::ostream &os, Indent indent) const override
MeasureType m_CurrentLearningRateRelaxation
Superclass::DerivativeType DerivativeType
GradientDescentOptimizerv4Template< TInternalComputationValueType > Superclass
virtual void ModifyGradientByLearningRateOverSubRange(const IndexRangeType &subrange) override
Perform more precise accumulation of floating point numbers.
TInternalComputationValueType m_MinimumStepLength
SmartPointer< const Self > ConstPointer
Superclass::ScalesType ScalesType
virtual void ModifyGradientByScalesOverSubRange(const IndexRangeType &subrange) override
CompensatedSummation< InternalComputationValueType > CompensatedSummationType
Superclass::MeasureType MeasureType
virtual void StartOptimization(bool doOnlyInitialization=false) override
Control indentation during Print() invocation.
TInternalComputationValueType InternalComputationValueType
Regular Step Gradient descent optimizer.
virtual void AdvanceOneStep(void) override
Superclass::MeasureType MeasureType
Gradient descent optimizer.
Superclass::DerivativeType DerivativeType
TInternalComputationValueType m_GradientMagnitudeTolerance
Superclass::StopConditionType StopConditionType