art.ga
Interface Fitness
- public interface Fitness
Interface that have to be implemented by the user in
order to define the fitness function in a optimization's static problem.
If by the GaManager class is invoked the GaManager.computeBestSolution(Fitness)
this interface MUST be implemented.
If the GA is used in a AB simulation using GaManager.getNextSolution() this interface is not necessary.
- Author:
- Marco Lamieri and Gianluigi Ferraris
- See Also:
GaManager
evaluateFitness
public double evaluateFitness(GaSolution solution)