buildInitialPopulation: Helper function to build initial population.

Description Usage Arguments Value

Description

Generates the initial population of an EA based on a list of initial individuals and/or the control object and the corresponding population generator.

Usage

1
buildInitialPopulation(n.population, task, control, initial.population = NULL)

Arguments

n.population

[integer(1)]
Size of the population.

task

[ecr_optimization_task]
Optimization task.

control

[ecr_control]
Control object.

initial.population

[list | NULL]
Eventually a list of initial individuals.

Value

[ecr_population]


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