| Modifier and Type | Field and Description |
|---|---|
| private final double | absoluteThreshold
Absolute tolerance threshold. |
| private final double | relativeThreshold
Relative tolerance threshold. |
| Access | Constructor and Description |
|---|---|
| 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. | |
| relativeThreshold | back to summary |
|---|---|
| private final double relativeThreshold Relative tolerance threshold. | |
| 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()
| |