IMSL C Stat Library
ga_copy_population
Copies the contents of one population into another population.
Synopsis
#include <imsls.h>
void imsls_f_ga_copy_population(Imsls_f_population *populationIn, Imsls_f_population *populationOut)
The type double function is imsls_d_ga_copy_population.
Required Arguments
Imsls_f_population *populationIn (Input)
An existing population to be copied into populationOut.
Imsls_f_population *populationOut (Input/Output)
The contents of populationOut are replaced with populationIn.
Description
Function imsls_f_ga_copy_population 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.