public interface StoppingCriteria
extends java.io.Serializable
Modifier and Type | Interface and Description |
---|---|
static interface |
StoppingCriteria.Factory |
static class |
StoppingCriteria.Utils |
Modifier and Type | Method and Description |
---|---|
double |
getRelativeStoppingRatio()
Get an indication of how close to stopping we currently are
|
boolean |
isTimeToStop() |
void |
newIteration(double currentScore,
double bestScore,
boolean maximising,
boolean externalStablized,
AlgorithmCallback callback) |
void |
reset() |
boolean isTimeToStop()
double getRelativeStoppingRatio()
void newIteration(double currentScore, double bestScore, boolean maximising, boolean externalStablized, AlgorithmCallback callback)
externalStablized
- if true than other factors have stablizedvoid reset()