|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.optimization.AbstractConvergenceChecker<PAIR>
PAIR
- Type of (point, value) pair.
@Deprecated public abstract class AbstractConvergenceChecker<PAIR>
Base class for all convergence checker implementations.
Constructor Summary | |
---|---|
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). |
|
AbstractConvergenceChecker(double relativeThreshold,
double absoluteThreshold)
Deprecated. Build an instance with a specified thresholds. |
Method Summary | |
---|---|
abstract boolean |
converged(int iteration,
PAIR previous,
PAIR current)
Deprecated. Check if the optimization algorithm has converged. |
double |
getAbsoluteThreshold()
Deprecated. |
double |
getRelativeThreshold()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public AbstractConvergenceChecker()
public AbstractConvergenceChecker(double relativeThreshold, double absoluteThreshold)
relativeThreshold
- relative tolerance thresholdabsoluteThreshold
- absolute tolerance thresholdMethod Detail |
---|
public double getRelativeThreshold()
public double getAbsoluteThreshold()
public abstract boolean converged(int iteration, PAIR previous, PAIR current)
converged
in interface ConvergenceChecker<PAIR>
iteration
- Current iteration.previous
- Best point in the previous iteration.current
- Best point in the current iteration.
true
if the algorithm is considered to have converged.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |