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;
135 virtual
void PrintSelf( std::ostream & os,
Indent indent ) const 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
Light weight base class for most itk classes.
Superclass::IndexRangeType IndexRangeType
Superclass::ParametersType ParametersType
double GetCurrentStepLength() const
virtual void EstimateLearningRate() override
Superclass::ScalesType ScalesType
SmartPointer< Self > Pointer
Superclass::ParametersType ParametersType
TInternalComputationValueType m_RelaxationFactor
virtual void PrintSelf(std::ostream &os, Indent indent) const override
RegularStepGradientDescentOptimizerv4 Self
MeasureType m_CurrentLearningRateRelaxation
Superclass::MeasureType MeasureType
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
ThreadedIndexedContainerPartitioner::IndexRangeType IndexRangeType
TInternalComputationValueType m_GradientMagnitudeTolerance
Superclass::StopConditionType StopConditionType