元算法的拓扑方法:BFS与DFS算法选择问题的分析结果
A Topological Approach to Meta-heuristics: Analytical Results on the BFS vs. DFS Algorithm Selection Problem
摘要:
搜索是人工智能的核心问题,而广度优先搜索(BFS)和深度优先搜索(DFS)是两种最基本的搜索方式。在本文中,我们得到平均BFS和DFS运行时间的估计。平均运行时间估计可以用来分配资源或判断问题的难度。它们还可以用于选择最佳的图形表示,以及从BFS和DFS中选择更快的算法。它们也可能构成分析更高级搜索方法的基础。本文处理树搜索和图搜索。对于树搜索,我们采用目标分布的概率模型;对于图搜索,分析取决于路径冗余和平均分支因子的额外统计。作为一个应用程序,我们使用的结果来预测BFS和DFS运行时的两个具体的语法问题和N-难题。实验验证表明,我们的分析近似接近经验现实。
英文摘要:
Search is a central problem in artificial intelligence, and breadth-first search (BFS) and depth-first search (DFS) are the two most fundamental ways to search. In this paper we derive estimates for average BFS and DFS runtime. The average runtime estimates can be used to allocate resources or judge the hardness of a problem. They can also be used for selecting the best graph representation, and for selecting the faster algorithm out of BFS and DFS. They may also form the basis for an analysis of more advanced search methods. The paper treats both tree search and graph search. For tree search, we employ a probabilistic model of goal distribution; for graph search, the analysis depends on an additional statistic of path redundancy and average branching factor. As an application, we use the results to predict BFS and DFS runtime on two concrete grammar problems and on the N-puzzle. Experimental verification shows that our analytical approximations come close to empirical reality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。