replace {ecr} | R Documentation |
(mu + lambda) selection
Description
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.
Usage
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)
)
Arguments
control |
[ |
population |
[ |
offspring |
[ |
fitness |
[ |
fitness.offspring |
[ |
n.elite |
[ |
Value
[list
] List with selected population and corresponding fitness matrix.