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

4 Recombination options

Recombination.Name

This option contains the name of the recombination function (name of m-file). The possible recombination operators depend on the internal representation of the variables (VariableFormat).

• Default value: recdis
• Type: string or cell array of strings; multi strategy support
• Available recombination functions:
• recdis: Discrete recombination (all representations)
• recint: Intermediate recombination (real valued representation)
• reclin: Line recombination (real valued representation)
• reclinex: Extended line recombination (real valued representation)
• recdp: Double-point crossover (binary valued representation)
• recdprs: Double-point reduced surrogate crossover (binary valued representation)
• recsp: Single-point crossover (binary valued representation)
• recsprs: Single-point reduced surrogate crossover (binary valued representation)
• recsh: Shuffle crossover (binary valued representation)
• recshrs: Shuffle reduced surrogate crossover (binary valued representation)
• recgp: Generalized position recombination (ordering/permutation representation)
• recpm: Partial matching recombination (ordering/permutation representation)
• recnone: no recombination (internal dummy function in recombin), parents are not recombined
• Any other recombination function may be used directly, just set Recombination.Name to the name of the m-file.
• Example - use double point crossover recdp (variables of individuals must be binary):
`GeaOpt = geaoptset(GeaOpt, 'Recombination.Name', 'recdp');`
• Example - use discrete recombination recdis for the first and line recombination reclin for the second subpopulation:
`GeaOpt = geaoptset(GeaOpt, 'Recombination.Name', {'recdis','reclin'});`
• The setting of this option corresponds with VariableFormat.
• Option number in previous versions: 7 (2.x and 1.x), the global variable GLOBAL_RECOMBINFUN is no longer necessary to define special recombination functions.

Recombination.Rate

This option defines the recombination rate.

• Default value: 1
• Type: scalar in [0, 1]; multi strategy support
• Example - set the recombination rate to 0.7 (often used with binary representation in genetic algorithms):
`GeaOpt = geaoptset(GeaOpt, 'Recombination.Rate', 0.7);`
• Option number in previous versions: 12 (2.x), not available/internal option (1.x)

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

This document is part of version 3.8 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.