Details regarding the genetic code and crossover in the Genetic Algorithm.
Afficher commentaires plus anciens
I am trying to understand some details within the GA optimizer in the Global Optimization Toolbox. If "double-precision vector" is chosen to define the population, what is the "genetic code" used by GA - is it 64-bit binary for each variable? Also, does crossover apply to the individual genes (e.g., each bit of the binary string) or does it / can it apply to alleles (i.e., groups of genes such as one complete variable). Thanks!!!
Réponses (1)
Alan Weiss
le 1 Mai 2013
0 votes
You can find most of the details in the documentation:
The basic thing to know is that GA is not working on bits, it is trying to optimize a real-valued function of real variables.
If your population type is "bitstring", where each component of the decision variable vector is a 0 or 1, then look at this section of the documentation.
Alan Weiss
MATLAB mathematical toolbox documentation
Catégories
En savoir plus sur Genetic Algorithm dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!