A subset \(Q \subseteq P\) (each point selected with independent
probability pm
) is selected. Next, an axis \(a \in \{1, 2\}\) and a constant
\(c \in [0, 1]\) are sampled. Finally, the mutator sets \(p_a = c\) for all \(p \in Q\),
i.e., a projection on the constant vertical or horizontal line is performed.
Optionally, with probability p.jitter
all projected points are subject to
Gaussian noise with standard deviation jitter.sd
with respect to the \(a\)-th
coordinate: \(p_a = p_a + N(0, jitter.sd)\).
doAxisProjectionMutation(coords, pm = 0.1, p.jitter = 0, jitter.sd = 0.1, ...)
coords | [ |
---|---|
pm | [ |
p.jitter | [ |
jitter.sd | [ |
... | [any] |
[matrix
] Mutated coordinates.