Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
NewChrom = recombin(REC_F, Chrom, RecOpt, VLUB, SUBPOP);
high level RECOMBINation function This function performs recombination between pairs of individuals and returns the new individuals after mating. The function handles multiple populations and calls the low level recombination function for the actual recombination process. Different size of every subpopulation is supported. Syntax: NewChrom = recombin(REC_F, OldChrom, RecOpt, VLUB, SUBPOP) Input parameters: REC_F - String containing the name of the recombination or recombination function Chrom - Matrix containing the chromosomes of the old population. Each row corresponds to one individual RecOpt - (optional) Scalar containing the probability of recombination ocurring between pairs of individuals. if omitted or NaN, 1 is assumed VLUB - (optional) matrix containing lower and upper bounds of all variables, only for 'reclinex' needed SUBPOP - (optional) Vector/scalar containing number of individuals per subpopulation/number of subpopulations if omitted or NaN, 1 subpopulation is assumed Output parameter: NewChrom - Matrix containing the chromosomes of the population after recombination in the same format as OldChrom. See also: recdis, recint, reclin, recmut, recsp, recdp, recsh, migrate, mutate, selection
This function calls | This function is called by |
---|---|