This operator is very similar to the expansion mutation (see doExpansionMutation). Hence we refer the reader to the corresponding documentation for details. The main difference is that instead of moving points away from their orthogonal projection (expansion) points are attracted by their orthogonal projections on the linear function.

doCompressionMutation(coords, min.eps = 0.1, max.eps = 0.3, ...)

Arguments

coords

[matrix]
An n times 2 matrix of point coordinates in \([0, 1]^2\).

min.eps

[numeric(1)]
Minimum value for sampled tube width. Default is 0.1

max.eps

[numeric(1)]
Maximum value for the sampled tube with. Default is 0.3.

...

[any]
Currently not used.

Value

[matrix] Mutated coordinates.

See also