public interface ESamplingSurvivorGeneration
ESamplingSurvivorGeneration
generates the survivor pool during
the selection implemented by EpsilonSamplingSelector
.Modifier and Type | Method and 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
Individual s. |
java.util.Set<org.opt4j.core.Individual> getSurvivors(java.util.Collection<org.opt4j.core.Individual> population, int survivorNumber)
Individual
s.population
- the current population (union of the parent- and the
offspring-sets from the current iteration)survivorNumber
- the number of survivors to create