0 0 votes The state graph shows the action cost along the edges and the heuristic function $\text{h}$ associated with each state.Suppose $A^{*}$ algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?$\mathrm{S}, \mathrm{A}, \mathrm{E}, \mathrm{C}, \mathrm{B}, \mathrm{D}, \mathrm{G}$$\mathrm{S}, \mathrm{E}, \mathrm{A}, \mathrm{C}, \mathrm{B}, \mathrm{D}, \mathrm{G}$$\mathrm{S}, \mathrm{A}, \mathrm{E}, \mathrm{B}, \mathrm{C}, \mathrm{D}, \mathrm{G}$$\mathrm{S}, \mathrm{A}, \mathrm{B}, \mathrm{E}, \mathrm{C}, \mathrm{D}, \mathrm{G}$ Artificial Intelligence gateda-2025 artificial-intelligence a-star-algorithm two-marks + – Arjun 2.6k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote Shortest path searched by A* is $S,E,C,D,G$Node visit order: $S, A, E, B, C, D, G$ option (C)Edit: Please refer to my comment, earlier in haste I wrote answer d which was inaccurate. gbhavanag0 answered Sep 7, 2025 • edited Sep 11, 2025 by gbhavanag0 gbhavanag0 comment Share Follow See all 3 Comments 3 3 Comments reply gbhavanag0 commented Sep 7, 2025 reply Follow flag Note that, here, After S, A, B, C algo will come back to B (since F(B)<F(C) and B is in openList) but since F(C) thru B is greater than F(C) thru E, Algo will mark B closed and continue its path thru E. 0 0 replyShare Hymavathi_Atmakuri commented Sep 11, 2025 reply Follow flag I think the correct answer is option C.Can you once check it. 0 0 replyShare gbhavanag0 commented Sep 11, 2025 reply Follow flag Yes you are correct. Node order is asked, I had answered first and added the comment later. And hence Option (C) would be correct. Apologies for the mistake 0 0 replyShare Please log in or register to add a comment.