powered by
Chooses two positions at random and swaps the genes.
mutSwap(ind)
[integer]
integer
[integer] Permutation of integers, i.e., vector of integer values.
Other mutators: mutBitflip(), mutGauss(), mutInsertion(), mutInversion(), mutJump(), mutPolynomial(), mutScramble(), mutUniform()
mutBitflip()
mutGauss()
mutInsertion()
mutInversion()
mutJump()
mutPolynomial()
mutScramble()
mutUniform()