📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is the path cost of a node?

A. The number of sensors in the agent
B. The total cost of the path from the initial state to that node ✅
C. The heuristic estimate to the goal
D. The depth of the goal state

Correct Answer: B. The total cost of the path from the initial state to that node

Explanation

Path cost g(n) is the sum of the step costs along the path from the start to the node.