gaussmut2 {adana} | R Documentation |
Gauss Mutation 2
Description
Gauss Mutation-2 is an operator by adding a randomly selected value from the standard normal distribution to a randomly selected gene in the chromosome.
This operator is used for value encoded (integer or real number) chromosomes.
Usage
gaussmut2(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 |
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
,
powmut
,
powmut2
,
gaussmut
,
gaussmut3
,
bsearchmut1
,
bsearchmut2
,
swapmut
,
invmut
,
shufmut
,
insmut
,
dismut
,
invswapmut
,
insswapmut
,
invdismut
Examples
offspring = c(8, 6, 4, 1, 3, 7)
set.seed(12)
gaussmut2(offspring)
[Package adana version 1.1.0 Index]