MORE ALGORITHMS FOR ALL-PAIRS SHORTEST PATHS IN WEIGHTED GRAPHS

被引:85
作者
Chan, Timothy M. [1 ]
机构
[1] Univ Waterloo, Sch Comp Sci, Waterloo, ON N2L 3G1, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
shortest paths; graph algorithms; computational geometry; matrix multiplication; TIME ALGORITHM; SUBGRAPH;
D O I
10.1137/08071990X
中图分类号
TP301 [理论、方法];
学科分类号
080201 [机械制造及其自动化];
摘要
In the first part of the paper, we reexamine the all-pairs shortest path (APSP) problem and present a new algorithm with running time O(n(3) log(3) log n/log(2) n), which improves all known algorithms for general real-weighted dense graphs. In the second part of the paper, we use fast matrix multiplication to obtain truly subcubic APSP algorithms for a large class of "geometrically weighted" graphs, where the weight of an edge is a function of the coordinates of its vertices. For example, for graphs embedded in Euclidean space of a constant dimension d, we obtain a time bound near O(n(3-(3-omega)/(2d+ 4))), where omega < 2.376; in two dimensions, this is O(n(2.922)). Our framework greatly extends the previously considered case of small-integer-weighted graphs, and incidentally also yields the first truly subcubic result (near O(n(3-(3-omega)/ 4)) = O(n(2.844)) time) for APSP in real-vertex-weighted graphs, as well as an improved result (near O(n((3+omega)/2)) = O(n(2.688)) time) for the all-pairs lightest shortest path problem for small-integer-weighted graphs.
引用
收藏
页码:2075 / 2089
页数:15
相关论文
共 42 条
[1]
ON RANGE SEARCHING WITH SEMIALGEBRAIC SETS [J].
AGARWAL, PK ;
MATOUSEK, J .
DISCRETE & COMPUTATIONAL GEOMETRY, 1994, 11 (04) :393-418
[2]
Aho A. V., 1974, The design and analysis of computer algorithms
[3]
Improved parallel integer sorting without concurrent writing [J].
Albers, S ;
Hagerup, T .
INFORMATION AND COMPUTATION, 1997, 136 (01) :25-51
[4]
On the exponent of the all pairs shortest path problem [J].
Alon, N ;
Galil, Z ;
Margalit, O .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1997, 54 (02) :255-262
[5]
COLOR-CODING [J].
ALON, N ;
YUSTER, R ;
ZWICK, U .
JOURNAL OF THE ASSOCIATION FOR COMPUTING MACHINERY, 1995, 42 (04) :844-856
[6]
[Anonymous], 1970, Soviet Mathematics Doklady
[7]
BANSAL N, 2009, P 50 IEEE S IN PRESS
[8]
All-pairs shortest paths with real weights in O(n3/logn) time [J].
Chan, Timothy M. .
ALGORITHMICA, 2008, 50 (02) :236-243
[9]
Dynamic subgraph connectivity with geometric applications [J].
Chan, Timothy M. .
SIAM JOURNAL ON COMPUTING, 2006, 36 (03) :681-694
[10]
Fly cheaply: On the minimum fuel consumption problem [J].
Chan, TM ;
Efrat, A .
JOURNAL OF ALGORITHMS, 2001, 41 (02) :330-337