Interface FitnessFunction

public interface FitnessFunction

Represents the fitness function used in the genetic program to evaluate individuals

Method Summary
 void evaluate(Individual individual, int individualNo)
          Computes fitness value of a given individual

Method Detail


void evaluate(Individual individual,
              int individualNo)
Computes fitness value of a given individual

individual - individual to compute fitness value
individualNo - index of the individual in the current population