org.jscience.computing.ai.evolutionary.geneticprogramming
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

evaluate

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

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