antsim.genie
Interface Fitness
- 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: 1.2 $
- Author:
- Alberto Montresor
Field Summary |
static String |
NAME
Identifier used in the configuration files |
Method Summary |
float |
compute(Stats stats)
Evaluate the fitness of a particular ant algorithm based on
the statistics collected during its simulation. |
NAME
public static final String NAME
- Identifier used in the configuration files
- See Also:
- Constant Field Values
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.