The Insertion mutation operator selects a position random and inserts it at a random position.

mutInsertion(ind)

Arguments

ind

[integer] Permutation of integers, i.e., vector of integer values.

Value

[integer]

See also

Other mutators: mutBitflip, mutGauss, mutPolynomial, mutScramble, mutSwap, mutUniform