Let h(n) denote heuristic function and g(n) denote cost, the evaluation function  f(n) used by Greed

8 查阅

Let h(n) denote heuristic function and g(n) denote cost, the evaluation function  f(n) used by Greedy search is:设h(n)表示启发式函数且g(n)表示代价,则贪婪搜索所使用的评价函数是

A.f(n) = h(n)

B.f(n) = g(n)

C.f(n) = g(n) + h(n)

D.f(n) = g(n) - h(n)

参考答案:

答案:f(n) = h(n)