public interface TerminationCondition
Modifier and Type | Method and Description |
---|---|
boolean |
shouldTerminate(PopulationData<?> populationData)
The condition is queried via this method to determine whether or not
evolution should finish at the current point.
|
java.lang.String |
toString()
A string representation of the termination condition, preferably
including the settings/limit reached causing the termination (e.g.
|
boolean shouldTerminate(PopulationData<?> populationData)
populationData
- Information about the current state of evolution. This may be
used to determine whether evolution should continue or not.java.lang.String toString()
toString
in class java.lang.Object