#include <DGtal/math/AngleLinearMinimizer.h>
|
virtual void | oneStep (unsigned int i1, unsigned int i2) |
|
Specializes AngleLinearMinimizer to optimize with an adaptive step gradient descent method.
Definition at line 472 of file AngleLinearMinimizer.h.
◆ AngleLinearMinimizerByAdaptiveStepGradientDescent()
DGtal::AngleLinearMinimizerByAdaptiveStepGradientDescent::AngleLinearMinimizerByAdaptiveStepGradientDescent |
( |
double |
step = 0.1 | ) |
|
Default constructor. Does nothing.
◆ ~AngleLinearMinimizerByAdaptiveStepGradientDescent()
virtual DGtal::AngleLinearMinimizerByAdaptiveStepGradientDescent::~AngleLinearMinimizerByAdaptiveStepGradientDescent |
( |
| ) |
|
|
virtual |
Destructor. Does nothing.
◆ lastDelta()
virtual double DGtal::AngleLinearMinimizerByAdaptiveStepGradientDescent::lastDelta |
( |
| ) |
const |
|
virtual |
Should be used to stop the minimization process. The smaller is this value, the more the optimization is at an end. May have several meanings, like the infinite norm of the last displacement or the infinite norm of the projected gradient.
- Returns
- an upper bound on the norm of the last displacement.
Reimplemented from DGtal::AngleLinearMinimizer.
◆ oneStep()
virtual void DGtal::AngleLinearMinimizerByAdaptiveStepGradientDescent::oneStep |
( |
unsigned int |
i1, |
|
|
unsigned int |
i2 |
|
) |
| |
|
protectedvirtual |
The method which performs the optimization effectively. Use a relaxation technique. The optimization is performed on values [i1] included to [i2] excluded.
- Parameters
-
i1 | the first value to be optimized (between 0 and 'size()-1'). |
i2 | the value after the last to be optimized (between 0 and 'size()-1'). |
Reimplemented from DGtal::AngleLinearMinimizer.
◆ selfDisplay()
virtual void DGtal::AngleLinearMinimizerByAdaptiveStepGradientDescent::selfDisplay |
( |
std::ostream & |
aStream | ) |
const |
|
virtual |
Writes/Displays the object on an output stream.
- Parameters
-
aStream | the output stream where the object is written. |
◆ myStep
double DGtal::AngleLinearMinimizerByAdaptiveStepGradientDescent::myStep |
|
private |
The documentation for this class was generated from the following file: