Watchmaker Framework for Evolutionary Computation API
(Version 0.7.1)

org.uncommons.watchmaker.framework
Interface TerminationCondition

All Known Implementing Classes:
ElapsedTime, GenerationCount, Stagnation, TargetFitness, UserAbort

public interface TerminationCondition

Interface for implementing conditions used to terminate evolutionary algorithms.

Author:
Daniel Dyer

Method Summary
 boolean shouldTerminate(PopulationData<?> populationData)
          The condition is queried via this method to determine whether or not evolution should finish at the current point.
 

Method Detail

shouldTerminate

boolean shouldTerminate(PopulationData<?> populationData)
The condition is queried via this method to determine whether or not evolution should finish at the current point.

Parameters:
populationData - Information about the current state of evolution. This may be used to determine whether evolution should continue or not.
Returns:
true if evolution should be terminated, false otherwise.

Watchmaker Framework for Evolutionary Computation API
(Version 0.7.1)