首页> 外文会议>IEEE Annual Symposium on Foundations of Computer Science >A Forward-Backward Single-Source Shortest Paths Algorithm
【24h】

A Forward-Backward Single-Source Shortest Paths Algorithm

机译:前向后向单源最短路径算法

获取原文

摘要

We describe a new forward-backward variant of Dijkstra's and Spira's Single-Source Shortest Paths (SSSP) algorithms. While essentially all SSSP algorithm only scan edges forward, the new algorithm scans some edges backward. The new algorithm assumes that edges in the out-going and incoming adjacency lists of the vertices appear in non-decreasing order of weight. (Spira's algorithm makes the same assumption about the out-going adjacency lists, but does not use incoming adjacency lists.) The running time of the algorithm on a complete directed graph on n vertices with independent exponential edge weights is Õ(n), with very high probability. This improves on the previously best result of Õ(n log n), which is best possible if only forward scans are allowed, exhibiting an interesting separation between forward-only and forward-backward SSSP algorithms. As a consequence, we also get a new all-pairs shortest paths algorithm. The expected running time of the algorithm on complete graphs with independent exponential edge weights is Õ(n2), matching a recent result of Peres et al. Furthermore, the probability that the new algorithm requires more than Õ(n2) time is exponentially small, improving on the polynomially small probability of Peres et al.
机译:我们描述了Dijkstra和Spira的单源最短路径(SSSP)算法的新的前后向变体。虽然基本上所有SSSP算法仅向前扫描边缘,但是新算法向后扫描一些边缘。新算法假定顶点的出局和入局邻接列表中的边按权重的非降序显示。 (Spira的算法对传出的邻接表进行了相同的假设,但不使用传入的邻接表。)在具有独立指数边权重的n个顶点上的完整有向图上,算法的运行时间为Õ(n),其中可能性很高。这改善了先前的最佳结果Õ(n log n),如果只允许正向扫描,则可能最好,并且在正向SSSP算法和正向向后SSSP算法之间表现出有趣的分离。结果,我们还获得了新的全对最短路径算法。该算法在具有独立指数边缘权重的完整图形上的预期运行时间为Õ(n2),与Peres等人的最新结果相符。此外,新算法需要多于Õ(n2)时间的概率呈指数级减小,与Peres等人的多项式较小概率相比有所提高。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号