de.kumpe.hadooptimizer
Interface Halter<I>

Type Parameters:
I - the individuals' type
All Superinterfaces:
Serializable
All Known Implementing Classes:
ComputingTimeLimitHalter, CountingHalter, CountingHalter, EsHalterWrapper, EvaluationLimitHalter, NeverHalter, ReportingHalterWrapper, TimeBasedHalter

public interface Halter<I>
extends Serializable

A Halter decides whether to stop or continue the evolution cycle.

Author:
Christian Kumpe

Method Summary
 boolean halt(Collection<EvaluationResult<I>> evaluationResults)
          Decides whether to stop or continue the evolution cycle.
 

Method Detail

halt

boolean halt(Collection<EvaluationResult<I>> evaluationResults)
Decides whether to stop or continue the evolution cycle.

Parameters:
evaluationResults - the EvaluationResults of the parents for the next generation
Returns:
true to stop the evolution cycle, false to continue


Copyright © 2011 Christian Kumpe. All Rights Reserved.