1.

What is the evaluation function in greedy approach?(a) Heuristic function(b) Path cost from start node to current node(c) Path cost from start node to current node + Heuristic cost(d) Average of Path cost from start node to current node and Heuristic costThis question was addressed to me in an online interview.The question is from Informed Search and Exploration in division Problem Solving of Artificial Intelligence

Answer»

The correct option is (a) Heuristic function

To elaborate: Greedy best-first search3 tries to expand the node that is closest to the goal, on the grounds that this is LIKELY to lead to a solution quickly. THUS, it evaluates NODES by USING just the heuristic function: f (n) = h(n).



Discussion

No Comment Found

Related InterviewSolutions