org.dishevelled.evolve
Interface ExitStrategy<I>

Type Parameters:
I - individual type
All Known Implementing Classes:
FitnessFloorExitStrategy, FitnessThresholdExitStrategy, TimeLimitExitStrategy

public interface ExitStrategy<I>

An exit strategy function.

Version:
$Revision: 1059 $ $Date: 2012-01-03 14:03:02 -0600 (Tue, 03 Jan 2012) $
Author:
Michael Heuer

Method Summary
 boolean evaluate(Collection<I> population, WeightedMap<I> scores, int time)
          Return true if the specified population has met the criteria of this exit strategy function.
 

Method Detail

evaluate

boolean evaluate(Collection<I> population,
                 WeightedMap<I> scores,
                 int time)
Return true if the specified population has met the criteria of this exit strategy function.

Parameters:
population - population
scores - fitness scores
time - time
Returns:
true if the specified population has met the criteria of this exit strategy function


Copyright (c) 2005-2012 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).