Interface Coupler

All Known Implementing Classes:
CouplerDefault, CouplerRandom, CouplerUnique

public interface Coupler
The Coupler determines couples that are used to create the offspring for a given set of possible parents.
  • Method Details

    • getCouples

      Collection<Pair<Individual>> getCouples(int size, List<Individual> parents)
      Returns a list of Individual-groups (couples) that are designated to create offspring.
      Parameters:
      size - the number of couples to create
      parents - the parents
      Returns:
      the selected couples