Evolutionary Outline

The population is kept of constant size, which reduces unnecessary memory allocation and de-allocation. The population is initialized randomly, with all the fitness values left unassigned.

An evolutionary step happens on request; if there is an individual in the population with an unassigned fitness, it is chosen and passed to the evolved component. Otherwise, two parents are chosen with a probability proportional to their fitness. These are crossed over and mutated to form two offspring, which are reinserted into the population.

When individuals need to be removed from the population, they are selected probabilistically according to the inverse fitness and the similarity with other sequences. As for classifier systems, the idea is to enforce diversity in the population by removing the worst behavior when two are similar.



AI Game Development. Synthetic Creatures with Learning and Reactive Behaviors
AI Game Development: Synthetic Creatures with Learning and Reactive Behaviors
ISBN: 1592730043
EAN: 2147483647
Year: 2003
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net