selectForSurvival: Generate mating pool.

Description Usage Arguments Value Note

Description

Given the current optimization state this function selects a subset of individuals which should survive and form the next generation.

Usage

1
2
selectForSurvival(opt.state, population, control,
  n.select = control$n.population)

Arguments

opt.state

[ecr_opt_state]
Optimization state.

population

[list]
Current population.

control

[ecr_control]
ECR control object generated via setupECRControl.

n.select

[integer(1L)]
Number of offspring to select for survival.

Value

[ecr_population]

Note

Basically this is a wrapper for the call to the parent selector of the control object which occasionally transforms the fitness values (e.g., if maximzation should be performed, but the selection operator actualy minimizes).


jakobbossek/ecr documentation built on May 18, 2019, 9:09 a.m.