{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,29]],"date-time":"2026-09-29T06:18:05Z","timestamp":1790662685084,"version":"4.1.0"},"reference-count":53,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"3","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2016,1]]},"abstract":"<jats:p>We study dynamic $(1+\\epsilon)$-approximation algorithms for the all-pairs shortest paths problem in unweighted undirected $n$-node $m$-edge graphs under edge deletions. The fastest algorithm for this problem is a randomized algorithm with a total update time of $\\tilde O(mn\/\\epsilon)$ 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 $O(mn^2)$ and constant query time. We improve these results as follows: (1) We present an algorithm with a total update time of $\\tilde O(n^{5\/2}\/\\epsilon)$ and constant query time that has an additive error of 2 in addition to the $1+\\epsilon$ multiplicative error. This beats the previous $\\tilde O(mn\/\\epsilon)$ time when $m=\\Omega(n^{3\/2})$. Note that the additive error is unavoidable since, even in the static case, an $O(n^{3-\\delta})$-time (a so-called truly subcubic) combinatorial algorithm with $1+\\epsilon$ multiplicative error cannot have an additive error less than $2-\\epsilon$, 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+\\epsilon)$-approximation algorithm (without an additive error) with the same time guarantees, improving the recent $(3+\\epsilon)$-approximation algorithm with $\\tilde O(n^{5\/2+O(\\sqrt{\\log{(1\/\\epsilon)} \/ \\log n})})$ 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 $\\tilde O(mn\/\\epsilon)$ and a query time of $O(\\log\\log n)$. The algorithm has a multiplicative error of $1+\\epsilon $ 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+\\epsilon) $-approximation with an amortized update time of $ \\tilde O (m n \/ (\\epsilon t))$ and a query time of $ \\tilde O (t) $ for every $ t \\leq \\sqrt{n} $. 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.<\/jats:p>","DOI":"10.1137\/140957299","type":"journal-article","created":{"date-parts":[[2016,6,29]],"date-time":"2016-06-29T17:28:58Z","timestamp":1467221338000},"page":"947-1006","source":"Crossref","is-referenced-by-count":34,"title":["Dynamic Approximate All-Pairs Shortest Paths: Breaking the $O(mn)$ Barrier and Derandomization"],"prefix":"10.1137","volume":"45","author":[{"given":"Monika","family":"Henzinger","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sebastian","family":"Krinninger","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Danupon","family":"Nanongkai","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2016,6,29]]},"reference":[{"key":"atypb1","doi-asserted-by":"crossref","unstructured":"A. Abboud and V. Vassilevska Williams,\n                      Popular conjectures imply strong lower bounds for dynamic problems\n                      , in Proceedings of the 55th Annual Symposium on Foundations of Computer Science (FOCS 2014), 2014, pp. 434-443.","DOI":"10.1109\/FOCS.2014.53"},{"key":"atypb2","unstructured":"I. Abraham and S. Chechik,\n                      Dynamic Decremental Approximate Distance Oracles with $(1+\\epsilon,2)$ Stretch\n                      , preprint, CoRR, abs\/1307.1516 (2013)."},{"key":"atypb3","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539796303421"},{"key":"atypb4","doi-asserted-by":"publisher","DOI":"10.7155\/jgaa.00133"},{"key":"atypb5","doi-asserted-by":"publisher","DOI":"10.1016\/0196-6774(91)90036-X"},{"key":"atypb6","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(92)90267-J"},{"key":"atypb7","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539794271898"},{"key":"atypb8","doi-asserted-by":"publisher","DOI":"10.1145\/2395116.2395121"},{"key":"atypb9","unstructured":"S. Baswana, R. Hariharan, and S. Sen,\n                      Maintaining all-pairs approximate shortest paths under deletion of edges\n                      , in Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2003), 2003, pp. 394-403."},{"key":"atypb10","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgor.2004.08.004"},{"key":"atypb11","doi-asserted-by":"publisher","DOI":"10.1145\/2344422.2344425"},{"key":"atypb12","doi-asserted-by":"publisher","DOI":"10.1007\/BF01294260"},{"key":"atypb13","doi-asserted-by":"crossref","unstructured":"A. Bernstein,\n                      Fully dynamic $ (2 + \\epsilon) $ approximate all-pairs shortest paths with fast query and close to linear update time\n                      , in Proceedings of the 50th Annual Symposium on Foundations of Computer Science (FOCS 2009), 2009, pp. 693-702.","DOI":"10.1109\/FOCS.2009.16"},{"key":"atypb14","doi-asserted-by":"crossref","unstructured":"A. Bernstein,\n                      Maintaining shortest paths under deletions in weighted directed graphs\n                      , in Proceedings of the Forty-Fifth Annual ACM Symposium on Theory of Computing (STOC 2013), 2013, pp. 725-734.","DOI":"10.1145\/2488608.2488701"},{"key":"atypb15","first-page":"1355","author":"Bernstein A.","year":"2011","journal-title":"Philadelphia"},{"key":"atypb16","unstructured":"A. Borodin and R. El-Yaniv,\n                      Online Computation and Competitive Analysis\n                      , Cambridge University Press, Cambridge, UK, 1998."},{"key":"atypb17","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-010-0105-x"},{"key":"atypb18","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539794261295"},{"key":"atypb19","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.2000.1117"},{"key":"atypb20","doi-asserted-by":"crossref","unstructured":"C. Demetrescu and G. F. Italiano,\n                      Improved bounds and new trade-offs for dynamic all pairs shortest paths\n                      , in Proceedings of the 29th International Colloquium on Automata, Languages and Programming (ICALP 2002), 2002, pp. 633-643.","DOI":"10.1007\/3-540-45465-9_54"},{"key":"atypb21","doi-asserted-by":"publisher","DOI":"10.1145\/1039488.1039492"},{"key":"atypb22","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2005.05.005"},{"key":"atypb23","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539791194094"},{"key":"atypb24","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539797327908"},{"key":"atypb25","doi-asserted-by":"publisher","DOI":"10.1145\/1103963.1103968"},{"key":"atypb26","doi-asserted-by":"publisher","DOI":"10.1145\/1921659.1921666"},{"key":"atypb27","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539701393384"},{"key":"atypb28","doi-asserted-by":"publisher","DOI":"10.1145\/322234.322235"},{"key":"atypb29","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2005.05.007"},{"key":"atypb30","doi-asserted-by":"crossref","unstructured":"M. R. Henzinger and V. King,\n                      Fully dynamic biconnectivity and transitive closure\n                      , in Proceedings of the 36th Annual Symposium on Foundations of Computer Science (FOCS 1995), 1995, pp. 664-672.","DOI":"10.1109\/SFCS.1995.492668"},{"key":"atypb31","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539797327209"},{"key":"atypb32","doi-asserted-by":"crossref","unstructured":"M. Henzinger, S. Krinninger, and D. Nanongkai,\n                      Dynamic approximate all-pairs shortest paths: Breaking the $O(mn)$ barrier and derandomization\n                      , in Proceedings of the 54th Annual Symposium on Foundations of Computer Science (FOCS 2013), 2013, pp. 538-547.","DOI":"10.1109\/FOCS.2013.64"},{"key":"atypb33","doi-asserted-by":"crossref","unstructured":"M. Henzinger, S. Krinninger, and D. Nanongkai,\n                      Sublinear-time maintenance of breadth-first spanning tree in partially dynamic networks\n                      , in Proceedings of the 40th International Colloquium on Automata, Languages and Programming (ICALP 2013), 2013, pp. 607-619.","DOI":"10.1007\/978-3-642-39212-2_53"},{"key":"atypb34","doi-asserted-by":"crossref","unstructured":"M. Henzinger, S. Krinninger, and D. Nanongkai,\n                      Decremental single-source shortest paths on undirected graphs in near-linear total update time\n                      , in Proceedings of the 55th Annual Symposium on Foundations of Computer Science (FOCS 2014), 2014, pp. 146-155.","DOI":"10.1109\/FOCS.2014.24"},{"key":"atypb35","doi-asserted-by":"crossref","unstructured":"M. Henzinger, S. Krinninger, and D. Nanongkai,\n                      Sublinear-time decremental algorithms for single-source reachability and shortest paths on directed graphs\n                      , in Proceedings of the 46th Annual Symposium on Theory of Computing (STOC 2014), 2014, pp. 674-683.","DOI":"10.1145\/2591796.2591869"},{"key":"atypb36","first-page":"1053","author":"Henzinger M.","year":"2014","journal-title":"Philadelphia"},{"key":"atypb37","doi-asserted-by":"crossref","unstructured":"M. Henzinger, S. Krinninger, D. Nanongkai, and T. Saranurak,\n                      Unifying and strengthening hardness for dynamic problems via the online matrix-vector multiplication conjecture\n                      , in Proceedings of the 47th Annual Symposium on Theory of Computing (STOC 2015), 2015.","DOI":"10.1145\/2746539.2746609"},{"key":"atypb38","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1997.1493"},{"key":"atypb39","doi-asserted-by":"publisher","DOI":"10.1145\/502090.502095"},{"key":"atypb40","doi-asserted-by":"crossref","unstructured":"V. King,\n                      Fully dynamic algorithms for maintaining all-pairs shortest paths and transitive closure in digraphs\n                      , in Proceedings of the 40th Annual Symposium on Foundations of Computer Science (FOCS 1999), 1999, pp. 81-91.","DOI":"10.1109\/SFFCS.1999.814580"},{"key":"atypb41","unstructured":"P. S. Loubal and Bay Area Transportation Study Commission,\n                      A Network Evaluation Procedure\n                      , Bay Area Transportation Study Commission, 1967."},{"key":"atypb42","unstructured":"J. D. Murchland,\n                      The Effect of Increasing or Decreasing the Length of a Single Arc on All Shortest Distances in a Graph\n                      , Tech. Report LBS-TNT-26, London Business School, Transport Network Theory Unit, 1967."},{"key":"atypb43","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgor.2003.12.002"},{"key":"atypb44","doi-asserted-by":"publisher","DOI":"10.1145\/2438645.2438647"},{"key":"atypb45","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-010-9401-5"},{"key":"atypb46","doi-asserted-by":"publisher","DOI":"10.1137\/090776573"},{"key":"atypb47","doi-asserted-by":"crossref","unstructured":"M. Thorup,\n                      Fully-dynamic all-pairs shortest paths: Faster and allowing negative cycles\n                      , in Proceedings of the 9th Scandinavian Workshop on Algorithm Theory (SWAT 2004), 2004, pp. 384-396.","DOI":"10.1007\/978-3-540-27810-8_33"},{"key":"atypb48","doi-asserted-by":"publisher","DOI":"10.1145\/1044731.1044732"},{"key":"atypb49","first-page":"802","author":"Thorup M.","year":"2006","journal-title":"Philadelphia"},{"key":"atypb50","doi-asserted-by":"publisher","DOI":"10.1137\/0220006"},{"key":"atypb51","doi-asserted-by":"publisher","DOI":"10.4086\/toc.2009.v005a009"},{"key":"atypb52","doi-asserted-by":"crossref","unstructured":"V. Vassilevska Williams and R. Williams,\n                      Subcubic equivalences between path, matrix and triangle problems\n                      , in Proceedings of the 51st Annual Symposium on Foundations of Computer Science (FOCS 2010), 2010, pp. 645-654.","DOI":"10.1109\/FOCS.2010.67"},{"key":"atypb53","doi-asserted-by":"publisher","DOI":"10.1145\/567112.567114"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/140957299","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:08:43Z","timestamp":1787339323000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/140957299"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,1]]},"references-count":53,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2016,1]]}},"alternative-id":["10.1137\/140957299"],"URL":"https:\/\/doi.org\/10.1137\/140957299","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016,1]]}}}