Rdocumentation
powered by
Learn R Programming
ecr (version 1.0.1)
getNextGeneration: Performs survival selection.
Description
Given the current optimization state and the list of offspring individuals, the function selects the next generation. The selection type is based on the parameters given in the control object.
Usage
getNextGeneration(opt.state, offspring, control)
Arguments
opt.state
[
ecr_opt_state
] Optimization state.
offspring
[
ecr_population
] Generated offspring.
control
[
ecr_control
] Control object.
Value
[
ecr_population
]