Package behaviour

Interface SelectionBehaviour

All Known Implementing Classes:
TournamentSelection

public interface SelectionBehaviour
Interface for different types of selection classes
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Number>
    List<List<T>>
    select(List<? extends List<T>> population, List<T> fitnessOfPopulation)
     
  • Method Details

    • select

      <T extends Number> List<List<T>> select(List<? extends List<T>> population, List<T> fitnessOfPopulation)
      Type Parameters:
      T - extends Number
      Parameters:
      population - the current population
      fitnessOfPopulation - the fitness scores of current population
      Returns:
      new parents