Skip to main content
Log in

Efficient Dynamic Approximate Distance Oracles for Vertex-Labeled Planar Graphs

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Notes

  1. We assume that a single comparison or addition of two numbers takes constant time.

  2. The lemma applies to any graph (not necessarily planar). The size of a graph H is defined as |H| = |V (H)| + |E(H)|. For planar graphs |H| = O(|V (H)|).

  3. The discussion of α-layered graphs in Section 2 refers to directed graphs, and hence also applies to undirected graphs.

  4. We assume that the endpoints of the intervals are vertices on Q, since otherwise one can add artificial vertices on Q without asymptotically changing the size of the graph.

  5. Note that if one is only interested in reporting distances, and is not interested in being able to also trace back the shortest path, then the doubly-linked list can be replaced with a counter for the number of vertices represented by each ID in Lr(q, λ).

  6. Formally, one needs to show that Lemma 1 holds for vertex-labeled oracles as well. We refer the reader to the detailed proof due to Mozes and Skop [16, Section 5.1].

References

  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)

  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)

  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)

  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). https://doi.org/10.1145/828.1884

    Article  MathSciNet  MATH  Google Scholar 

  5. Gu, Q., Xu, G.: Constant query time (1 + 𝜖)-approximate distance oracle for planar graphs. In: ISAAC, pp. 625–636 (2015)

  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). https://doi.org/10.1006/jcss.1997.1493

    Article  MathSciNet  MATH  Google Scholar 

  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)

  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)

  9. Kawarabayashi, K., Sommer, C., Thorup, M.: More compact oracles for approximate distances in undirected planar graphs. In: SODA, pp. 550–563. SIAM (2013)

  10. Klein, P.N.: Preprocessing an undirected planar network to enable fast approximate distance queries. In: SODA, pp. 820–827 (2002)

  11. Klein, P.N.: Multiple-source shortest paths in planar graphs. In: SODA, pp. 146–155 (2005)

  12. Li, M., Ma, C.C.C.: Ning, L.: (1 + 𝜖)-distance oracles for vertex-labeled planar graphs. In: TAMC, pp. 42–51 (2013)

  13. Lipton, R.J., Tarjan, R.E.: A separator theorem for planar graphs. SIAM J. Appl. Math. 36(2), 177–189 (1979)

    Article  MathSciNet  Google Scholar 

  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)

  15. Mozes, S., Skop, E.E.: Efficient vertex-label distance oracles for planar graphs. In: WAOA, pp. 97–109 (2015)

    Chapter  Google Scholar 

  16. Mozes, S., Skop, E.E.: Efficient vertex-label distance oracles for planar graphs. Theory of Computing Systems. https://doi.org/10.1007/s00224-017-9827-0 (2017)

    Article  MathSciNet  Google Scholar 

  17. Pagh, R., Rodler, F.F.: Cuckoo hashing. In: ESA, pp. 121–133 (2001)

    Chapter  Google Scholar 

  18. Sommer, C.: Shortest-path queries in static networks. ACM Comput. Surv. 46(4), 45:1–45:31 (2014). https://doi.org/10.1145/2530531

    Article  MATH  Google Scholar 

  19. Thorup, M.: Compact oracles for reachability and approximate distances in planar digraphs. J. ACM 51(6), 993–1024 (2004). https://doi.org/10.1145/1039488.1039493

    Article  MathSciNet  MATH  Google Scholar 

  20. Thorup, M., Zwick, U.: Approximate distance oracles. In: STOC, pp. 183–192. ACM (2001)

  21. Wilkinson, B.T.: Amortized bounds for dynamic orthogonal range reporting. In: ESA, pp. 842–856 (2014)

    Chapter  Google Scholar 

  22. Willard, D.E.: Log-logarithmic worst-case range queries are possible in space theta(n). Inf. Process. Lett. 17(2), 81–84 (1983). https://doi.org/10.1016/0020-0190(83)90075-3

    Article  MATH  Google Scholar 

  23. Wulff-Nilsen, C.: Approximate distance oracles with improved preprocessing time. In: SODA, pp. 202–208. SIAM (2012)

  24. Wulff-Nilsen, C.: Approximate distance oracles for planar graphs with improved query time-space tradeoff. In: SODA, pp. 351–362 (2016)

Download references

Acknowledgements

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

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shay Mozes.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

An extended abstract of this work was presented in the 15th Workshop on Approximation and Online Algorithms (WAOA 2017), held in Vienna, Austria, September 2017.

This article is part of the Topical Collection on Special Issue on Approximation and Online Algorithms (2017)

This research was supported by the ISRAEL SCIENCE FOUNDATION (grant Nos. 794/13, 592/17).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Laish, I., Mozes, S. Efficient Dynamic Approximate Distance Oracles for Vertex-Labeled Planar Graphs. Theory Comput Syst 63, 1849–1874 (2019). https://doi.org/10.1007/s00224-019-09949-5

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-019-09949-5

Keywords

Navigation