View source: R/boundedPolyMutation.R
boundedPolyMutation | R Documentation |
The bounded polynomial mutation operator is a real-parameter genetic operator. Like in the simulated binary crossover operator, the probability distribution is also a polynomial function instead of a normal distribution.
boundedPolyMutation(parent_chromosome, lowerBounds, upperBounds, mprob, mum)
parent_chromosome |
Mating pool with decision variables |
lowerBounds |
Lower bounds of each decision variable |
upperBounds |
Upper bounds of each decision variable |
mprob |
Mutation probability |
mum |
Mutation distribution index, it can be any nonnegative real number |
Return the offspring population with decision variables
Ching-Shih (Vince) Tsou cstsou@mail.ntcb.edu.tw
Deb, K., Pratap, A., Agarwal, S., and Meyarivan, T. (2002), " A fast and elitist multiobjective genetic algorithm: NSGA-II", IEEE Transactions on Evolutionary Computation, 6(2), 182-197.
set.seed(1234) lowerBounds <- rep(0,30) upperBounds <- rep(1,30) mprob <- 0.2 MutDistIdx <- 20 matingPool <- matrix(runif(1200, 0, 1), nrow=40, ncol=30) childAfterM <- boundedPolyMutation(matingPool,lowerBounds,upperBounds,mprob,MutDistIdx) childAfterM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.