gaCopyIndividual¶
Copies the contents of one individual into another individual.
Synopsis¶
gaCopyIndividual( individualIn, individualOut)
Required Arguments¶
- Imsls_d_individual
individualIn(Input) - An existing individual to be copied into
individualOut. - Imsls_d_individual
individualOut(Input/Output) - The contents of
individualOutare replaced withindividualIn.individualOutmust have been previously created with a structure which is identical toindividualIn.
Description¶
Function gaCopyIndividual 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.