net.sf.myra.framework
Interface StopCondition

All Known Implementing Classes:
CompoundStopCondition

public interface StopCondition

This interface represents a stop condition for the search of solutions.

Version:
$Revision$ $Date:: $
Author:
Fernando Esteban Barril Otero

Method Summary
 boolean isReached(Environment environment)
          Checks if the colony within the specified environment has reached this stop criteria.
 

Method Detail

isReached

boolean isReached(Environment environment)
Checks if the colony within the specified environment has reached this stop criteria.

Parameters:
environment - the colony's environment
Returns:
true if the colony within the envorinment has reached this stop criteria; false otherwise.


Copyright © 2013. All Rights Reserved.