Interface StopCondition
-
- All Known Implementing Classes:
AfterIterations,AfterNoImprovement,AndStopConditions,AtThreshold,OrStopConditions
public interface StopConditionDefines when an algorithm stops (the iterations).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisStopped(Vector x, double... information)This is called after each iteration to determine whether the termination conditions are met, e.g., convergence.
-
-
-
Method Detail
-
isStopped
boolean isStopped(Vector x, double... information)
This is called after each iteration to determine whether the termination conditions are met, e.g., convergence.- Parameters:
x- the current state of the algorithminformation- auxiliary information, e.g., the energy at a given state- Returns:
trueif the iteration should stop
-
-