powmut {adana} | R Documentation |
Power Mutation
Description
Power Mutation is an operator that generates a mutation in a random gene at a certain power of a random number.
This operator is used for value encoded (integer or real number) chromosomes.
Usage
powmut(y, lb, ub, mutpow, ...)
Arguments
y |
A vector. Chromosome of the offspring |
lb |
A vector. Lower bounds of genes |
ub |
A vector. Upper bounds of genes |
mutpow |
An exponent parameter |
... |
Further arguments passed to or from other methods. |
Value
mutant |
A vector. Chromosome of the offspring |
mutgen |
The number of the mutated gene. |
Author(s)
Zeynel Cebeci & Erkut Tekeli
See Also
mutate
,
bitmut
,
randmut
,
randmut2
,
randmut3
,
randmut4
,
unimut
,
boundmut
,
nunimut
,
nunimut2
,
powmut2
,
gaussmut
,
gaussmut2
,
gaussmut3
,
bsearchmut1
,
bsearchmut2
,
swapmut
,
invmut
,
shufmut
,
insmut
,
dismut
,
invswapmut
,
insswapmut
,
invdismut
Examples
lb = c(2, 1, 3, 1, 0, 4)
ub = c(10, 15, 8, 5, 6, 9)
offspring = c(8, 6, 4, 1, 3, 7)
set.seed(12)
powmut(offspring, lb=lb, ub=ub, mutpow=3)
[Package adana version 1.1.0 Index]