广度优先搜索在图论中的应用摘要:本文详细的分析了广度优先搜索算法,重点研究了该算法在图论中的应用,尤其是在最短路径问题中的应用
通过与其它最短路搜索算法的比较分析,本文得到了这些最短路算法之间的关系
关键词:广度优先搜索,最短路径,图论
Abstract:this paper gives a detailed analysis of the breadth-first search algorithm, and emphasis on the algorithm in the application of graph theory, especially in the shortest path problem in the application
Through the comparative analysis with the other shortest path search algorithm, this paper obtains these relationships between these shortest path algorithms
Keywords: breadth first search, shortest path, graph theory
目录摘要0Abstract0一、引言2二、广度优先搜索算法2(一)基本思想2(二)算法结构3(三)算法特性4(四)广度优先搜索算法在图论中的应用5三、广度优先搜索算法在图论中应用的具体分析5(一)寻找连接元件5(二)测试是否二分图5(三)寻找非加权图中任两点的最短路径5四、最短路中常用算法的比较7五、总结7参考文献8附件8一、引言使用计算机求解的问题中,有许多问题是无法用数学公式进行计算推导和采用模拟方法来找出答案的
这样的问题往往需要我们根据问题所给定的一些条件,在问题的所有可能解中用某种方式找出