Dynamic approximate all-pairs shortest paths: Breaking the O(mn) barrier and derandomization

Henzinger M, Krinninger S, Nanongkai D. 2016. Dynamic approximate all-pairs shortest paths: Breaking the O(mn) barrier and derandomization. SIAM Journal on Computing. 45(3), 947–1006.

Download (ext.)

Journal Article | Published | English

Scopus indexed
Author
Henzinger, MonikaISTA ; Krinninger, Sebastian; Nanongkai, Danupon
Abstract
We study dynamic (1+πœ–)-approximation algorithms for the all-pairs shortest paths problem in unweighted undirected 𝑛-node π‘š-edge graphs under edge deletions. The fastest algorithm for this problem is a randomized algorithm with a total update time of 𝑂̃ (π‘šπ‘›/πœ–) and constant query time by Roditty and Zwick [SIAM J. Comput., 41 (2012), pp. 670--683]. The fastest deterministic algorithm is from a 1981 paper by Even and Shiloach [J. ACM, 28 (1981), pp. 1--4]; it has a total update time of 𝑂(π‘šπ‘›2) and constant query time. We improve these results as follows: (1) We present an algorithm with a total update time of 𝑂̃ (𝑛5/2/πœ–) and constant query time that has an additive error of 2 in addition to the 1+πœ– multiplicative error. This beats the previous 𝑂̃ (π‘šπ‘›/πœ–) time when π‘š=Ξ©(𝑛3/2). Note that the additive error is unavoidable since, even in the static case, an 𝑂(𝑛3βˆ’π›Ώ)-time (a so-called truly subcubic) combinatorial algorithm with 1+πœ– multiplicative error cannot have an additive error less than 2βˆ’πœ–, unless we make a major breakthrough for Boolean matrix multiplication [D. Dor, S. Halrepin, and U. Zwick, SIAM J. Comput., 29 (2000), pp. 1740--1759] and many other long-standing problems [V. Vassilevska Williams and R. Williams, Proceedings of the 2010 IEEE 51st Annual Symposium on Foundations of Computer Science, 2010, pp. 645--654]. The algorithm can also be turned into a (2+πœ–)-approximation algorithm (without an additive error) with the same time guarantees, improving the recent (3+πœ–)-approximation algorithm with 𝑂̃ (𝑛5/2+𝑂(log(1/πœ–)/logπ‘›βˆš)) running time of Bernstein and Roditty [Proceedings of the Twenty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, 2011, pp. 1355--1365] in terms of both approximation and time guarantees. (2) We present a deterministic algorithm with a total update time of 𝑂̃ (π‘šπ‘›/πœ–) and a query time of 𝑂(loglog𝑛). The algorithm has a multiplicative error of 1+πœ– and gives the first improved deterministic algorithm since 1981. It also answers an open question raised by Bernstein in [Proceedings of the Forty-Fifth Annual ACM Symposium on Theory of Computing, 2013, pp. 725--734]. The deterministic algorithm can be turned into a deterministic fully dynamic (1+πœ–)-approximation with an amortized update time of 𝑂̃ (π‘šπ‘›/(πœ–π‘‘)) and a query time of 𝑂̃ (𝑑) for every π‘‘β‰€π‘›βˆš. In order to achieve our results, we introduce two new techniques: (i) A monotone Even--Shiloach tree algorithm which maintains a bounded-distance shortest-paths tree on a certain type of emulator called a locally persevering emulator. (ii) A derandomization technique based on moving Even--Shiloach trees as a way to derandomize the standard random set argument. These techniques might be of independent interest.
Publishing Year
Date Published
2016-05-01
Journal Title
SIAM Journal on Computing
Publisher
Society for Industrial & Applied Mathematics
Volume
45
Issue
3
Page
947-1006
ISSN
eISSN
IST-REx-ID

Cite this

Henzinger M, Krinninger S, Nanongkai D. Dynamic approximate all-pairs shortest paths: Breaking the O(mn) barrier and derandomization. SIAM Journal on Computing. 2016;45(3):947-1006. doi:10.1137/140957299
Henzinger, M., Krinninger, S., & Nanongkai, D. (2016). Dynamic approximate all-pairs shortest paths: Breaking the O(mn) barrier and derandomization. SIAM Journal on Computing. Society for Industrial & Applied Mathematics. https://doi.org/10.1137/140957299
Henzinger, Monika, Sebastian Krinninger, and Danupon Nanongkai. β€œDynamic Approximate All-Pairs Shortest Paths: Breaking the O(Mn) Barrier and Derandomization.” SIAM Journal on Computing. Society for Industrial & Applied Mathematics, 2016. https://doi.org/10.1137/140957299.
M. Henzinger, S. Krinninger, and D. Nanongkai, β€œDynamic approximate all-pairs shortest paths: Breaking the O(mn) barrier and derandomization,” SIAM Journal on Computing, vol. 45, no. 3. Society for Industrial & Applied Mathematics, pp. 947–1006, 2016.
Henzinger M, Krinninger S, Nanongkai D. 2016. Dynamic approximate all-pairs shortest paths: Breaking the O(mn) barrier and derandomization. SIAM Journal on Computing. 45(3), 947–1006.
Henzinger, Monika, et al. β€œDynamic Approximate All-Pairs Shortest Paths: Breaking the O(Mn) Barrier and Derandomization.” SIAM Journal on Computing, vol. 45, no. 3, Society for Industrial & Applied Mathematics, 2016, pp. 947–1006, doi:10.1137/140957299.
All files available under the following license(s):
Copyright Statement:
This Item is protected by copyright and/or related rights. [...]

Link(s) to Main File(s)
Access Level
OA Open Access

Export

Marked Publications

Open Data ISTA Research Explorer

Sources

arXiv 1308.0776

Search this title in

Google Scholar