Deprecated
As of 3.1 (to be removed in 4.0).
| Modifier and Type | Field and Description |
|---|---|
| private final double | absoluteThreshold
Absolute tolerance threshold. |
| private static final double | DEFAULT_ABSOLUTE_THRESHOLD
Deprecated
in 3.1 (to be removed in 4.0) because this value is too small
to be useful as a default (cf. MATH-798).
Default absolute threshold.
|
| private static final double | DEFAULT_RELATIVE_THRESHOLD
Deprecated
in 3.1 (to be removed in 4.0) because this value is too small
to be useful as a default (cf. MATH-798).
Default relative threshold.
|
| private final double | relativeThreshold
Relative tolerance threshold. |
| Access | Constructor and Description |
|---|---|
| public | AbstractConvergenceChecker()
Deprecated
in 3.1 (to be removed in 4.0).
Build an instance with default thresholds. |
| public | AbstractConvergenceChecker(final double
relative tolerance threshold relativeThreshold, final double absolute tolerance threshold absoluteThreshold)Build an instance with a specified thresholds. |
| Modifier and Type | Method and Description |
|---|---|
| public abstract boolean | converged(int
Current iteration. iteration, PAIR Best point in the previous iteration. previous, PAIR Best point in the current iteration. current)Redeclares org. Check if the optimization algorithm has converged. |
| public double | |
| public double |
| absoluteThreshold | back to summary |
|---|---|
| private final double absoluteThreshold Absolute tolerance threshold. | |
| DEFAULT_ABSOLUTE_THRESHOLD | back to summary |
|---|---|
| private static final double DEFAULT_ABSOLUTE_THRESHOLD
Deprecated in 3.1 (to be removed in 4.0) because this value is too small to be useful as a default (cf. MATH-798). Default absolute threshold. | |
| DEFAULT_RELATIVE_THRESHOLD | back to summary |
|---|---|
| private static final double DEFAULT_RELATIVE_THRESHOLD
Deprecated in 3.1 (to be removed in 4.0) because this value is too small to be useful as a default (cf. MATH-798). Default relative threshold. | |
| relativeThreshold | back to summary |
|---|---|
| private final double relativeThreshold Relative tolerance threshold. | |
| AbstractConvergenceChecker | back to summary |
|---|---|
| public AbstractConvergenceChecker()
Deprecated in 3.1 (to be removed in 4.0). Convergence thresholds are problem-dependent. As this class is intended for users who want to set their own convergence criterion instead of relying on an algorithm's default procedure, they should also set the thresholds appropriately (cf. MATH-798). Build an instance with default thresholds.
| |
| AbstractConvergenceChecker | back to summary |
|---|---|
| public AbstractConvergenceChecker(final double relativeThreshold, final double absoluteThreshold) Build an instance with a specified thresholds.
| |
| converged | back to summary |
|---|---|
| public abstract boolean converged(int iteration, PAIR previous, PAIR current) Redeclares org. Doc from org. Check if the optimization algorithm has converged.
| |
| getAbsoluteThreshold | back to summary |
|---|---|
public double getAbsoluteThreshold()
| |
| getRelativeThreshold | back to summary |
|---|---|
public double getRelativeThreshold()
| |