algorithm - 爬山和 A* 有什么区别?

标签 algorithm artificial-intelligence a-star hill-climbing

在人工智能中,这些算法非常流行。我尝试寻找解决 8puzzle 问题的方法,它们似乎都有相似的方法。谁能解释一下有什么区别?

最佳答案

Algorithms like weighted A* (Pohl 1970) systematically explore the search space in ’best’ first order. ’Best’ is defined by a node ranking function which typically considers the cost of arriving at a node, g, as well as the estimated cost of reaching a goal from a node, h. Some algorithms, such as A∗ ǫ (Pearl and Kim 1982) also consider the distance of a node from the goal, d. Hill-climbing algorithms are less deliberative; rather than considering all open nodes, they expand the most promising descendant of the most recently expanded node until they encounter a solution.

Source (page 1, Introduction)

关于algorithm - 爬山和 A* 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53035023/

相关文章:

c++ - 如何防止在多个 vector 中添加一个对象?

algorithm - 是否有任何已知的算法以最有效的方式用不同大小的矩形填充特定区域?

java - 如何制作一个可以根据时间戳保存 100 个最近的 record_values 的数据结构?

algorithm - 如何在图或人工神经网络中引导信息流?

python - 导入错误: Using the Trainer with PyTorch requires accelerate = 0. 20.1

algorithm - 使用 A*(A-Star) 搜索解决数独难题

google-app-engine - 使用 Google Go 的协程创建贝叶斯网络

java - 如何找到可能的二叉树拓扑排列的数量?

algorithm - 飞行游戏AI算法?

java - 修改 A Star 算法以连接逻辑方案中的门