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)表示代价,则贪婪搜索所使用的评价函数是
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)
- 上一篇:There are two main kinds of formulation for 8-queens problem. Which of the following items is such a formulation that starts with all 8 queens on the board and moves them around?有两种8皇后问题的形式化方式。“初始时8个皇后都放在棋盘上,然后再进行移动”是哪一种形式化方式?
- 下一篇:Let h(n) denote heuristic function and g(n) denote cost, the evaluation functionf(n) used by A* search is: 设h(n)表示启发式函数且g(n)表示代价,则A*搜索所使用的评价函数是: