public class ExternalTerminationCondition extends java.lang.Object implements TerminationCondition
Modifier and Type | Field and Description |
---|---|
boolean |
shouldTerminate |
Constructor and Description |
---|
ExternalTerminationCondition() |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public boolean shouldTerminate(PopulationData<?> populationData)
TerminationCondition
shouldTerminate
in interface TerminationCondition
populationData
- Information about the current state of evolution. This may be
used to determine whether evolution should continue or not.