Interface TerminationCriterion
- All Known Implementing Classes:
TerminateByDistancePercAvg
,TerminateByDistancePercAvgDynamicG
,TerminateByDistancePercBest
,TerminateByDiversityDistBest
,TerminateByDiversityDistMax
,TerminateByDiversityRelStDev
,TerminatedByCostValue
,TerminatedByNumberOfGenerations
,TerminationCriterionBase
public interface TerminationCriterion
-
Method Summary
Modifier and TypeMethodDescriptionboolean
readyToTerminate
(Generation currentGeneration, List<Generation> allPreviousGenerations) Returns true if this termination criterion has been reached with the current generation.
-
Method Details
-
readyToTerminate
Returns true if this termination criterion has been reached with the current generation.- Parameters:
currentGeneration
- the current generation for which the termination criterion is testallPreviousGenerations
- a list of all previous generations, in the order in which they have been created
-