• edited by
2,602 views
0 0 votes

​​​​​​The state graph shows the action cost along the edges and the heuristic function $\text{h}$ associated with each state.

Flowchart


Suppose $A^{*}$ algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?

  1. $\mathrm{S}, \mathrm{A}, \mathrm{E}, \mathrm{C}, \mathrm{B}, \mathrm{D}, \mathrm{G}$
  2. $\mathrm{S}, \mathrm{E}, \mathrm{A}, \mathrm{C}, \mathrm{B}, \mathrm{D}, \mathrm{G}$
  3. $\mathrm{S}, \mathrm{A}, \mathrm{E}, \mathrm{B}, \mathrm{C}, \mathrm{D}, \mathrm{G}$
  4. $\mathrm{S}, \mathrm{A}, \mathrm{B}, \mathrm{E}, \mathrm{C}, \mathrm{D}, \mathrm{G}$

1 Answer

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.

 

• edited by
Answer:
Position:
Show:

Related questions

1 1 vote
1 1 answer
2.0k
2.0k views
Arjun asked Feb 27, 2025
1,971 views
Consider game trees Tree-1 and Tree-2 as shown. The first level is a $\text{MAX}$ agent and the second level is a $\text{MIN}$ agent. The value in the square node is the ...
1 1 vote
3 3 answers
2.0k
2.0k views
Arjun asked Feb 27, 2025
1,981 views
​​​​​Let $p$ and $q$ be any two propositions. Consider the following propositional statements.\[S_{1}: p \rightarrow q, \quad S_{2}: \neg p \wedge q, \quad S_{3}: \neg p ...
8 8 votes
6 6 answers
3.9k
3.9k views
Arjun asked Feb 27, 2025
3,907 views
Suppose that insertion sort is applied to the array $[1,3,5,7,9,11, x, 15,13]$ and it takes exactly two swaps to sort the array. Select all possible values of $x$.$10$$12...