All Known Implementing Classes:
TerminateByDistancePercAvg, TerminateByDistancePercAvgDynamicG, TerminateByDistancePercBest, TerminateByDiversityDistBest, TerminateByDiversityDistMax, TerminateByDiversityRelStDev, TerminatedByCostValue, TerminatedByNumberOfGenerations, TerminationCriterionBase

public interface TerminationCriterion
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    readyToTerminate(Generation currentGeneration, List<Generation> allPreviousGenerations)
    Returns true if this termination criterion has been reached with the current generation.
  • Method Details

    • readyToTerminate

      boolean readyToTerminate(Generation currentGeneration, List<Generation> allPreviousGenerations)
      Returns true if this termination criterion has been reached with the current generation.
      Parameters:
      currentGeneration - the current generation for which the termination criterion is test
      allPreviousGenerations - a list of all previous generations, in the order in which they have been created