gaCloneIndividual

Clones an existing individual.

Synopsis

gaCloneIndividual (individualIn)

Required Arguments

Imsls_d_individual individualIn (Input)
An existing individual to be copied.

Return Value

Returns an Imsls_d_individual data structure containing a copy of individualIn. This data structure can be released using the gaFreeIndividual function.

Optional Arguments

t_print, (Input)
By default, results are not printed. This option turns on printing of summary information for the cloned individual.

Description

Function gaCloneIndividual returns an Imsls_d_individual data structure containing the contents of individualIn. Memory is allocated for the returned data structure. It can be released using the gaFreeIndividual function.