Question 39Asked in UGC NET Computer Science, June 2014 (Paper II & III, Selected Questions)

Consider f (N) = g(N) + h(N) Where function g is a measure of the cost of getting from the start node to the current node N and h is an estimate of…

Consider f (N) = g(N) + h(N) Where function g is a measure of the cost of getting from the start node to the current node N and h is an estimate of additional cost of getting from the current node N to the goal node. Then f(N) = h(N) is used in which one of the following algorithms?
  1. AA* algorithm
  2. BAO* algorithm
  3. CGreedy best first search algorithm
  4. DIterative A* algorithm
Show answerHide answer

Correct answer: (C) Greedy best first search algorithm

Explanation

The greedy algorithm work in a way that it has same estimate (called a heuristic) of how for from the goal any vertex is. Instead of selecting the vertex closet to the starting point, it selects the vertex closet to the goal, so the answer is (c).

From UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions)

This is question 39 of UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.