i) S->C->G2 IS THE OPTIMAL PATH TO REACH GOAL G2
f(n) = g(n) + h(n)
f(S) = f(15) = 15
f(C) = f(10) = 6 + 10 = 15
f(G2) = g(G2)+h(G2) = 12 + 0 = 12
ii)
Using best first search algorithm.
we will traverse the edge with minimum cost
S->B
Now will traverse the minimum cost child
S->B->E
since it does not reach the goal state it backtracks
S->B->F
since again not reaches the goal state backtrack to s
S->C
Now again traverse the minimum cost child
S->C->G2
ANswer.
PLEASE UPVOTE (THANK YOU IN ADVANCE) IF YOU SATISFY WITH THE ANSWER IF ANY QUERY ASK ME IN COMMENT SECTION I WILL RESOLVE THE QUESTION FOR YOU */
and the arrows represent possible action transitions. S is the start state and there are two goal states: G1 and G1. The cost of each action is given by the number next to the arrow. Each state is la...
1) Consider the directed graph below. “S” is the start state and “G1,G2,G3” are 3 goal states. In traversing the graph one can move only in the direction indicated by the arrows. The numbers on the edges indicate the step-cost for traversing that edge. The numbers in the nodes represent the estimated cost to the nearest goal state. In the following you will be asked to search this graph using various search strategies. When you work out your answer, please...