anthill.genie
Interface Fitness

All Known Implementing Classes:
FindingFitness

public interface Fitness

Evaluate the fitness of a particular ant algorithm based on the statistics collected during its simulation. Different implementations will use different criteria for computing fitness values.

Version:
$Revision$
Author:
Alberto Montresor

Method Summary
 float compute(Stats stats)
          Evaluate the fitness of a particular ant algorithm based on the statistics collected during its simulation.
 

Method Detail

compute

public float compute(Stats stats)
Evaluate the fitness of a particular ant algorithm based on the statistics collected during its simulation. Different implementations will use different criteria for computing fitness values.