Details regarding the genetic code and crossover in the Genetic Algorithm.
Mostrar comentarios más antiguos
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!!!
Respuestas (1)
Alan Weiss
el 1 de Mayo de 2013
0 votos
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
Categorías
Más información sobre Genetic Algorithm en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!