Package org.jppf.ga

Interface Selector

All Known Implementing Classes:
TournamentSelector

public interface Selector
Selector interface.
Author:
Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    select(Chromosome[] population, int nbSelect)
    Select the specified number of chromosomes among the specified population.
  • Method Details

    • select

      Chromosome[] select(Chromosome[] population, int nbSelect)
      Select the specified number of chromosomes among the specified population.
      Parameters:
      population - the population from which to select.
      nbSelect - the number of chromosomes to select.
      Returns:
      an array of the selected chromosomes.