gaCopyPopulation

Copies the contents of one population into another population.

Synopsis

gaCopyPopulation (populationIn, populationOut)

Required Arguments

Imsls_d_population populationIn (Input)
An existing population to be copied into populationOut.
Imsls_d_population populationOut (Input/Output)
The contents of populationOut are replaced with populationIn.

Description

Function gaCopyPopulation copies the contents of populationIn into populationOut. Both populations must have been previously created with identical structures. Although they can have different encoding boundaries, they must have the same number of binary, nominal, integer and real phenotypes and the same number of individuals.