Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
Chrom = initpp(Nind, VarLength)
Create an INITial Permutation Population This function creates a permutation population of given size and structure. The individuals consist of a random permutation of the numbers between 1 and the length of the individuals. That means, every of these numbers exists exactly _onces_ per individual and _every_ of these numbers exist in an individual. Syntax: [Chrom] = initpp(Nind, VarLength) Input Parameters: Nind - Scalar containing the number of individuals (of rows) to create. VarLength - Scalar containing the length of the individuals. Feature: instead of the variable length the boundary matrix VLUB may be used. The number of columns of this matrix will be used as VarLength Output Parameters: Chrom - A matrix containing the random valued individuals one row per individual. See also: initrp, initip, initbp, initpop
This function is called by | |
---|---|