Uninformed breadth-first search:
Requires the construction and memorization of almost the complete search tree.
Is guaranteed to find the shortest path to a solution.
Uninformed depth-first search:
Requires the memorization of only the current path and the branches from this path that were already visited.
May search unnecessarily deep for a shallow goal.
这意思貌似是BS偶的迭代加深算法的时间复杂度,迭代加深最坏情况下的时间复杂度和广度优先是一个数量级的,这是因为状态树的节点数随深度增加近似指数增长,搜索到最后一层遍历的节点数才是影响时间复杂度的主要因素,迭代加深搜索这一层时遍历的节点数跟BFS相同。
我前面给的课件中有复杂度的详细分析,节选部分:
For large d, you see that Nid/Nbf approaches b/(b – 1), which in turn approaches 1 for large b.