powered by
Inversion Mutation selects a subset of genes and inverses the genes in the subset (Hollad, 1975; Fogel, 1990).
This operator is used in problems with permutation or binary encoding.
invmut(y, ...)
A vector. Chromosome of the offspring
Further arguments passed to or from other methods.
A vector. The numbers of begining and ending of the mutated genes.
Holland, J. (1975). Adaptation in Naturel and Articial Systems, Ann Arbor: University of Michigan Press.
Fogel D.B. (1995). Evolutionary computation. Toward a new philosophy of machine intellegence. Piscataway, NJ: IEEE Press.
mutate, bitmut, randmut, randmut2, randmut3, randmut4, unimut, boundmut, nunimut, nunimut2, powmut, powmut2, gaussmut, gaussmut2, gaussmut3, bsearchmut1, bsearchmut2, swapmut, shufmut, insmut, dismut, invswapmut, insswapmut, invdismut
mutate
bitmut
randmut
randmut2
randmut3
randmut4
unimut
boundmut
nunimut
nunimut2
powmut
powmut2
gaussmut
gaussmut2
gaussmut3
bsearchmut1
bsearchmut2
swapmut
shufmut
insmut
dismut
invswapmut
insswapmut
invdismut
# NOT RUN { offspring = c(1, 2, 3, 4, 5, 6, 7, 8, 9) invmut(offspring) # }
Run the code above in your browser using DataLab