×

Constructing light spanners deterministically in near-linear time. (English) Zbl 1534.68136

Summary: Graph spanners are well-studied and widely used both in theory and practice. In a recent breakthrough, S. Chechik and C. Wulff-Nilsen [ACM Trans. Algorithms 14, No. 3, Article No. 33, 15 p. (2018; Zbl 1457.05029)] improved the state-of-the-art for light spanners by constructing a \((2k-1)(1+\varepsilon)\)-spanner with \(O(n^{1+\frac{1}{k}})\) edges and \(O_\varepsilon(n^{\frac{1}{k}})\) lightness. Soon after, A. Filtser and S. Solomon [SIAM J. Comput. 49, No. 2, 429–447 (2020; Zbl 1437.05221)] showed that the classic greedy spanner construction achieves the same bounds. The major drawback of the greedy spanner is its running time of \(O(mn^{1+\frac{1}{k}})\) (which is faster than [Chechik and Wulff-Nilsen, loc. cit.]). This makes the construction impractical even for graphs of moderate size. Much faster spanner constructions do exist but they only achieve lightness \(\Omega_\varepsilon(kn^{\frac{1}{k}})\), even when randomization is used.
The contribution of this paper is deterministic spanner constructions that are fast, and achieve similar bounds as the state-of-the-art slower constructions. Our first result is an \(O_\varepsilon(n^{2+\frac{1}{k}+\varepsilon^\prime})\) time spanner construction which achieves the state-of-the-art bounds. Our second result is an \(O_\varepsilon(m+n\log n)\) time construction of a spanner with \((2k-1)(1+\varepsilon)\) stretch, \(O(\log k\cdot n^{1+\frac{1}{k}})\) edges and \(O_\varepsilon(\log k\cdot n^{\frac{1}{k}})\) lightness. This is an exponential improvement in the dependence on \(k\) compared to the previous result with such running time. Finally, for the important special case where \(k=\log n\), for every constant \(\varepsilon > 0\), we provide an \(O(m + n^{1 + \varepsilon})\) time construction that produces an \(O(\log n)\)-spanner with \(O(n)\) edges and \(O(1)\) lightness which is asymptotically optimal. This is the first known sub-quadratic construction of such a spanner for any \(k=\omega(1)\).
To achieve our constructions, we show a novel deterministic incremental approximate distance oracle. Our new oracle is crucial in our construction, as known randomized dynamic oracles require the assumption of a non-adaptive adversary. This is a strong assumption, which has seen recent attention in prolific venues. Our new oracle allows the order of the edge insertions to not be fixed in advance, which is critical as our spanner algorithm chooses which edges to insert based on the answers to distance queries. We believe our new oracle is of independent interest.

MSC:

68R10 Graph theory (including graph drawing) in computer science
05C22 Signed and weighted graphs
05C85 Graph algorithms (graph-theoretic aspects)
68P05 Data structures
68W40 Analysis of algorithms

References:

[1] Althöfer, Ingo; Das, Gautam; Dobkin, David; Joseph, Deborah; Soares, José, On sparse spanners of weighted graphs, Discrete Comput. Geom., 9, 1, 81-100 (1993) · Zbl 0762.05039
[2] Awerbuch, Baruch, Complexity of network synchronization, J. ACM, 32, 4, 804-823 (October 1985) · Zbl 0628.68045
[3] Bartal, Yair; Filtser, Arnold; Neiman, Ofer, On notions of distortion and an almost minimum spanning tree with constant average distortion, J. Comput. Syst. Sci. (2019) · Zbl 1423.68326
[4] Bhattacharya, Sayan; Henzinger, Monika; Nanongkai, Danupon, New deterministic approximation algorithms for fully dynamic matching, (Proc. 48th ACM Symposium on Theory of Computing (STOC) (2016)), 398-411 · Zbl 1376.68169
[5] Baswana, Surender; Sen, Sandeep, A simple and linear time randomized algorithm for computing sparse spanners in weighted graphs, Random Struct. Algorithms, 30, 4, 532-563 (2007), See also ICALP’03 · Zbl 1118.68582
[6] Chandra, Barun; Das, Gautam; Narasimhan, Giri; Soares, José, New sparseness results on graph spanners, (Proc. 8th ACM Symposium on Computational Geometry (SoCG) (1992)), 192-201 · Zbl 0818.68078
[7] Chechik, Shiri, Compact routing schemes with improved stretch, (Proc. ACM Symposium on Principles of Distributed Computing (PODC) (2013)), 33-41 · Zbl 1323.68029
[8] Chechik, Shiri, Approximate distance oracles with constant query time, (Proc. 46th ACM Symposium on Theory of Computing (STOC) (2014)), 654-663 · Zbl 1315.68112
[9] Chechik, Shiri, Approximate distance oracles with improved bounds, (Proc. 47th ACM Symposium on Theory of Computing (STOC) (2015)), 1-10 · Zbl 1321.68216
[10] Chechik, Shiri; Wulff-Nilsen, Christian, Near-optimal light spanners, ACM Trans. Algorithms, 14, 3, Article 33 pp. (2018) · Zbl 1457.05029
[11] Das, Gautam; Narasimhan, Giri, A fast algorithm for constructing sparse Euclidean spanners, Int. J. Comput. Geom. Appl., 7, 4, 297-315 (1997) · Zbl 0883.68117
[12] Elkin, Michael; Neiman, Ofer, Efficient algorithms for constructing very sparse spanners and emulators, ACM Trans. Algorithms, 15, 1, Article 4 pp. (2019) · Zbl 1435.68378
[13] Elkin, Michael; Neiman, Ofer; Solomon, Shay, Light spanners, SIAM J. Discrete Math., 29, 3, 1312-1321 (2015) · Zbl 1317.05183
[14] Erdős, Paul, Extremal problems in graph theory, (Theory of Graphs and Its Applications (1964)), 29-36 · Zbl 0161.20501
[15] Shimon, Even; Shiloach, Yossi, An on-line edge-deletion problem, J. ACM, 28, 1, 1-4 (1981) · Zbl 0454.68075
[16] Elkin, Michael; Solomon, Shay, Fast constructions of lightweight spanners for general graphs, ACM Trans. Algorithms, 12, 3, Article 29 pp. (2016), See also SODA’13 · Zbl 1446.68116
[17] Farley, Arthur M.; Proskurowski, Andrzej; Zappala, Daniel; Windisch, Kurt, Spanners and message distribution in networks, Discrete Appl. Math., 137, 2, 159-171 (2004) · Zbl 1062.68085
[18] Filtser, Arnold; Solomon, Shay, The greedy spanner is existentially optimal, 49, 429-447 (2020) · Zbl 1437.05221
[19] Henzinger, Monika; Krinninger, Sebastian; Nanongkai, Danupon, Dynamic approximate all-pairs shortest paths: breaking the o(mn) barrier and derandomization, SIAM J. Comput., 45, 3, 947-1006 (2016), See also FOCS’13 · Zbl 1339.05387
[20] Shay Halperin, Uri Zwick, Linear time deterministic algorithm for computing spanners for unweighted graphs, 1996. · Zbl 0870.68113
[21] Kruskal, Joseph B., On the shortest spanning subtree of a graph and the traveling salesman problem, Proc. Am. Math. Soc., 7, 1, 48-50 (February 1956) · Zbl 0070.18404
[22] Koutis, Ioannis; Xu, Shen Chen, Simple parallel and distributed algorithms for spectral graph sparsification, ACM Trans. Parallel Comput., 3, 2, Article 14 pp. (2016)
[23] Miller, Gary L.; Peng, Richard; Vladu, Adrian; Xu, Shen Chen, Improved parallel algorithms for spanners and hopsets, (Proc. 27th ACM Symposium on Parallel Algorithms and Architectures (SPAA) (2015)), 192-201
[24] Peleg, David; Schäffer, Alejandro A., Graph spanners, J. Graph Theory, 13, 1, 99-116 (1989) · Zbl 0673.05059
[25] Peleg, David; Ullman, Jeffrey D., An optimal synchronizer for the hypercube, (Proc. 6th ACM Symposium on Principles of Distributed Computing (PODC) (1987)), 77-85
[26] Peleg, David; Upfal, Eli, A tradeoff between space and efficiency for routing tables, (Proc 20th ACM Symposium on Theory of Computing (STOC) (1988)), 43-52
[27] Roditty, Liam; Thorup, Mikkel; Zwick, Uri, Deterministic constructions of approximate distance oracles and spanners, (Proc. 32nd International Colloquium on Automata, Languages and Programming (ICALP) (2005)), 261-272 · Zbl 1082.68087
[28] Roditty, Liam; Zwick, Uri, On dynamic shortest paths problems, Algorithmica, 61, 2, 389-401 (2011) · Zbl 1244.68091
[29] Roditty, Liam; Zwick, Uri, Dynamic approximate all-pairs shortest paths in undirected graphs, SIAM J. Comput., 41, 3, 670-683 (2012), See also FOCS’04 · Zbl 1247.68340
[30] Tarjan, Robert Endre, Efficiency of a good but not linear set union algorithm, J. ACM, 22, 2, 215-225 (apr 1975) · Zbl 0307.68029
[31] Thorup, Mikkel; Zwick, Uri, Compact routing schemes, (Proc. 13th ACM Symposium on Parallel Algorithms and Architectures (SPAA) (2001)), 1-10
[32] Thorup, Mikkel; Zwick, Uri, Approximate distance oracles, J. ACM, 52, 1, 1-24 (January 2005), See also STOC’01 · Zbl 1175.68303
[33] Wulff-Nilsen, Christian, Approximate distance oracles with improved preprocessing time, (Proc. 23rd ACM/SIAM Symposium on Discrete Algorithms (SODA) (2012)), 202-208 · Zbl 1422.68197
[34] Wulff-Nilsen, Christian, Approximate distance oracles with improved query time, (Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms. Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2013, New Orleans, Louisiana, USA, January 6-8, 2013 (2013)), 539-549 · Zbl 1422.68198
[35] Wulff-Nilsen, Christian, Fully-dynamic minimum spanning forest with improved worst-case update time, (Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing. Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, Montreal, QC, Canada, June 19-23, 2017 (2017)), 1130-1143 · Zbl 1370.68238
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.