Documentation of sellocal

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

Function Synopsis

NewChromIx = sellocal(FitnV, Nsel, SelOpt);

Help text

 SELection in a LOCAL neighbourhood

 This function performs SELection in a LOCAL neighbourhood.
 This function is the first part of the implementation of 
 the local model (population model). The second part is
 implemented in reinsloc.

 Syntax:  NewChromIx = sellocal(FitnV, Nsel, SelOpt)

 Input parameters:
    FitnV     - Column vector containing the fitness values of the
                individuals in the population.
    Nsel      - Number of individuals to be selected
    SelOpt    - (optional) Vector containing parameters for local selection
                SelOpt(1): local dimension 
                SelOpt(2): local structure - number indicating the structure
                           of the neighbourhood
                SelOpt(3): local distance

 Output parameters:
    NewChromIx- Column vector containing the indexes of the selected
                individuals relative to the original population, shuffeld.
                The new population, ready for mating, can be obtained
                by calculating OldChrom(NewChromIx,:).

 See also: selection, reinsloc, comploc, selsus, selrws, seltrunc, seltour

Cross-Reference Information

This function calls 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, (