Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/FOCS.2013.64guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Dynamic Approximate All-Pairs Shortest Paths: Breaking the O(mn) Barrier and Derandomization

Published: 26 October 2013 Publication History

Abstract

We study dynamic (1+e)-approximation algorithms for the all-pairs shortest paths problem in unweighted undirected n-node m-edge graphs under edge deletions. The fastest algorithm for this problem is a randomized algorithm with a total update time of ~ O(mn) and constant query time by Roditty and Zwick (FOCS 2004). The fastest deterministic algorithm is from a 1981 paper by Even and Shiloach (JACM 1981); it has a total update time of O(mn2) and constant query time. We improve these results as follows: (1) We present an algorithm with a total update time of ~ O(n5/2) and constant query time that has an additive error of two in addition to the 1+e multiplicative error. This beats the previous ~ O(mn) time when m=Ω(n3/2). Note that the additive error is unavoidable since, even in the static case, an O(n3-Δ)-time (a so-called truly sub cubic) combinatorial algorithm with 1+e multiplicative error cannot have an additive error less than 2-e, unless we make a major breakthrough for Boolean matrix multiplication (Dor, Halperin and Zwick FOCS 1996) and many other long-standing problems (Vassilevska Williams and Williams FOCS 2010). The algorithm can also be turned into a (2+e)-approximation algorithm (without an additive error) with the same time guarantees, improving the recent (3+e)-approximation algorithm with ~ O(n5/2+O(1/□log n)) running time of Bernstein and Roditty (SODA 2011) in terms of both approximation and time guarantees. (2) We present a deterministic algorithm with a total update time of ~ O(mn) and a query time of O(log log n). The algorithm has a multiplicative error of 1+e and gives the first improved deterministic algorithm since 1981. It also answers an open question raised by Bernstein in his STOC 2013 paper. In order to achieve our results, we introduce two new techniques: (1) A lazy Even-Shiloach tree algorithm which maintains a bounded-distance shortest-paths tree on a certain type of emulator called locally persevering emulator. (2) A derandomization technique based on moving Even-Shiloach trees as a way to derandomize the standard random set argument. These techniques might be of independent interest.

Cited By

View all
  • (2017)(1 + ϵ)-approximate f-sensitive distance oraclesProceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3039686.3039782(1479-1496)Online publication date: 16-Jan-2017
  • (2016)Efficient Maintenance of All-Pairs Shortest DistancesProceedings of the 28th International Conference on Scientific and Statistical Database Management10.1145/2949689.2949713(1-12)Online publication date: 18-Jul-2016
  • (2016)Optimal Dynamic Distributed MISProceedings of the 2016 ACM Symposium on Principles of Distributed Computing10.1145/2933057.2933083(217-226)Online publication date: 25-Jul-2016
  • Show More Cited By
  1. Dynamic Approximate All-Pairs Shortest Paths: Breaking the O(mn) Barrier and Derandomization

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    FOCS '13: Proceedings of the 2013 IEEE 54th Annual Symposium on Foundations of Computer Science
    October 2013
    778 pages
    ISBN:9780769551357

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 26 October 2013

    Author Tags

    1. all-pairs shortest paths
    2. derandomization
    3. dynamic graph algorithms
    4. emulator

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 16 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2017)(1 + ϵ)-approximate f-sensitive distance oraclesProceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3039686.3039782(1479-1496)Online publication date: 16-Jan-2017
    • (2016)Efficient Maintenance of All-Pairs Shortest DistancesProceedings of the 28th International Conference on Scientific and Statistical Database Management10.1145/2949689.2949713(1-12)Online publication date: 18-Jul-2016
    • (2016)Optimal Dynamic Distributed MISProceedings of the 2016 ACM Symposium on Principles of Distributed Computing10.1145/2933057.2933083(217-226)Online publication date: 25-Jul-2016
    • (2016)Deterministic decremental single source shortest paths: beyond the o(mn) boundProceedings of the forty-eighth annual ACM symposium on Theory of Computing10.1145/2897518.2897521(389-397)Online publication date: 19-Jun-2016
    • (2015)Unifying and Strengthening Hardness for Dynamic Problems via the Online Matrix-Vector Multiplication ConjectureProceedings of the forty-seventh annual ACM symposium on Theory of Computing10.1145/2746539.2746609(21-30)Online publication date: 14-Jun-2015
    • (2014)A subquadratic-time algorithm for decremental single-source shortest pathsProceedings of the twenty-fifth annual ACM-SIAM symposium on Discrete algorithms10.5555/2634074.2634153(1053-1072)Online publication date: 5-Jan-2014

    View Options

    View options

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media