arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.07448cs.DScs.CCcs.DM
收藏

最短路径算法的理论与实践

Shortest Path Algorithms between Theory and Practice

Ahmed Shokry

摘要:

利用图算法是计算机科学中的一项常见活动。在大型图上执行计算的算法并不总是有效的。本文研究了单源最短路径(SSSP)问题,它被认为是最重要和研究最多的图问题之一。本文从理论和实践两个方面对SSSP问题进行了综述。此外,它讨论了一种新的单源最短路径算法,实现了相同的$O(n \cdot m)$的时间限制作为传统的Bellman-Ford-Moore算法,但优于它和其他国家的最先进的算法在实践中。这项工作由三部分组成。第一部分从理论和实践的角度讨论了文献中的一些基本的最短路径和负环检测算法。第二个包含一个新的算法的讨论,单源最短路径问题,优于最先进的算法,几个著名的家庭的图形。所提出的算法背后的主要思想是选择最少的最有效的顶点进行扫描。我们还提出了一个讨论的正确性,终止,并证明了最坏情况下的时间界限的算法。本节还为所提出的算法提出了两种不同的实现,第一种运行速度更快,而第二种执行的操作数量更少。最后,不同的最短路径算法进行了广泛的计算研究。结果提出了使用一个新的最短路径算法的评价指标。各种最短路径算法的结果,优点和缺点的讨论也包括在这项工作中。

英文摘要:

Utilizing graph algorithms is a common activity in computer science. Algorithms that perform computations on large graphs are not always efficient. This work investigates the Single-Source Shortest Path (SSSP) problem, which is considered to be one of the most important and most studied graph problems. This thesis contains a review of the SSSP problem in both theory and practice. In addition, it discusses a new single-source shortest-path algorithm that achieves the same $O(n \cdot m)$ time bound as the traditional Bellman-Ford-Moore algorithm but outperforms it and other state-of-the-art algorithms in practice. The work is comprised of three parts. The first discusses some basic shortest-path and negative-cycle-detection algorithms in literature from the theoretical and practical point of view. The second contains a discussion of a new algorithm for the single-source shortest-path problem that outperforms most state-of-the-art algorithms for several well-known families of graphs. The main idea behind the proposed algorithm is to select the fewest most-effective vertices to scan. We also propose a discussion of correctness, termination, and the proof of the worst-case time bound of the proposed algorithm. This section also suggests two different implementations for the proposed algorithm, the first runs faster while the second performs a fewer number of operations. Finally, an extensive computational study of the different shortest paths algorithms is conducted. The results are proposed using a new evaluation metric for shortest-path algorithms. A discussion of outcomes, strengths, and weaknesses of the various shortest path algorithms are also included in this work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑