crossover: crossover()

View source: R/Crossover.R

crossoverR Documentation

crossover()

Description

This function receives input from the output of selection function, and do crossovers on the pairs of parents

Usage

crossover(genes, parents)

Arguments

genes

n by P matrix; P columns of genes with length n (composed of 1s and 0s)

parents

2 by P marix; P columns of indexes

Author(s)

Fernando Machado, Jiayang Nie


jnieser/GeneticAlgorithmRPackage documentation built on March 19, 2022, 5:35 a.m.