{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T12:21:43Z","timestamp":1790943703959,"version":"4.1.0"},"reference-count":27,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"5","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2008,1]]},"abstract":"<jats:p>We consider the problem of preprocessing an edge-weighted directed graph G to answer queries that ask for the length and first hop of a shortest path from any given vertex x to any given vertex y avoiding any given vertex or edge. As a natural application, this problem models routing in networks subject to node or link failures. We describe a deterministic oracle with constant query time for this problem that uses $O(n^2\\log n)$ space, where n is the number of vertices in G. The construction time for our oracle is $O(mn^{2} + n^{3}\\log n)$. However, if one is willing to settle for $\\Theta (n^{2.5})$ space, we can improve the preprocessing time to $O(mn^{1.5}+n^{2.5}\\log n)$ while maintaining the constant query time. Our algorithms can find the shortest path avoiding a failed node or link in time proportional to the length of the path.<\/jats:p>","DOI":"10.1137\/s0097539705429847","type":"journal-article","created":{"date-parts":[[2008,1,4]],"date-time":"2008-01-04T18:12:37Z","timestamp":1199470357000},"page":"1299-1318","source":"Crossref","is-referenced-by-count":68,"title":["Oracles for Distances Avoiding a Failed Node or Link"],"prefix":"10.1137","volume":"37","author":[{"given":"Camil","family":"Demetrescu","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mikkel","family":"Thorup","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rezaul Alam","family":"Chowdhury","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vijaya","family":"Ramachandran","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2008,1,4]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6377(89)90003-5"},{"key":"R2","unstructured":"A. Bar-Noy, S. Khuller, and B. Schieber,\n                      The Complexity of Finding Most Vital Arcs and Nodes\n                      , Technical report CS-TR-3539, Institute for Advanced Studies, University of Maryland, College Park, MD, 1995."},{"key":"R3","doi-asserted-by":"crossref","unstructured":"R. A. Chowdhury and V. Ramachandran,\n                      Improved distance oracles for avoiding a link-failure\n                      , in Proceedings of the 13th International Symposium on Algorithms and Computation (ISAAC'02), Vancouver, Canada, Lecture Notes in Comput. Sci. 2518, Springer-Verlag, New York, 2002, pp. 523\u2013534.","DOI":"10.1007\/3-540-36136-7_46"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6377(82)90020-7"},{"key":"R5","doi-asserted-by":"crossref","unstructured":"C. Demetrescu and G. F. Italiano,\n                      Fully dynamic all pairs shortest paths with real edge weights\n                      , in Proceedings of the 42nd IEEE Annual Symposium on Foundations of Computer Science (FOCS'01), Las Vegas, NV, 2001, pp. 260\u2013267.","DOI":"10.1109\/SFCS.2001.959900"},{"key":"R6","doi-asserted-by":"publisher","DOI":"10.1145\/1039488.1039492"},{"key":"R7","unstructured":"C. Demetrescu and M. Thorup,\n                      Oracles for distances avoiding a link-failure\n                      , in Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA'02) (San Francisco, CA), SIAM, Philadelphia, ACM, New York, 2002, pp. 838\u2013843."},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1007\/BF01386390"},{"key":"R9","doi-asserted-by":"crossref","unstructured":"B. Fortz and M. Thorup,\n                      Internet traffic engineering by optimizing OSPF weights\n                      , in Proceedings of the 19th IEEE INFOCOM, The Conference on Computer Communications, Tel-Aviv, Israel, 2000, pp. 519\u2013528.","DOI":"10.1109\/INFCOM.2000.832225"},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.1145\/28869.28874"},{"key":"R11","doi-asserted-by":"crossref","unstructured":"J. Hershberger and S. Suri,\n                      Vickrey prices and shortest paths: What is an edge worth?\n                      , in Proceedings of the 42nd IEEE Annual Symposium on Foundations of Computer Science (FOCS'01), Las Vegas, NV, 2001, pp. 252\u2013259. Erratum in FOCS'02.","DOI":"10.1109\/SFCS.2001.959899"},{"key":"R12","doi-asserted-by":"crossref","unstructured":"J. Hershberger, S. Suri, and A. Bhosle,\n                      On the difficulty of some shortest path problems\n                      , in Proceedings of the 20th International Symposium of Theoretical Aspects of Computer Science (STACS'03), Berlin, Germany, 2003, pp. 343\u2013354.","DOI":"10.1007\/3-540-36494-3_31"},{"key":"R13","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 IEEE Symposium on Foundations of Computer Science (FOCS'99), New York, 1999, pp. 81\u201399.","DOI":"10.1109\/SFFCS.1999.814580"},{"key":"R14","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.2002.1883"},{"key":"R15","doi-asserted-by":"crossref","unstructured":"V. King and M. Thorup,\n                      A space saving trick for directed dynamic transitive closure and shortest path algorithms\n                      , in Proceedings of the 7th Annual International Computing and Combinatorics Conference (COCOON'01), Guilin, China, Lecture Notes in Comput. Sci. 2108, Springer-Verlag, New York, 2001, pp. 268\u2013277.","DOI":"10.1007\/3-540-44679-6_30"},{"key":"R16","unstructured":"J. Moy,\n                      OSPF: Anatomy of an Internet Routing Protocol\n                      , Addison-Wesley, Reading, MA, 1999."},{"key":"R17","unstructured":"A. Mas-Collel, W. Whinston, and J. Green,\n                      Microeconomic Theory\n                      , Oxford University Press, Oxford, UK, 1999."},{"key":"R18","doi-asserted-by":"crossref","unstructured":"E. Nardelli, G. Proietti, and P. Widmayer,\n                      Finding the most vital node of a shortest path\n                      , in Proceedings of the 7th Annual International Computing and Combinatorics Conference (COCOON'01), Guilin, China, Lecture Notes in Comput. Sci. 2108, Springer-Verlag, New York, 2001, pp. 278\u2013287.","DOI":"10.1007\/3-540-44679-6_31"},{"key":"R19","doi-asserted-by":"crossref","unstructured":"N. Nisan and A. Ronen,\n                      Algorithmic mechanism design\n                      , in Proceedings of the 31st Annual ACM Symposium on Theory of Computation (STOC'99), ACM, New York, 1999, pp. 129\u2013140.","DOI":"10.1145\/301250.301287"},{"key":"R20","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(03)00402-X"},{"key":"R21","doi-asserted-by":"crossref","unstructured":"L. Roditty and U. Zwick,\n                      \n                        Replacement paths and\n                        k\n                        simple shortest paths in unweighted directed graphs\n                      \n                      , in Proceedings of the 32nd International Colloquium on Automata, Languages, and Programming (ICALP'05), Lisboa, Portugal, Lecture Notes in Comput. Sci. 3580, Springer-Verlag, New York, 2005, pp. 249\u2013260.","DOI":"10.1007\/11523468_21"},{"key":"R22","doi-asserted-by":"publisher","DOI":"10.1007\/PL00009198"},{"key":"R23","doi-asserted-by":"publisher","DOI":"10.1145\/316542.316548"},{"key":"R24","unstructured":"M. Thorup,\n                      Fortifying OSPF\/IS-IS Against Link-Failure\n                      , manuscript, 2001."},{"key":"R25","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'04), Humlebaek, Denmark, 2004, pp. 384\u2013396.","DOI":"10.1007\/978-3-540-27810-8_33"},{"key":"R26","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2004.04.003"},{"key":"R27","doi-asserted-by":"crossref","unstructured":"U. Zwick,\n                      A slightly improved sub-cubic algorithm for the all pairs shortest paths problem with real edge lengths\n                      , in Proceedings of the 15th International Symposium on Algorithms and Computation (ISAAC'04), Hong Kong, China, Lecture Notes in Comput. Sci. 3341, Springer-Verlag, 2004, pp. 921\u2013932.","DOI":"10.1007\/978-3-540-30551-4_78"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S0097539705429847","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:28:53Z","timestamp":1787336933000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S0097539705429847"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,1]]},"references-count":27,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2008,1]]}},"alternative-id":["10.1137\/S0097539705429847"],"URL":"https:\/\/doi.org\/10.1137\/s0097539705429847","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2008,1]]}}}