mutJump {ecr}R Documentation

Jump mutator.

Description

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

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()


[Package ecr version 2.1.1 Index]