Theory of Computing Systems

, Volume 63, Issue 8, pp 1849–1874 | Cite as

Efficient Dynamic Approximate Distance Oracles for Vertex-Labeled Planar Graphs

  • Itay Laish
  • Shay MozesEmail author
Part of the following topical collections:
  1. Special Issue on Approximation and Online Algorithms (2017)


Let G be a graph where each vertex is associated with a label. A vertex-labeled approximate distance oracle is a data structure that, given a vertex v and a label λ, returns a (1 + ε)-approximation of the distance from v to the closest vertex with label λ in G. Such an oracle is dynamic if it also supports label changes. In this paper we present three different dynamic approximate vertex-labeled distance oracles for planar graphs, all with polylogarithmic query and update times, and nearly linear space requirements. No such oracles were previously known.


Planar graphs Approximate distance oracles Vertex labels Portals ε-cover 



We thank Paweł Gawrychowski and Oren Weimann for fruitful discussions.


  1. 1.
    Abraham, I., Chechik, S., Delling, D., Goldberg, A.V., Werneck, R.F.: On dynamic approximate shortest paths for planar graphs with worst-case costs. In: SODA, pp. 740–753. SIAM (2016)Google Scholar
  2. 2.
    Abraham, I., Chechik, S., Gavoille, C.: Fully dynamic approximate distance oracles for planar graphs via forbidden-set distance labels. In: STOC, pp. 1199–1218. ACM (2012)Google Scholar
  3. 3.
    Chechik, S.: Improved distance oracles and spanners for vertex-labeled graphs. In: ESA, Lecture Notes in Computer Science, vol. 7501, pp. 325–336. Springer (2012)Google Scholar
  4. 4.
    Fredman, M.L., Komlȯs, J., Szemerėdi, E.: Storing a sparse table with O(1) worst case access time. J. ACM, 31(3), 538–544 (1984). MathSciNetCrossRefzbMATHGoogle Scholar
  5. 5.
    Gu, Q., Xu, G.: Constant query time (1 + 𝜖)-approximate distance oracle for planar graphs. In: ISAAC, pp. 625–636 (2015)Google Scholar
  6. 6.
    Henzinger, M.R., Klein, P.N., Rao, S., Subramanian, S.: Faster shortest-path algorithms for planar graphs. J. Comput. Syst. Sci. 55(1), 3–23 (1997). MathSciNetCrossRefzbMATHGoogle Scholar
  7. 7.
    Hermelin, D., Levy, A., Weimann, O., Yuster, R.: Distance oracles for vertex-labeled graphs. In: ICALP (2), Lecture Notes in Computer Science, vol. 6756, pp. 490–501. Springer (2011)Google Scholar
  8. 8.
    Kawarabayashi, K., Klein, P.N., Sommer, C.: Linear-space approximate distance oracles for planar, bounded-genus and minor-free graphs. In: ICALP (1), Lecture Notes in Computer Science, vol. 6755, pp. 135–146. Springer (2011)Google Scholar
  9. 9.
    Kawarabayashi, K., Sommer, C., Thorup, M.: More compact oracles for approximate distances in undirected planar graphs. In: SODA, pp. 550–563. SIAM (2013)Google Scholar
  10. 10.
    Klein, P.N.: Preprocessing an undirected planar network to enable fast approximate distance queries. In: SODA, pp. 820–827 (2002)Google Scholar
  11. 11.
    Klein, P.N.: Multiple-source shortest paths in planar graphs. In: SODA, pp. 146–155 (2005)Google Scholar
  12. 12.
    Li, M., Ma, C.C.C.: Ning, L.: (1 + 𝜖)-distance oracles for vertex-labeled planar graphs. In: TAMC, pp. 42–51 (2013)Google Scholar
  13. 13.
    Lipton, R.J., Tarjan, R.E.: A separator theorem for planar graphs. SIAM J. Appl. Math. 36(2), 177–189 (1979)MathSciNetCrossRefGoogle Scholar
  14. 14.
    Łȧcki, J., Ocwieja, J., Pilipczuk, M., Sankowski, P., Zych, A.: The power of dynamic distance oracles: efficient dynamic algorithms for the steiner tree. In: STOC, pp. 11–20 (2015)Google Scholar
  15. 15.
    Mozes, S., Skop, E.E.: Efficient vertex-label distance oracles for planar graphs. In: WAOA, pp. 97–109 (2015)CrossRefGoogle Scholar
  16. 16.
    Mozes, S., Skop, E.E.: Efficient vertex-label distance oracles for planar graphs. Theory of Computing Systems. (2017)MathSciNetCrossRefGoogle Scholar
  17. 17.
    Pagh, R., Rodler, F.F.: Cuckoo hashing. In: ESA, pp. 121–133 (2001)CrossRefGoogle Scholar
  18. 18.
    Sommer, C.: Shortest-path queries in static networks. ACM Comput. Surv. 46(4), 45:1–45:31 (2014). CrossRefzbMATHGoogle Scholar
  19. 19.
    Thorup, M.: Compact oracles for reachability and approximate distances in planar digraphs. J. ACM 51(6), 993–1024 (2004). MathSciNetCrossRefzbMATHGoogle Scholar
  20. 20.
    Thorup, M., Zwick, U.: Approximate distance oracles. In: STOC, pp. 183–192. ACM (2001)Google Scholar
  21. 21.
    Wilkinson, B.T.: Amortized bounds for dynamic orthogonal range reporting. In: ESA, pp. 842–856 (2014)CrossRefGoogle Scholar
  22. 22.
    Willard, D.E.: Log-logarithmic worst-case range queries are possible in space theta(n). Inf. Process. Lett. 17(2), 81–84 (1983). CrossRefzbMATHGoogle Scholar
  23. 23.
    Wulff-Nilsen, C.: Approximate distance oracles with improved preprocessing time. In: SODA, pp. 202–208. SIAM (2012)Google Scholar
  24. 24.
    Wulff-Nilsen, C.: Approximate distance oracles for planar graphs with improved query time-space tradeoff. In: SODA, pp. 351–362 (2016)Google Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2019

Authors and Affiliations

  1. 1.Efi Arazi School of Computer ScienceThe Interdisciplinary Center HerzliyaHerzliyaIsrael

Personalised recommendations