CrossOverMutate: Create a childe from two parents allowing for mutation

Description Usage Arguments Details Examples

Description

CrossOverMutate() takes a generation and a list of index pairs (parent.index) representing two parents selected from generation to mate and produce 2 children.

Usage

1
CrossOverMutate(generation, parent.index, prob.mutate = 0.005)

Arguments

generation

A list of individual genomes or co-variate sets

parent.index

A list of paired indices representig mating pairs of parents

prob.mutate

A natural rate of gene mutation determined in Select.R or fixed by the user.

Details

CrossOverMutate() returns a two-item list of 'genomes' for each child.

Called from within Breed()

Examples

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

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