gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:53:25 25 4
gpt4 key购买 nike

在人工智能中,这些算法非常流行。我尝试寻找解决 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com