C463 / B551 Artificial Intelligence

Local Search

Local Search

State Space Landscape

Landscape

Hill Climbing

Variations of Hill Climbing

Continuous Spaces

Simulated Annealing

Example: 8-Tile Puzzle

Initial state :

Energy = (2-1)+(6-2)+(7-3)+(4-1)+(8-5) +(6-4)+(7-3)+(9-8) = 1 + 4 + 4 + 3 + 3 + 2 + 4 + 1 = 22

Neighbors:

Suppose T = 40. Then the probability of the first neighbor is e-(25-22)/40 = 0.9277 = 92.77%

Genetic Algorithms

Genetic Operators

Crossover:

CAA | GTTTAAG
GCT | AAGGTAC
-------------
CAA | AAGGTAC 
GCT | GTTTAAG

Mutation:

001110110001 -> 001010110001 

Fitness-proportionate selection: