randmut3 {adana} | R Documentation |
Random mutation 3
Description
For each gene, if a random number is less than the mutation rate, the gene's mean value is zero and its standard deviation is |ub-lb| The random value selected from the normal distribution is changed by adding it (Yoon & Kim, 2012).
This operator is used for value encoded (integer or real number) chromosomes.
Usage
randmut3(y, lb, ub, mutpm, ...)
Arguments
y |
A vector. Chromosome of the offspring |
lb |
A vector. Lower bounds of genes |
ub |
A vector. Upper bounds of genes |
mutpm |
Mutation rate |
... |
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
References
Yoon, Y. and Kim, Y.H. (2012). The roles of crossover and mutation in real-coded genetic algorithms. In Bioinspired Computational Algorithms and Their Applications (ed. S. Gao). London: INTECH Open Access Publisher. pp. 65-82.
See Also
mutate
,
bitmut
,
randmut
,
randmut2
,
randmut4
,
unimut
,
boundmut
,
nunimut
,
nunimut2
,
powmut
,
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)
randmut3(offspring, lb=lb, ub=ub, mutpm=0.1)