题目
Introduction to Artificial Intelligence (082025-VTK)
单项选择题
Using the numbers in brackets as heuristic values, what is the search path from node A to node I using the Hill Climbing algorithm?
选项
A.A – B – D
B.A – B – C – D – E – F – G – H – I
C.A – C – F – J
D.A – B – D – G

查看解析
标准答案
Please login to view
思路分析
First, identify the heuristic values at each node shown: A(10) has neighbors B(5) and C(8). B has D(3) and E(4). D has G(6) and H(7). C has F(5). F has J(1) and K(0). I is under E, but the immediate paths available from A must follow Hill Climbing rules.
Option 1: A – B – D
- From A, Hill Climbing selects the neighbor with the smallest heuristic value. Between B(5) and C(8), B is chosen.
- From B, again pick the neighbor with the smallest heuristic: D(3) vs E(4) gives D as the choice.
- Now......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
考虑 8 皇后游戏。我们想使用爬山搜索来解决它。我们使用受到攻击的皇后对数作为启发式方法。下图显示了搜索中的初始状态。 如果我们想要移动后获得最佳的启发式值,我们应该移动哪个皇后(我们根据皇后所在的列来命名皇后,1、2、...、8)?
Consider the game of 8-queens. We want to solve it using hill climbing search. We use the number of pairs of queens under attack as the heuristic. The figure below shows the initial state in the search. Which queen should we move if we want the best heuristic value after the move (we name the queens after their column, 1,2,...,8)?
In a consumer society, many adults channel creativity into buying things
Economic stress and unpredictable times have resulted in a booming industry for self-help products
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!