gaussmut3 {adana} | R Documentation |
Gauss Mutation 3
Description
GM is an operator made by adding randomly selected values from a normal distribution with mean and standard deviation of MU and SIGMA, respectively, to a randomly selected gene in the chromosome.
This operator is used for value encoded (integer or real number) chromosomes.
Usage
gaussmut3(y, mutmy, mutsdy, ...)
Arguments
y |
A vector. Chromosome of the offspring |
mutmy |
A vector. Vector of means of genes |
mutsdy |
A vector. Vector of standard deviations of genes |
... |
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
,
gaussmut2
,
bsearchmut1
,
bsearchmut2
,
swapmut
,
invmut
,
shufmut
,
insmut
,
dismut
,
invswapmut
,
insswapmut
,
invdismut
Examples
mutmy = c(5, 5, 2, 4, 3, 4)
mutsdy = c(1, 1.5, 1.01, 0.4, 1.5, 1.2)
offspring = c(8, 6, 4, 1, 3, 7)
set.seed(12)
gaussmut(offspring, mutmy=mutmy, mutsdy=mutsdy)