Α. 4 = 2 h(s) = 5, h(A) = 6, h(B) = 10, h(C) = 7, h(D) = 3, h(G) = 0 С 1 2 S 4 D 5 G 5 1 B

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Α. 4 = 2 h(s) = 5, h(A) = 6, h(B) = 10, h(C) = 7, h(D) = 3, h(G) = 0 С 1 2 S 4 D 5 G 5 1 B

Post by answerhappygod »

 1
1 (14.55 KiB) Viewed 35 times
S - A - C - G is the optimal solution for this problem.
UCS expands less number of nodes compared to A* search.
The heuristic function is admissible.
A* search finds the optimal solution.
BFS finds the optimal solution in terms of the number of
actions.
Α. 4 = 2 h(s) = 5, h(A) = 6, h(B) = 10, h(C) = 7, h(D) = 3, h(G) = 0 С 1 2 S 4 D 5 G 5 1 B
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply