Documentation of initbp

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

Function Synopsis

[Chrom] = initbp(Nind, VarLength)

Help text

 CReaTe an initial Binary Population

 This function creates a binary population of given size
 (Nind x VarLength).

 Syntax: [Chrom] = initbp(Nind, VarLength)

 Input Parameters:
    Nind      - Scalar containing the number of individuals (of rows)
                to create.
    VarLength - Scalar or vector containing the length of the individuals.
                scalar: length of the whole individual
                vector: length of each variable of individual
                        (length of the individual will be sum(VarLength))

 Output Parameters:
    Chrom     - A matrix containing the random valued individuals 
                one row per individual.

 See also: initrp, initip, initpp, initpop, bindecod, bin2real, bin2int, mutbin

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, (