Takes a population of mu individuals and another set of lambda offspring individuals and selects mu individuals out of the union set according to the survival selection strategy stored in the control object.
replaceMuPlusLambda(control, population, offspring, fitness = NULL, fitness.offspring = NULL) replaceMuCommaLambda(control, population, offspring, fitness = NULL, fitness.offspring = NULL, n.elite = base::max(ceiling(length(population * 0.1)), 1L))
control | [ |
---|---|
population | [ |
offspring | [ |
fitness | [ |
fitness.offspring | [ |
n.elite | [ |
[list
] List with selected population and corresponding fitness matrix.