org.dishevelled.swarm
Interface ExitStrategy

All Known Implementing Classes:
EpochLimitExitStrategy, FitnessFloorExitStrategy, FitnessThresholdExitStrategy

public interface ExitStrategy

An exit strategy function for a particle swarm optimization algorithm.

Version:
$Revision$ $Date$
Author:
Michael Heuer

Method Summary
 boolean evaluate(ParticleSwarm swarm, int epoch)
          Return true if the specified particle swarm has met the criteria of this exit strategy function.
 

Method Detail

evaluate

boolean evaluate(ParticleSwarm swarm,
                 int epoch)
Return true if the specified particle swarm has met the criteria of this exit strategy function. The particle swarm will not be null.

Parameters:
swarm - particle swarm
epoch - epoch
Returns:
true if the specified particle swarm has met the criteria of this exit strategy function


Copyright © 2006-2012 dishevelled.org. All Rights Reserved.