mutInversion: Inversion mutator.

mutInversionR Documentation

Inversion mutator.

Description

The Inversion mutation operator selects two positions within the chromosome at random and inverts the elements inbetween.

Usage

mutInversion(ind)

Arguments

ind

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

Value

[integer]

See Also

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


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