arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0911.0174cs.DS
收藏

非负权无向图的O(E)时间最短路算法

A O(E) Time Shortest Path Algorithm For Non Negative Weighted Undirected Graphs

Muhammad Aasim Qureshi, Dr. Fadzil B. Hassan, Sohail Safdar, Rehan Akbar

摘要:

在大多数最短路径问题中,如车辆路径问题和网络路由问题,我们只需要一个有效的路径之间的两个点的源和目的地,并没有必要计算从源到所有其他节点的最短路径。本文集中在这一思想,并提出了一个算法计算最短路径(i)非负加权无向图(ii)无权无向图。该算法完成其执行在O(E)的所有图,除了少数在其中较长的路径(在边缘的数量)从源到一些节点,使其最佳选择该节点。算法的主要优点是它的简单性,它不需要复杂的数据结构的实现。

英文摘要:

In most of the shortest path problems like vehicle routing problems and network routing problems, we only need an efficient path between two points source and destination, and it is not necessary to calculate the shortest path from source to all other nodes. This paper concentrates on this very idea and presents an algorithm for calculating shortest path for (i) nonnegative weighted undirected graphs (ii) unweighted undirected graphs. The algorithm completes its execution in O(E) for all graphs except few in which longer path (in terms of number of edges) from source to some node makes it best selection for that node. The main advantage of the algorithms is its simplicity and it does not need complex data structures for implementations.

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

↑