Documentation of initpp

Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)

Function Synopsis

Chrom = initpp(Nind, VarLength)

Help text

 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

Cross-Reference Information

This function is called by
GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions 

This document is part of version 3.8 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab -
The Genetic and Evolutionary Algorithm Toolbox is not public domain.
© 1994-2006 Hartmut Pohlheim, All Rights Reserved, (