CNL Stat : Data Mining : ga_clone_population
ga_clone_population
Clones an existing population.
Synopsis
#include <imsls.h>
Imsls_f_population  *imsls_f_ga_clone_population (Imsls_f_population *populationIn, …, 0)
The type double function is imsls_d_ga_clone_population.
Required Arguments
Imsls_f_population *populationIn (Input)
A pointer to an existing population that gets cloned and returned as a pointer to a copy of populationIn.
Return Value
Function imsls_f_ga_clone_population creates a copy of an Imsls_f_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 imsls_f_ga_free_population function.
Synopsis with Optional Arguments
#include <imsls.h>
Imsls_f_population *imsls_f_ga_clone_population (Imsls_f_population *populationIn,
IMSLS_PRINT,
0)
Optional Arguments
IMSLS_PRINT, (Input)
By default, summary information is not printed. This option turns on printing of summary information for the cloned population.
Description
Function imsls_f_ga_clone_population returns a pointer to an Imsls_f_population data structure containing the contents of populationIn.