Documentation of 'com.lagodiuk.ga.Fitness' Java class
Fitness
com.lagodiuk.ga

Interface Fitness<C extends Chromosome<C>,T extends java.lang.Comparable<T>>



  • public interface Fitness<C extends Chromosome<C>,T extends java.lang.Comparable<T>>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      T calculate(C chromosome)
      Assume that chromosome1 is better than chromosome2
      fit1 = calculate(chromosome1)
      fit2 = calculate(chromosome2)
      So the following condition must be true
      fit1.compareTo(fit2) <= 0
    • Method Detail

      • calculate

        T calculate(C chromosome)
        Assume that chromosome1 is better than chromosome2
        fit1 = calculate(chromosome1)
        fit2 = calculate(chromosome2)
        So the following condition must be true
        fit1.compareTo(fit2) <= 0

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.