Copies the contents of one individual into another individual.
#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.
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.
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.
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |