The A* search algorithm ranks nodes using which evaluation function?
Correct answer
D. f(n) = g(n) + h(n)
18 views
D. f(n) = g(n) + h(n)
18 views
A* adds the path cost so far, g(n), to a heuristic estimate of the remaining cost, h(n). With an admissible heuristic it finds the optimal path. Using h(n) alone is greedy best-first search, and g(n) alone is uniform-cost search.
Asked in: GATE CS, AI Interviews
Not sure why the answer is D? Ask here and get an explanation.
Practise all Artificial Intelligence (AI) and Machine Learning (ML) MCQs