Clones an existing individual.
#include <imsls.h>
Imsls_f_individual
*imsls_f_ga_clone_individual
(Imsls_f_individual *individualIn, …, 0)
The type double function is imsls_d_ga_clone_individual.
Imsls_f_individual
*individualIn (Input)
An existing individual to be
copied.
Returns a pointer to an Imsls_f_individual data structure containing a copy of individualIn. This data structure can be released using the imsls_f_ga_free_individual function.
#include <imsls.h>
Imsls_f_individual
*imsls_f_ga_clone_individual (Imsls_f_individual *individualIn,
IMSLS_PRINT,
0)
IMSLS_PRINT
(Input)
By default, results are not printed. This option turns on
printing of summary information for the cloned individual.
Function imsls_f_ga_clone_individual returns an Imsls_f_individual data structure containing the contents of individualIn. Memory is allocated for the returned data structure. It can be released using the imsls_f_ga_free_individual function.