ReplaceClones: Remove genetic clones from a given generation

Description Usage Arguments Details Examples

Description

ReplaceClones() removes any clones (genetically identical individuals) from a given generation and replaces them with individuals randomly created from the entire genome clones are predicted to exist when fitness of two individuals are exactly the same this is highly unlikely unless they share the same exact genome. Once idenfitied clones are replaced with new individuals whoses genomes are randomly generated from a binomial distribution with p = 0.5. This is done to re-inject diversity back into the existing gene pool.

Usage

1
ReplaceClones(generation, fitness.vec)

Arguments

generation

A list of individual genomes or co-variate sets

fitness.vec

A vector of the fitness values for the input generation

C

The number of genes (potential co-variantes) in an individual

Details

ReplaceClones() produces a revised generation where all clones have been replaced by random individuals as described above.

Called from within Select()

Examples

1
\code{\link[GA]{Select}}

stat243proj/GA documentation built on May 15, 2019, 5:03 a.m.