For each bit individually, decide with probability p
to "reset" it to an
equilibrium distribution which is specified by reset.dist
: a bit being
reset is set to 1 with probability reset.dist
and set to 0 with probability
(1 - reset.dist
).
mutUniformReset(ind, p = 0.1, reset.dist)
[integer]
the mutated individual.
[integer]
binary individual with values 0 or 1.
[numeric(1)]
entry-wise reset probability.
[numeric]
probability to draw 1-bit per entry, if reset is performed.
reset.dist
can be length 1 or same length as ind
(which uses a different distribution for each bit).