INCREMENTAL ALGORITHMS FOR MINIMAL LENGTH PATHS

被引:76
作者
AUSIELLO, G
ITALIANO, GF
SPACCAMELA, AM
NANNI, U
机构
[1] UNIV ROME LA SAPIENZA, DIPARTIMENTO INFORMAT & SIST, I-00185 ROME, ITALY
[2] COLUMBIA UNIV, DEPT COMP SCI, NEW YORK, NY 10027 USA
[3] UNIV LAQUILA, DIPARTIMENTO MATEMAT PURA & APPL, I-67100 LAQUILA, ITALY
来源
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC | 1991年 / 12卷 / 04期
基金
美国国家科学基金会;
关键词
D O I
10.1016/0196-6774(91)90036-X
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the problem of maintaining on-line a solution to the All Pairs Shortest Paths Problem in a directed graph G = (V,E) where edges may be dynamically inserted or have their cost decreased. For the case of integer edge costs in a given range [1...C], we introduce a new data structure which is able to answer queries concerning the length of the shortest path between any two vertices in constant time and to trace out the shortest path between any two vertices in time linear in the number of edges reported. The total time required to maintain the data structure under a sequence of at most O(n2) edge insertions and at most O(Cn2) edge cost decreases is O(Cn3 log(nC)) in the worst case, where n is the total number of vertices in G. For the case of unit edge costs, the total time required to maintain the data structure under a sequence of at most O(n2) insertions of edges becomes O(n3 logn) in the worst case. The same bounds can be achieved for the problem of maintaining on-line longest paths in directed acyclic graphs. All our algorithms improve previously known algorithms and are only a logarithmic factor away from the best possible bounds. © 1991.
引用
收藏
页码:615 / 638
页数:24
相关论文
共 38 条
  • [1] AGRAWAL R, 1989, P ACM SIGMOD INT C M
  • [2] Aho A. V., 1974, DESIGN ANAL COMPUTER
  • [3] AUSIELLO G, 1989, LECT NOTES COMPUT SC, V358, P1
  • [4] AUSIELLO G, 1990, 1ST P ANN ACM SIAM S, P12
  • [5] BUCHSBAUM AL, 1990, 1ST P ANN ACM SIAM S, P22
  • [6] BURKE M, 1987, LCSRTR96 RUTG U DEP
  • [7] ALGORITHMS FOR UPDATING MINIMAL SPANNING TREES
    CHIN, F
    HOUCK, D
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1978, 16 (03) : 333 - 344
  • [8] INCREMENTAL PLANARITY TESTING
    DIBATTISTA, G
    TAMASSIA, R
    [J]. 30TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 1989, : 436 - 441
  • [9] DIBATTISTA G, 1990, 17TH P INT COLL AUT
  • [10] EPPSTEIN D, 1990, 1ST P ACM SIAM S DIS, P1