mutate_child: Child Chromosome Mutagenesis.

Description Usage Arguments

Description

Child chromosomes produced using crossover_parents passed to this function will be modified using concept of genetic mutation, whereby a polymorphisms are produced according to a probably of mutatgenesis. Here, the default mutation rate is proportional to the size of the popluation, P, and number of chromosomes, C, \frac{1}{P * C^{0.5}}. User's can specify the mutation rate in select.

Usage

1
mutate_child(mutation_rate, child, P, C)

Arguments

mutation_rate

an optional numeric value between 0 and 1 indicating mutation rate.

child

a vector containing the chromosome of child produced by crossover.

P

an integer indicating the number of parent chromosomes.

C

an integer indicating the number of predictor variables or genes.


adams-cam/GA documentation built on May 10, 2019, 9:28 a.m.