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.


mosmafs documentation built on Nov. 3, 2022, 1:05 a.m.