mutJump: Jump mutator.

mutJumpR Documentation

Jump mutator.

Description

The jump mutation operator selects two positions within the chromosome at random, say a and b with a < b. Next, all elements at positions b-1, b-2, ..., a are shifted to the right by one position and finally the element at position b is assigned at position a.

Usage

mutJump(ind)

Arguments

ind

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

Value

[integer]

See Also

Other mutators: mutBitflip(), mutGauss(), mutInsertion(), mutInversion(), mutPolynomial(), mutScramble(), mutSwap(), mutUniform()


ecr documentation built on March 31, 2023, 10:07 p.m.