crossover: Crossover function

Description Usage Arguments Value

View source: R/crossover.R

Description

This function causes uniform crossing over among loci in a population of agents.

Usage

1
crossover(agents, prob = 0.1)

Arguments

agents

A list of agents on which crossing over will be performed

prob

The probability that crossing over happens at a locus

Value

agents The list of agents after crossing over


bradduthie/gamesGA documentation built on Oct. 18, 2018, 2:13 a.m.