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