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


gamesGA documentation built on March 26, 2020, 6:57 p.m.

Related to crossover in gamesGA...