Interface Coupler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Collection<org.opt4j.operators.crossover.Pair<org.opt4j.core.Individual>> getCouples​(int size, java.util.List<org.opt4j.core.Individual> parents)
      Returns a list of Individual-groups (couples) that are designated to create offspring.
    • Method Detail

      • getCouples

        java.util.Collection<org.opt4j.operators.crossover.Pair<org.opt4j.core.Individual>> getCouples​(int size,
                                                                                                       java.util.List<org.opt4j.core.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