recPCrossover: 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, ...)
Value
[list of any]
The mutated individuals.
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.