| |||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
[ Next page | Previous Page ] Genetic AlgorithmsGenetic algorithms are modeled after the process of natural selection in living organisms. In biology, species adapt to their environment over time through mutation and natural selection. In the same way, possible solutions (guesses) are adapted to problems over time in genetic algorithms. Genetic algorithms are usually implemented to search for answers to certain problems. This can include searches involving solving equations to finding the shortest path from city to city.
Symbolic AI vs Genetic AlgorithmsMost symbolic AI systems are very static. Usually, these systems are designed to solve one specific problem. If the given problem were somehow changed, these systems could have a hard time adapting. The algorithm that would have originally led to the right solution could be either incorrect or less efficient. Genetic algorithms (or GA) were created to combat these problems. These systems are based on natural biological evolution. Their evolution-centered architecture allows them to perform searches much more efficiently then most symbolic AI systems.
Processes of Genetic AlgorithmsA GA's first step is to generate a large set of random possible solutions sets to a given problem (this is analagous to chromosomes). It then evaluates each of those solutions, and then decides on a "fitness level" for each solution set (or chromosomes). The more "fitter" a certain chromosome is, the more likely it is to mate and reproduce. The theory behind this is based on natural selection. In biology, species that are more "fit" or adapted to their environment have a higher chance of surviving, and thus reproducing. When each pair of solution sets (chromosomes) reproduce, their offspring becomes a combination of the parent solution sets. The composition of the mother solution set is mixed in with the father solution set. The solution sets from the next generation then mutate and reproduce in the same fasion, just as their parents had. This cycle continues on and on, until one chromosome is found to have the desired solution set. This chromosome would have the most desirable fitness level.
General Algorithm for Genetic Algorithms
A GA Example If you have a hard time understanding this essay, it may help to look at an example involving a diophantine equation.
Submitted: 10/12/1999 |
|
||||||||||||||||
All content copyright © 1998-2007, Generation5 unless otherwise noted.
- Privacy Policy - Legal - Terms of Use -