recPCrossover: General Uniform Crossover

recPCrossoverR Documentation

General Uniform Crossover

Description

Crossover recombination operator that crosses over each position iid with prob. p and can also be used for non-binary operators.

Usage

recPCrossover(inds, p = 0.1, ...)

Arguments

inds

⁠[list of any]⁠ list of two individuals to perform uniform crossover on

p

⁠[numeric(1)]⁠ per-entry probability to perform crossover.

...

further arguments passed on to the method.

Value

⁠[list of any]⁠ The mutated individuals.


ideas-lab-nus/epluspar documentation built on March 23, 2024, 11:51 p.m.