lecture 26 local beam search

10
Local Beam Search Lecture-26 Hema Kashyap 1

Upload: hema-kashyap

Post on 12-Apr-2017

20 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Lecture 26 local beam search

1

Local Beam SearchLecture-26

Hema Kashyap

Page 2: Lecture 26 local beam search

2

Idea• The search begins with k randomly generated states • At each step, all the successors of all k states are

generated • If any one of the successors is a goal, the algorithm halts • Otherwise, it selects the k best successors from the

complete list and repeats • The parallel search of beam search leads quickly to

abandoning unfruitful searches and moves its resources to where the most progress is being made

• In stochastic beam search the maintained successor states are chosen with a probability based on their goodness

Page 3: Lecture 26 local beam search

3

Algorithm

Page 4: Lecture 26 local beam search

4

Page 5: Lecture 26 local beam search

5

Page 6: Lecture 26 local beam search

6

Assumptions

• Assume a pre-fixed width i.e. 2• Perform bredth-first, • But only keep the WIDTH best new nodes• Depending on heuristic at each new level

Page 7: Lecture 26 local beam search

7

Example

Page 8: Lecture 26 local beam search

8

Example

Page 9: Lecture 26 local beam search

9

Example

Page 10: Lecture 26 local beam search

10

Example