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)
ind |
|
---|---|
p |
|
reset.dist |
|
[integer]
the mutated individual.