Genetic Algorithms for Artificial Intelligence (CIS 479)

Evolutionary Algorithm- they make use of selection mutation and recombination, to build better population of solutions.

Genetic Algorithm that processes fixed length strings

Tournaments to decide

A = 11111

B = 00000

A = 11111

B = 00000

A’ = 00011

B’ = 11100

Assume all the previous one’s are good, but what if the following happens?

A = 00111

B = 11100

Search

Path1 = Left1 + Right1

Path2 = Left2 + Right2

Path3 = Left1 + Right2

Path4 = Left2 + Right1

Tanimoto text has about 6-7 pages on a solution for the traveling salesperson problem (TSP)

Tanimoto

Pseuodocode p. 242

LISP code p. 247

Evolve

Setup initial population for g generations

Class text books have LISP and C++ examples on Expert systems