13. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
14. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
15. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
16. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
17. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
18. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
19. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
20. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
21. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
22. Greedy Search 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
25. Greedy Search: Tree Search 99 80 Start 75 118 140 [374] [329] [253] [193] [366] [178] A B C E F G A
26. Greedy Search: Tree Search 99 211 80 Start Goal 75 118 140 [374] [329] [253] [193] [366] [178] [0] [253] A B C E F I G A E
27. Greedy Search: Tree Search 99 211 80 Start Goal 75 118 140 [374] [329] [253] [193] [366] [178] [0] [253] Path cost(A-E-F-I) = 253 + 178 + 0 = 431 dist(A-E-F-I) = 140 + 99 + 211 = 450 A B C E F I G A E
28. Greedy Search: Optimal ? 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic dist(A-E-G-H-I) =140+80+97+101= 418 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0
29. Greedy Search: Complete ? 99 211 80 Start Goal 97 101 75 118 111 f(n) = h ( n ) = straight-line distance heuristic 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 ** C 250 D 244 E 253 F 178 G 193 H 98 I 0
41. A* Search f(n) = g(n) + h ( n ) g(n): is the exact cost to reach node n from the initial state. State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 98 I 0 A B D C E F I 99 211 G H 80 Start Goal 97 101 75 118 111 140
43. A* Search: Tree Search Start 75 118 140 [393] [449] [447] A B C E
44. A* Search: Tree Search 99 80 Start 75 118 140 [393] [449] [447] [417] [413] A B C E F G
45. A* Search: Tree Search 99 80 Start 75 118 140 [393] [449] [447] [417] [413] 97 [415] A B C E F G H
46. A* Search: Tree Search 99 80 Start 97 101 75 118 140 [393] [449] [447] [417] [413] [415] Goal [418] A B C E F I G H
47. A* Search: Tree Search 99 80 Start 97 101 75 118 140 [393] [449] [447] [417] [413] [415] Goal [418] [450] A B C E F I G H I
48. A* Search: Tree Search 99 80 Start 97 101 75 118 140 [393] [449] [447] [417] [413] [415] Goal [418] [450] A B C E F I G H I
49. A* Search: Tree Search 99 80 Start 97 101 75 118 140 [393] [449] [447] [417] [413] [415] Goal [418] [450] A B C E F I G H I
50. A* with f() not Admissible h() overestimates the cost to reach the goal state
51. A* Search: h not admissible ! 99 211 80 Start Goal 97 101 75 118 111 f(n) = g(n) + h ( n ) – (H-I) Overestimated g(n): is the exact cost to reach node n from the initial state. 140 A B D C E F I G H State Heuristic: h(n) A 366 B 374 C 329 D 244 E 253 F 178 G 193 H 138 I 0