CNL Stat : Data Mining : ga_copy_individual
ga_copy_individual
Copies the contents of one individual into another individual.
Synopsis
#include <imsls.h>
void imsls_f_ga_copy_individual(Imsls_f_individual  *individualIn, Imsls_f_individual *individualOut)
The type double function is imsls_d_ga_copy_individual.
Required Arguments
Imsls_f_individual *individualIn (Input)
An existing individual to be copied into individualOut.
Imsls_f_individual *individualOut (Input/Output)
The contents of individualOut are replaced with individualIn. individualOut must have been previously created with a structure which is identical to individualIn.
Description
Function imsls_f_ga_copy_individual copies the contents of individualIn into individualOut. Both individuals must have been created previously with identical structures. Although they can have different encoding boundaries, they must have the same number of binary, nominal, integer and real phenotypes.