Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
NewChrom = mutrand(Chrom, VLUB, MutRate, VarFormat)
MUTation RANDom This function takes the current population and produces the same number of randomly initialized individuals. The resulting (random) individuals are returned. Syntax: NewChrom = mutrand(Chrom, VLUB, MutRate, VarFormat) Input parameters: Chrom - A matrix containing the chromosomes of the current population. Each row corresponds to an individuals. Only the number and size of individuals is used. VLUB - Matrix containing the boundaries of each variable. Used here for thge initialization boundaries. MutRate - Scalar containing the mutation rate / probability. if omitted or NaN MutRate = 0.7/size(Chrom,2) is assumed. Not used here! VarFormat - Format of variables (real, integer, binary, permutation) (See description of GEATbx parameter Variable Format) Output parameter: NewChrom - Matrix containing the new (random) individuals. See also: mutate, mutreal, mutint, mutreal, initrp, initip, initbp, initpp
This function calls | This function is called by |
---|---|