Performs mutUniformReset
with reset.dist = reset.dists %*% reset.dist.weights
.
mutUniformMetaReset(ind, p = 0.1, reset.dists, reset.dist.weights)
Arguments
ind |
[integer] binary individual with values 0 or 1.
|
p |
[numeric(1)] entry-wise reset probability.
|
reset.dists |
[matrix] columns of probabilities to draw 1-bit per entry, if reset is performed.
Must have length(ind) rows and length(reset.dist.weights) columns.
|
reset.dist.weights |
[numeric] weight vector to select among reset.dists columns.
|
Value
[integer]
the mutated individual