search34

45
Problem Solving and Search Lecture 3

Upload: yosser-atassi

Post on 16-Aug-2015

16 views

Category:

Engineering


1 download

TRANSCRIPT

Problem Solving and Search

Lecture 3

Uniform Cost SearchUniform Cost Search* Similar to Breath-First.* Pursues the path with less accumulated cost.

* Uniform Cost: minimizes g(n) = path_cost(n)* Breath-First: minimizes g(n) = depth(n)

Search

31 15

A

CB D

A

B C D

F

153

5

110

1

E

1

31

10

15

5

A

CB D

F E

F

31

10

15

5

A

CB D

F E

10

F

1