dismut {adana}R Documentation

Displacement mutation

Description

The Displacement mutation cuts the genes between two randomly determined cut-points from the chromosome as a subset and then inserts them, starting from a randomly selected location (Michalewicz, 1992).

This operator is used in problems with permutation encoding.

Usage

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

mutrange

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

r

The number of insertation location.

Author(s)

Zeynel Cebeci & Erkut Tekeli

References

Michalewicz, Z. (1992). Genetic Algorithms + Data Structures = Evolution Programs. Berlin-Heidelberg: Springer Verlag.

See Also

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

Examples

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

[Package adana version 1.1.0 Index]