| nunimut2 | R Documentation | 
This operator is an adaptive mutation operator that increases the probability of the mutation severity approaching 0 as the number of generations increases.
This operator is used for value encoded (integer or real number) chromosomes.
nunimut2(y, lb, ub, g, gmax, mutb, ...)
| y | A vector. Chromosome of the offspring | 
| lb | A vector. Lower bounds of genes | 
| ub | A vector. Upper bounds of genes | 
| g | Current generation number. | 
| gmax | Maximum generation number. | 
| mutb | An exponent parameter that sets non-uniformity | 
| ... | Further arguments passed to or from other methods. | 
| mutant | A vector. Chromosome of the offspring | 
| mutgen | The number of the mutated gene. | 
Zeynel Cebeci & Erkut Tekeli
mutate,
bitmut,
randmut,
randmut2,
randmut3,
randmut4,
unimut,
boundmut,
nunimut,  
powmut,
powmut2,   
gaussmut,   
gaussmut2,   
gaussmut3,   
bsearchmut1,   
bsearchmut2,        
swapmut,   
invmut,   
shufmut,   
insmut,   
dismut,  
invswapmut,
insswapmut,
invdismut
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) nunimut2(offspring, lb=lb, ub=ub, g=1, gmax=100, mutb=0.5) set.seed(12) nunimut2(offspring, lb=lb, ub=ub, g=50, gmax=100, mutb=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.