wodka.ga
Interface FitnessFunction

All Superinterfaces:
wwan.commons.param.Informative, java.io.Serializable, StreamPersistable
All Known Implementing Classes:
NullFitnessFunction

public interface FitnessFunction
extends wwan.commons.param.Informative, StreamPersistable

Interface that allows to favour other qualities of a model but the racer fitness.


Method Summary
 int calculate(Model model, int racerFitness)
           
 
Methods inherited from interface wwan.commons.param.Informative
getInfo, getLabel
 
Methods inherited from interface wodka.util.StreamPersistable
fromStream, getVersion, toStream
 

Method Detail

calculate

public int calculate(Model model,
                     int racerFitness)