Package org.opt4j.optimizers.ea.aeseh
Interface ESamplingSurvivorGeneration
-
- All Known Implementing Classes:
ESamplingSurvivorGenerationBasic
public interface ESamplingSurvivorGeneration
TheESamplingSurvivorGeneration
generates the survivor pool during the selection implemented byEpsilonSamplingSelector
.
-
-
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 ofIndividual
s.
-
-
-
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 ofIndividual
s.- 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)
-
-