skip to main content
10.1145/2442942.2442949acmconferencesArticle/Chapter ViewAbstractPublication PagesgisConference Proceedingsconference-collections
research-article

On optimal preprocessing for contraction hierarchies

Published:06 November 2012Publication History

ABSTRACT

For some graph classes, most notably real-world road networks, shortest path queries can be answered very efficiently if the graph is preprocessed into a contraction hierarchy. The preprocessing algorithm contracts nodes in some order, adding new edges (shortcuts) in the process. While preprocessing and query algorithm work for any contraction ordering, it is desirable to use one that produces as few shortcuts as possible.

It is known that the problem of minimizing the size (number of edges) of a given graph's contraction hierarchy is APX-hard. Also, any graph can be processed into a contraction hierarchy with at most O(nh log D) edges, where n, D, and h are the number of nodes, the diameter, and the highway dimension of the original graph, respectively.

In this paper we show that the O(nh log D) bound is tight for a wide range of parameters n, D, and h. We also show that planar graphs, despite having highway dimension Ω(√n), can be preprocessed into a graph of size O(n log n). Finally, we present a simpler proof of APX-hardness.

References

  1. I. Abraham, D. Delling, A. Fiat, A. V. Goldberg, and R. F. Werneck. VC-dimension and shortest path algorithms. In Proceedings of the 38th international colloquim conference on Automata, languages and programming - Volume Part I, ICALP'11, pages 690--699, Berlin, Heidelberg, 2011. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. I. Abraham, A. Fiat, A. V. Goldberg, and R. F. Werneck. Highway dimension, shortest paths, and provably efficient algorithms. In M. Charikar, editor, SODA, pages 782--793. SIAM, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. R. Bauer, T. Columbus, B. Katz, M. Krug, and D. Wagner. Preprocessing speed-up techniques is hard. In Proceedings of the 7th international conference on Algorithms and Complexity, CIAC'10, pages 359--370, Berlin, Heidelberg, 2010. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. I. Dinur and S. Safra. On the hardness of approximating minimum vertex cover. Annals of Mathematics, 162(1):439--485, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. Eppstein and M. T. Goodrich. Studying (non-planar) road networks through an algorithmic lens. In Proceedings of the 16th ACM SIGSPATIAL international conference on Advances in geographic information systems, GIS '08, pages 16:1--16:10, New York, NY, USA, 2008. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. R. Geisberger, P. Sanders, D. Schultes, and C. Vetter. Exact routing in large road networks using contraction hierarchies. Transportation Science, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. R. J. Lipton, D. J. Rose, and R. E. Tarjan. Generalized nested dissection. SIAM J. Numer. Anal., 16(2):346--358, 1979.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. On optimal preprocessing for contraction hierarchies

    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
      IWCTS '12: Proceedings of the 5th ACM SIGSPATIAL International Workshop on Computational Transportation Science
      November 2012
      54 pages
      ISBN:9781450316934
      DOI:10.1145/2442942

      Copyright © 2012 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: 6 November 2012

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate42of57submissions,74%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader