Deprecated
As of 3.1 (to be removed in 4.0).
This class solve a least-square problem by solving the normal equations of the linearized problem at each iteration. Either LU decomposition or QR decomposition can be used to solve the normal equations. LU decomposition is faster but QR decomposition is more robust for difficult problems.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | useLU
Indicator for using LU decomposition. |
| Access | Constructor and Description |
|---|---|
| public | GaussNewtonOptimizer()
Deprecated
See
SimpleVectorValueChecker#SimpleVectorValueChecker()
Simple constructor with default settings. |
| public | GaussNewtonOptimizer(ConvergenceChecker<PointVectorValuePair>
Convergence checker. checker)
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
Simple constructor with default settings. |
| public | GaussNewtonOptimizer(final boolean
If useLU)true, the normal equations will be solved
using LU decomposition, otherwise they will be solved using QR
decomposition.
Deprecated
See
SimpleVectorValueChecker#SimpleVectorValueChecker()
Simple constructor with default settings. |
| public | GaussNewtonOptimizer(final boolean
If useLU, ConvergenceChecker<PointVectorValuePair> true, the normal equations will be solved
using LU decomposition, otherwise they will be solved using QR
decomposition.Convergence checker. checker)
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public PointVectorValuePair | doOptimize()
Implements abstract org.
Deprecated
as a consequence of
PointVectorValuePair being deprecated.
Perform the bulk of the optimization algorithm. |
| useLU | back to summary |
|---|---|
| private final boolean useLU Indicator for using LU decomposition. | |
| GaussNewtonOptimizer | back to summary |
|---|---|
| public GaussNewtonOptimizer()
Deprecated Simple constructor with default settings.
The normal equations will be solved using LU decomposition and the
convergence check is set to a
| |
| GaussNewtonOptimizer | back to summary |
|---|---|
| public GaussNewtonOptimizer(ConvergenceChecker<PointVectorValuePair> checker)
Deprecated as a consequence of Simple constructor with default settings. The normal equations will be solved using LU decomposition.
| |
| GaussNewtonOptimizer | back to summary |
|---|---|
| public GaussNewtonOptimizer(final boolean useLU)
Deprecated Simple constructor with default settings.
The convergence check is set to a
| |
| GaussNewtonOptimizer | back to summary |
|---|---|
| public GaussNewtonOptimizer(final boolean useLU, ConvergenceChecker<PointVectorValuePair> checker)
Deprecated as a consequence of
| |
| doOptimize | back to summary |
|---|---|
| public PointVectorValuePair doOptimize() Implements abstract org. Doc from org. Deprecated as a consequence of Perform the bulk of the optimization algorithm.
| |