lecture 25 hill climbing

10
Hill Climbing Lecture-25 Hema Kashyap 1

Upload: hema-kashyap

Post on 12-Apr-2017

68 views

Category:

Engineering


2 download

TRANSCRIPT

Page 1: Lecture 25 hill climbing

1

Hill ClimbingLecture-25

Hema Kashyap

Page 2: Lecture 25 hill climbing

2

Hill Climbing Search

Page 3: Lecture 25 hill climbing

3

Page 4: Lecture 25 hill climbing

4

Implementation

Page 5: Lecture 25 hill climbing

5

Implementation

Page 6: Lecture 25 hill climbing

6

Example-2

Page 7: Lecture 25 hill climbing

7

Example 3:N Queen Problem

Page 8: Lecture 25 hill climbing

8

Example 4: 8-Puzzle

Page 9: Lecture 25 hill climbing

9

Drawbacks of Hill Climbing

Page 10: Lecture 25 hill climbing

10

Random Restart Hill Climbing

• Generates different strating points when no progress can be made from the previous point

• Saves the best result• Can eventually find out the optimal solution if

enough iterations are allowed• The fewer local mavima, the quiker it finds a

good solution