Chapter 13: Data Mining

ga_clone_chromosome

Clones an existing chromosome.

Synopsis

#include <imsls.h>

Imsls_f_chromosome  *imsls_f_ga_clone_chromosome
(Imsls_f_chromosome *chromosomeIn,, 0)

The type double function is imsls_d_ga_clone_chromosome.

Required Arguments

Imsls_f_chromosome *chromosomeIn   (Input)
An existing chromosome to be copied and returned as a new Imsls_f_chromosome data structure. 

Return Value

The function imsls_f_ga_clone_chromosome returns a copy of an Imsls_f_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 imsls_free.

Synopsis with Optional Arguments

#include <imsls.h>

Imsls_f_chromosome *imsls_f_ga_clone_chromosome (
Imsls_f_chromosome
*chromosomeIn,
IMSLS_PRINT,
0)

Optional Arguments

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

Description

Function ga_clone_chromosome returns an Imsls_f_chromosome data structure containing the contents of chromosomeIn.


Visual Numerics, Inc.
Visual Numerics - Developers of IMSL and PV-WAVE
http://www.vni.com/
PHONE: 713.784.3131
FAX:713.781.9260