Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
NewChrom = mutbin(Chrom, VLUB, MutRate)
MUTation for BINary representation This function takes the binary representation of the current population, mutates each element with given probability and returns the resulting population. Syntax: NewChrom = mutbin(Chrom, VLUB, MutRate) Input parameters: Chrom - A matrix containing the chromosomes of the current population. Each row corresponds to an individuals string representation. VLUB - Matrix containing the boundaries of each variable. not used here, necessary for compatibility with real valued mutation MutRate - Scalar containing the mutation rate / probability. if omitted or NaN MutRate = 0.7/size(Chrom,2) is assumed. Output parameter: NewChrom - Matrix containing a mutated version of Chrom. See also: mutate, mutint, mutreal, mutbmc, initbp
This function is called by | |
---|---|