Abstract
Consider an undirected weighted graph G = (V,E) with |V| = n and |E| = m, where each vertex v ∈ V is assigned a label from a set of labels L = {λ 1,...,λ ℓ}. We show how to construct a compact distance oracle that can answer queries of the form: “what is the distance from v to the closest λ-labeled vertex” for a given vertex v ∈ V and label λ ∈ L.
This problem was introduced by Hermelin, Levy, Weimann and Yuster [ICALP 2011] where they present several results for this problem. In the first result, they show how to construct a vertex-label distance oracle of expected size O(kn 1 + 1/k) with stretch (4k − 5) and query time O(k). In a second result, they show how to reduce the size of the data structure to O(kn ℓ1/k) at the expense of a huge stretch, the stretch of this construction grows exponentially in k, (2k − 1). In the third result they present a dynamic vertex-label distance oracle that is capable of handling label changes in a sub-linear time. The stretch of this construction is also exponential in k, (2·3k − 1 + 1).
We manage to significantly improve the stretch of their constructions, reducing the dependence on k from exponential to polynomial (4k − 5), without requiring any tradeoff regarding any of the other variables.
In addition, we introduce the notion of vertex-label spanners: subgraphs that preserve distances between every vertex v ∈ V and label λ ∈ L. We present an efficient construction for vertex-label spanners with stretch-size tradeoff close to optimal.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Abraham, I., Gavoille, C.: On Approximate Distance Labels and Routing Schemes with Affine Stretch. In: Peleg, D. (ed.) Distributed Computing. LNCS, vol. 6950, pp. 404–415. Springer, Heidelberg (2011)
Althöfer, I., Das, G., Dobkin, D., Joseph, D., Soares, J.: On sparse spanners of weighted graphs. Discrete & Computational Geometry 9, 81–100 (1993)
Baswana, S., Gaur, A., Sen, S., Upadhyay, J.: Distance Oracles for Unweighted Graphs: Breaking the Quadratic Barrier with Constant Additive Error. In: Aceto, L., Damgård, I., Goldberg, L.A., Halldórsson, M.M., Ingólfsdóttir, A., Walukiewicz, I. (eds.) ICALP 2008, Part I. LNCS, vol. 5125, pp. 609–621. Springer, Heidelberg (2008)
Baswana, S., Kavitha, T.: Faster algorithms for approximate distance oracles and all-pairs small stretch paths. In: FOCS, pp. 591–602 (2006)
Baswana, S., Sen, S.: Approximate distance oracles for unweighted graphs in expected O(n 2) time. ACM Transactions on Algorithms, 557–577 (2006)
Erdős, P.: Extremal problems in graph theory. In: Theory of Graphs and Its Applications, pp. 29–36 (1964)
Farley, A.M., Proskurowski, A., Zappala, D., Windisch, K.: Spanners and message distribution in networks. Discrete Applied Mathematics 137(2), 159–171 (2004)
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)
Mendel, M., Naor, A.: Ramsey partitions and proximity data structures. Journal of the European Mathematical Society, 253–275 (2007)
Pǎtraşcu, M., Roditty, L.: Distance oracles beyond the thorup-zwick bound. In: FOCS, pp. 815–823 (2010)
Peleg, D., Scháffer, A.A.: Graph spanners. J. Graph Theory, 99–116 (1989)
Peleg, D., Ullman, J.D.: An optimal synchronizer for the hypercube. SIAM J. Computing 18(4), 740–747 (1989)
Peleg, D., Upfal, E.: A trade-off between space and efficiency for routing tables. J. ACM 36(3), 510–530 (1989)
Roditty, L., Thorup, M., Zwick, U.: Deterministic Constructions of Approximate Distance Oracles and Spanners. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP 2005. LNCS, vol. 3580, pp. 261–272. Springer, Heidelberg (2005)
Sommer, C., Verbin, E., Yu, W.: Distance oracles for sparse graphs. In: FOCS, pp. 703–712 (2009)
Thorup, M., Zwick, U.: Compact routing schemes. In: SPAA, pp. 1–10 (2001)
Thorup, M., Zwick, U.: Approximate distance oracles. Journal of the ACM, 1–24 (2005)
van Emde Boas, P., Kaas, R., Ziljstra, E.: Design and implementation of an effcient priority queue. Mathematical Systems Theory 10, 99–127 (1977)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chechik, S. (2012). Improved Distance Oracles and Spanners for Vertex-Labeled Graphs. In: Epstein, L., Ferragina, P. (eds) Algorithms – ESA 2012. ESA 2012. Lecture Notes in Computer Science, vol 7501. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-33090-2_29
Download citation
DOI: https://doi.org/10.1007/978-3-642-33090-2_29
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-33089-6
Online ISBN: 978-3-642-33090-2
eBook Packages: Computer ScienceComputer Science (R0)