Class Selection.Tournament

java.lang.Object
com.github.raimannma.methods.Selection
com.github.raimannma.methods.Selection.Tournament
Enclosing class:
Selection

public static final class Selection.Tournament
extends Selection
Tournament-Selection.
See Also:
Wikipedia article
  • Constructor Details

    • Tournament

      public Tournament​(int size)
      Creates a new Tournament-Selection instance.
      Parameters:
      size - the size
  • Method Details

    • select

      public Network select​(@NotNull @NotNull List<Network> population)
      Description copied from class: Selection
      Select a genome from the population by applying a selection method.
      Specified by:
      select in class Selection
      Parameters:
      population - the population
      Returns:
      the network