powered by
Produces two child individuals. The i-th gene is from parent1 with probability p and from parent2 with probability 1-p.
p
1-p
recUnifCrossover(inds, p = 0.5)
[list]
list
[list] Parents, i.e., list of exactly two numeric or binary vectors of equal length.
[numeric(1)] Probability to select gene from parent1.
numeric(1)
Other recombinators: recCrossover(), recIntermediate(), recOX(), recPMX(), recSBX()
recCrossover()
recIntermediate()
recOX()
recPMX()
recSBX()