| Modifier and Type | Field and Description |
|---|---|
| private final double | absTol
absolute tolerance for comparisons. |
| private final double | relTol
relative tolerance for comparisons. |
| Access | Constructor and Description |
|---|---|
| public | EvaluationRmsChecker(final double
the relative and absolute tolerance. tol)Create a convergence checker for the RMS with the same relative and absolute tolerance. |
| public | EvaluationRmsChecker(final double
the relative tolerance. relTol, final double the absolute tolerance. absTol)Create a convergence checker for the RMS with a relative and absolute tolerance. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | converged(final int
Current iteration. iteration, final LeastSquaresProblem.Best point in the previous iteration. previous,Best point in the current iteration. currentImplements org. Check if the optimization algorithm has converged. |
| absTol | back to summary |
|---|---|
| private final double absTol absolute tolerance for comparisons. | |
| relTol | back to summary |
|---|---|
| private final double relTol relative tolerance for comparisons. | |
| EvaluationRmsChecker | back to summary |
|---|---|
| public EvaluationRmsChecker(final double tol) Create a convergence checker for the RMS with the same relative and absolute tolerance. Convenience constructor for when the relative and absolute tolerances are the
same. Same as
| |
| EvaluationRmsChecker | back to summary |
|---|---|
| public EvaluationRmsChecker(final double relTol, final double absTol) Create a convergence checker for the RMS with a relative and absolute tolerance. The optimization has converged when the RMS of consecutive evaluations are equal to within the given relative tolerance or absolute tolerance.
| |
| converged | back to summary |
|---|---|
| public boolean converged(final int iteration, final LeastSquaresProblem. Implements org. Doc from org. Check if the optimization algorithm has converged.
| |