Learn R Programming

ecr (version 1.0)

generateOffspring: Creates offspring from a given mating pool of parents.

Description

Given and optimization state and a mating pool of individuals this function generates offspring individuals based on the parameters specified in the control object.

Usage

generateOffspring(opt.state, mating.pool, control)

Arguments

opt.state
[ecr_opt_state] Optimization state.
mating.pool
[ecr_population] Mating pool to select individuals from.
control
[ecr_control] Control object.

Value

[ecr_population] Generated offspring.