doNormalMutation: Normal mutation

Description Usage Arguments Value References See Also

View source: R/mutator.normal.R

Description

Each point is subject to additive Gaussian noise with probability pm.

Usage

1
doNormalMutation(coords, pm = 0.1, sigma = 0.0025, ...)

Arguments

coords

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

pm

[numeric(1)]
Probability of node mutation. Note that each node is subject to mutation independent of the the nodes. Default is 0.1, i.e., in expectation 10% of the points are mutated.

sigma

[numeric(1)]
Standard deviation for normal random numbers generator. Default is 0.0025.

...

[any]
Currently not used.

Value

[matrix] Mutated coordinates.

References

Mersmann, O., Bischl, B., Bossek, J., Trautmann, H., Wagner, M., & Neumann, F. (2012). Local search and the traveling salesman problem: A feature-based characterization of problem hardness. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 7219 LNCS, 115-129.

See Also

build

Other mutation operators: doAxisProjectionMutation, doClusterMutation, doCompressionMutation, doExpansionMutation, doExplosionMutation, doGridMutation, doImplosionMutation, doLinearProjectionMutation, doRotationMutation, doUniformMutation


jakobbossek/tspgen documentation built on July 3, 2021, 12:01 p.m.