Interface ESamplingSurvivorGeneration

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<org.opt4j.core.Individual> getSurvivors​(java.util.Collection<org.opt4j.core.Individual> population, int survivorNumber)
      Generates the survivors out of the input collection of Individuals.
    • Method Detail

      • getSurvivors

        java.util.Set<org.opt4j.core.Individual> getSurvivors​(java.util.Collection<org.opt4j.core.Individual> population,
                                                              int survivorNumber)
        Generates the survivors out of the input collection of Individuals.
        Parameters:
        population - the current population (union of the parent- and the offspring-sets from the current iteration)
        survivorNumber - the number of survivors to create
        Returns:
        the survivors (used as the pool for the parent candidates for the next generation)