Inversion mutator.
The Inversion mutation operator selects two positions within the chromosome at random and inverts the elements inbetween.
mutInversion(ind)
ind
: [integer
]
Permutation of integers, i.e., vector of integer values.
[integer
]
Other mutators: mutBitflip()
, mutGauss()
, mutInsertion()
, mutJump()
, mutPolynomial()
, mutScramble()
, mutSwap()
, mutUniform()