gaCloneChromosome¶
Clones an existing chromosome.
Synopsis¶
gaCloneChromosome (chromosomeIn)
Required Arguments¶
- Imsls_d_chromosome
chromosomeIn
(Input) - An existing chromosome to be copied and returned as a new data structure.
Return Value¶
The function gaCloneChromosome
returns a copy of an Imsls_d_chromosome
data structure. The memory is allocated for the new data structure and the
contents of chromosomeIn
are copied into that structure. The memory
allocated for this data structure can be released using
free.
Optional Arguments¶
t_print
(Input)- By default, results are not printed. This option turns on printing of summary information for the cloned chromosome.
Description¶
Function gaCloneChromosome
returns an Imsls_d_chromosome data
structure containing the contents of chromosomeIn
.