ARTIFICIAL INTELLIGENCE
Russell & Norvig Chapter 4: Local Search Algorithms and Optimization Problems
ARTIFICIAL INTELLIGENCE Russell & Norvig Chapter 4: Local - - PowerPoint PPT Presentation
ARTIFICIAL INTELLIGENCE Russell & Norvig Chapter 4: Local Search Algorithms and Optimization Problems Local search algorithms Some types of search problems can be formulated in terms of optimization We dont have a start state,
Russell & Norvig Chapter 4: Local Search Algorithms and Optimization Problems
to a solution
the quality of a possible solution, and we want to find a good solution by minimizing or maximizing the value of this function
same row, column, or diagonal
same row, column, or diagonal
h = 17
h = 1
number of iterations, steepness of downhill move
row
Start with k randomly generated states Repeat Generate all the successors of all k states If a goal state is generated, stop Else select the k best successors from the complete list Until some stopping condition
proportional to the “goodness” of the state.
selection”
states
(often a string of 0s and 1s)
better states.
crossover, and mutation
3 2 7 5 2 4 1 1 2 4 7 4 8 5 5 2 3 2 7 4 8 5 5 2