java.io.Serializable
public interface StoppingCriteria
extends java.io.Serializable
Modifier and Type | Interface | Description |
---|---|---|
static interface |
StoppingCriteria.Factory |
|
static class |
StoppingCriteria.Utils |
Modifier and Type | Method | 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()