org.apache.commons.math3.genetics

## Interface SelectionPolicy

- All Known Implementing Classes:
    TournamentSelection

      public interface SelectionPolicy

  Algorithm used to select a chromosome pair from a population.
  Since:
    2.0
  Version:
    $Id: SelectionPolicy.java 1244107 2012-02-14 16:17:55Z erans $

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ChromosomePair` | `select(Population population)` Select two chromosomes from the population.

- - ### Method Detail

    - #### select

          ChromosomePair select(Population population)

      Select two chromosomes from the population.
      Parameters:
        `population` - the population from which the chromosomes are choosen.
      Returns:
        the selected chromosomes.

Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.