powered by
The Bit Flip Mutation operator converts the bit at a randomly selected point to its allele.
This operator is used on binary encoded chromosomes.
bitmut(y, ...)
A vector. Chromosome of the offspring
Further arguments passed to or from other methods.
The number of the mutated gene.
mutate, randmut, randmut2, randmut3, randmut4, unimut, boundmut, nunimut, nunimut2, powmut, powmut2, gaussmut, gaussmut2, gaussmut3, bsearchmut1, bsearchmut2, swapmut, invmut, shufmut, insmut, dismut, invswapmut, insswapmut, invdismut
mutate
randmut
randmut2
randmut3
randmut4
unimut
boundmut
nunimut
nunimut2
powmut
powmut2
gaussmut
gaussmut2
gaussmut3
bsearchmut1
bsearchmut2
swapmut
invmut
shufmut
insmut
dismut
invswapmut
insswapmut
invdismut
# NOT RUN { offspring = c(1,1,0,1,0,1,0,1,0,0) bitmut(offspring) # }
Run the code above in your browser using DataLab