The state graph shows the action cost along the edges and the heuristic function 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?
Tap to open full sizeFigure description
Directed graph. Edges with costs: S->A (4), S->E (1), A->B (2), B->C (2), E->C (2), C->D (3), D->G (3). Heuristic values in boxes: A h=2, B h=2, C h=6, D h=2, G h=0, E h=6. S has no heuristic printed. S is the start and G the goal.
- (A)
S,A,E,C,B,D,G
- (B)
S,E,A,C,B,D,G
- (C)
S,A,E,B,C,D,G
- (D)
S,A,B,E,C,D,G