insswapmut {adana}R Documentation

Insertion + Inversion Mutation

Description

It is a mutation operator that combines insertion and inversion mutation.

This operator is used in problems with permutation encoding.

Usage

insswapmut(y, ...)

Arguments

y

A vector. Chromosome of the offspring

...

Further arguments passed to or from other methods.

Value

mutant

A vector. Chromosome of the offspring

mutgen

A vector. The numbers of begining and ending of the mutated genes.

Author(s)

Zeynel Cebeci & Erkut Tekeli

See Also

mutate, bitmut, randmut, randmut2, randmut3, randmut4, unimut, boundmut, nunimut, nunimut2, powmut, powmut2, gaussmut, gaussmut2, gaussmut3, bsearchmut1, bsearchmut2, swapmut, invmut, shufmut, insmut, dismut, invswapmut, invdismut

Examples

offspring = c(1, 2, 3, 4, 5, 6, 7, 8, 9)
insswapmut(offspring)

[Package adana version 1.1.0 Index]