Question

and the arrows represent possible action transitions. S is the start state and there are two goal states: G1 and G1. The cost

0 0
Add a comment Improve this question Transcribed image text
Answer #1

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 */

Add a comment
Know the answer?
Add Answer to:
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...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1) Consider the directed graph below. “S” is the start state and “G1,G2,G3” are 3 goal...

    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...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT