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

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.