crossover: support function: crossover()

Description Usage Arguments Examples

View source: R/crossover.R

Description

This function takes for input 2 genes and creates 2 new genes from them.

Usage

1
crossover(ch1, ch2, nCuts = 1)

Arguments

ch1

string; the first parent

ch2

string; the second parent

nCuts

integer; How many cuts do you want for the crossover? Defaults to 1

Examples

1

arm4nn/GA documentation built on May 28, 2019, 7:11 a.m.