Learn R Programming

ecr (version 2.1.1)

mutJump: 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)

Value

[integer]

Arguments

ind

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

See Also

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