skip to main content
10.1145/1536414.1536431acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

A nearly optimal oracle for avoiding failed vertices and edges

Authors Info & Claims
Published:31 May 2009Publication History

ABSTRACT

We present an improved oracle for the distance sensitivity problem. The goal is to preprocess a directed graph G = (V,E) with non-negative edge weights to answer queries of the form: what is the length of the shortest path from x to y that does not go through some failed vertex or edge f. The previous best algorithm produces an oracle of size ~O(n2) that has an O(1) query time, and an ~O(n2√m) construction time. It was a randomized Monte Carlo algorithm that worked with high probability. Our oracle also has a constant query time and an ~O(n2) space requirement, but it has an improved construction time of ~O(mn), and it is deterministic. Note that O(1) query, O(n2) space, and O(mn) construction time is also the best known bound (up to logarithmic factors) for the simpler problem of finding all pairs shortest paths in a weighted, directed graph. Thus, barring improved solutions to the all pairs shortest path problem, our oracle is optimal up to logarithmic factors.

References

  1. .O. Ball, B.L. Golden, and R.V. Vohra. Finding the most vital arcs in a network. Operations Research Letters, 8:73--76, 1989.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. . Bar--Noy, S. Khuller, and B. Schieber. The complexity of finding most vital arcs and nodes. Technical Report No CS-TR-3539, Institute for Advanced Studies, University of Maryland, College Park, MD, 1995.Google ScholarGoogle Scholar
  3. .Berkman and U.Vishkin. Recursive star-tree parallel data structure. SIAM Journal of Computing, 22(2):221--242, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. . Bernstein and D. Karger. Improved distance sensitivity oracles via random sampling. In Proceedings of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA '08), San Francisco, California, pages 34--43, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. .A. Chowdhury and V. Ramach. Improved distance oracles for avoiding link-failure. In Proc. of the 13th International Symposium on Algorithms and Computation (ISAAC '02), Vancouver, Canada, LNCS 2518, pages 523--534, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. . Demetrescu, M. Thorup, R.A. Chowdhury, and V. Ramachandran. Oracles for distances avoiding a node or link failure. SIAM Journal of computing, 37(5):1299--1318, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. .Dijkstra. A note on two problems in connexion with graphs. Numerische Mathematik, 1:269--271, 1959.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. . Emek, D. Peleg, and L. Roditty. A near-linear time algorithm for computing replacement paths in planar directed graphs. In Proc. of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA '08), San Francisco, California, pages 428--435, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. .Harel and R.E.Tarjan. Fast algorithms for finding nearest common ancestors. SIAM Journal of Computing, 13(2):338--355, 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. .Hershberger and S.Suri. Vickrey prices and shortest paths: what is an edge worth?. In Proceedings of the 42nd IEEE Annual Symposium on Foundations of Computer Science (FOCS '01), Las Vegas, Nevada, pages 129--140, 2001. Erratum in FOCS '02. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. . Hershberger, S. Suri, and A. Bhosle. On the difficulty of some shortest path problems. In Proc. of the 20th International Symposium of Theoretical Aspects of Computer Science (STACS'03), Berlin, Germany, pages 343--354, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. . King. Fully dynamic algorithms for maintaining all-pairs shortest paths and transitive closure in digraphs. Proceedings of the 40th IEEE Annual Symposium on Foundations of Computer Science (FOCS '99), New York, NY, pages 81--89, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. . Roditty and U. Zwick. Replacement Paths and k Simple Shortest Paths in Unweighted Directed Graphs. In Proc. of the 32nd International Colloquium on Automata, Languages and Programming, Lisboa, Portugal, pages 249--260, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A nearly optimal oracle for avoiding failed vertices and edges

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      STOC '09: Proceedings of the forty-first annual ACM symposium on Theory of computing
      May 2009
      750 pages
      ISBN:9781605585062
      DOI:10.1145/1536414

      Copyright © 2009 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 31 May 2009

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate1,469of4,586submissions,32%

      Upcoming Conference

      STOC '24
      56th Annual ACM Symposium on Theory of Computing (STOC 2024)
      June 24 - 28, 2024
      Vancouver , BC , Canada

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader