Abstract
We consider distance queries in vertex labeled planar graphs. For any fixed \(0 < \epsilon \le 1/2\) we show how to preprocess an undirected planar graph with vertex labels and edge lengths to answer queries of the following form. Given a vertex u and a label \(\lambda \) return a \((1+\epsilon )\)-approximation of the distance between u and its closest vertex with labelĀ \(\lambda \). The query time of our data structure is \(O(\lg \lg {n} + \epsilon ^{-1})\), where n is the number of vertices. The space and preprocessing time of our data structure are nearly linear. We give a similar data structure for directed planar graphs with slightly worse performance. The best prior result for the undirected case has similar space and preprocessing bounds, but exponentially slower query time. No nontrivial results were previously considered for the directed case.
This work was partially supported by Israel Science Foundation grant 794/13 and by the Israeli ministry of absorption.
A full version of this paper, including figures, can be found in http://arxiv.org/abs/1504.04690.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Thorupās treatmentĀ [11] of the undirected step does not contain the full details. See the full version of this paper for ellaboration.
- 2.
The term quasi-\(\epsilon \)-cover is not used by Thorup. He uses \(\epsilon \)-covers for this notion.
- 3.
Klein showed this lemma for \(\epsilon \)-covering sets, while Thorup showed a similar lemma using a different notion of \(\epsilon \)-covering sets.
- 4.
InĀ [11] a thinning procedure is given only for the directed case, and it is claimed that quasi-\(\epsilon \)-covering sets can be thinned. We believe this is not correct. See the full version. Instead, we give here a thinning procedure for \(\epsilon \)-covering sets.
- 5.
We refer to the vertices of \(\mathcal T\) as nodes to distinguish them from the vertices of G.
- 6.
These connections are only required for the efficient construction.
References
Abraham, I., Chechik, S., Krauthgamer, R., Wieder, U.: Approximate nearest neighbor search in metrics of planar graphs. APPROX/RANDOM 2015, 20ā42 (2015)
Chechik, S.: Improved distance oracles and spanners for vertex-labeled graphs. In: Epstein, L., Ferragina, P. (eds.) ESA 2012. LNCS, vol. 7501, pp. 325ā336. Springer, Heidelberg (2012)
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)
Hermelin, D., Levy, A., Weimann, O., Yuster, R.: Distance oracles for vertex-labeled graphs. In: Aceto, L., Henzinger, M., Sgall, J. (eds.) ICALP 2011, Part II. LNCS, vol. 6756, pp. 490ā501. Springer, Heidelberg (2011)
Kawarabayashi, K., Klein, P.N., Sommer, C.: Linear-space approximate distance oracles for planar, bounded-genus and minor-free graphs. In: Aceto, L., Henzinger, M., Sgall, J. (eds.) ICALP 2011, Part I. LNCS, vol. 6755, pp. 135ā146. Springer, Heidelberg (2011)
Kawarabayashi, K., Sommer, C., Thorup, M.: More compact oracles for approximate distances in undirected planar graphs. In: SODA 2013, pp. 550ā563 (2013)
Klein, P.N.: Preprocessing an undirected planar network to enable fast approximate distance queries. In: SODA 2002, pp. 820ā827 (2002)
Li, M., Ma, C.C.C., Ning, L.: (1 + \(\epsilon \))-distance oracles for vertex-labeled planar graphs. In: Chan, T.-H.H., Lau, L.C., Trevisan, L. (eds.) TAMC 2013. LNCS, vol. 7876, pp. 42ā51. Springer, Heidelberg (2013)
Lipton, R., Tarjan, R.: A separator theorem for planar graphs. SIAM J. Appl. Math. 36, 177ā189 (1979)
ÅÄ 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 2015, pp. 11ā20 (2015)
Thorup, M.: Compact oracles for reachability and approximate distances in planar digraphs. J. ACM 51(6), 993ā1024 (2004)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
Ā© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Mozes, S., Skop, E.E. (2015). Efficient Vertex-Label Distance Oracles for Planar Graphs. In: SanitĆ , L., Skutella, M. (eds) Approximation and Online Algorithms. WAOA 2015. Lecture Notes in Computer Science(), vol 9499. Springer, Cham. https://doi.org/10.1007/978-3-319-28684-6_9
Download citation
DOI: https://doi.org/10.1007/978-3-319-28684-6_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-28683-9
Online ISBN: 978-3-319-28684-6
eBook Packages: Computer ScienceComputer Science (R0)