Documentation of recsprs

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

Function Synopsis

NewChrom = recsprs(OldChrom, RecRate);

Help text

 RECombination Single Point with Reduced Surrogate

 This function performs single point 'reduced surrogate' recombination between 
 pairs of individuals and returns the current generation after mating.

 Syntax:  NewChrom = recsprs(OldChrom, RecRate)

 Input parameters:
    OldChrom  - Matrix containing the chromosomes of the old
                population. Each row corresponds to one individual
                (in binary form).
    RecRate   - Probability of recombination ocurring between pairs
                of individuals.

 Output parameter:
    NewChrom  - Matrix containing the chromosomes of the population
                after mating, ready to be mutated and/or evaluated,
                in the same format as OldChrom.

 See also: recombin, recsp, recdprs, recshrs, recmp

Cross-Reference Information

This function calls

Listing of function recsprs



%  Author:    Hartmut Pohlheim
%  History:   28.03.95     file created

function NewChrom = recsprs(OldChrom, RecRate);

if nargin < 2, RecRate = NaN; end

% call low level function with appropriate parameters
   NewChrom = recmp(OldChrom, RecRate, 1, 1);


% End of function
GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions  www.geatbx.com 

This document is part of version 3.7 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab - www.geatbx.com.
The Genetic and Evolutionary Algorithm Toolbox is not public domain.
© 1994-2005 Hartmut Pohlheim, All Rights Reserved, (support@geatbx.com).