IMSL Statistics Reference Guide > Data Mining > GA_GROW_POPULATION Function (PV-WAVE Advantage)
  

GA_GROW_POPULATION Function (PV-WAVE Advantage)
Adds the individuals in the array individual to an existing population.
Usage
result = GA_GROW_POPULATION (individual, population)
Input Parameters
individual—An array of n individuals, where n is the number of individuals to add to the population.
population—A data structure containing the existing population.
Returned Value
result—The population updated with the new individuals.
Input Keywords
Print—If present and nonzero, this option turns on printing of the summary statistics for the new population. By default, summary statistics are not printed.
Fitness—An array of length n containing the fitness values for the individuals added to the population. Fitness(i) is the fitness for the ith individual. Fit_fcn—The fitness function calculated for individual. If this is supplied, fitness values are calculated for each individual and included within the expanded population data structure. Otherwise they are set to zero.
Double—If present and nonzero, then double precision is used.
Discussion
Function GA_GROW_POPULATION grows an existing population by adding new individuals. The chromosome data structure of the individuals and the population must be identical. Fitness values for the new population are set to zero unless the fitness function is supplied using the Fit_fcn keyword.
Fitness values for the new individuals can also be supplied using the Fitness keyword.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.