{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T13:25:09Z","timestamp":1790774709291,"version":"4.1.0"},"reference-count":23,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2012,9,1]],"date-time":"2012-09-01T00:00:00Z","timestamp":1346457600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Algorithms"],"published-print":{"date-parts":[[2012,9]]},"abstract":"<jats:p>\n            Let\n            <jats:italic>G<\/jats:italic>\n            = (\n            <jats:italic>V,E<\/jats:italic>\n            ) be a\n            <jats:italic>directed<\/jats:italic>\n            graph and let\n            <jats:italic>P<\/jats:italic>\n            be a shortest path from\n            <jats:italic>s<\/jats:italic>\n            to\n            <jats:italic>t<\/jats:italic>\n            in\n            <jats:italic>G<\/jats:italic>\n            . In the\n            <jats:italic>replacement paths<\/jats:italic>\n            problem, we are required to find, for every edge\n            <jats:italic>e<\/jats:italic>\n            on\n            <jats:italic>P<\/jats:italic>\n            , a shortest path from\n            <jats:italic>s<\/jats:italic>\n            to\n            <jats:italic>t<\/jats:italic>\n            in\n            <jats:italic>G<\/jats:italic>\n            that avoids\n            <jats:italic>e<\/jats:italic>\n            . The only known algorithm for solving the problem, even for unweighted directed graphs, is the trivial algorithm in which each edge on the path, in its turn, is excluded from the graph and a shortest paths tree is computed from\n            <jats:italic>s<\/jats:italic>\n            . The running time is\n            <jats:italic>O<\/jats:italic>\n            (\n            <jats:italic>mn<\/jats:italic>\n            +\n            <jats:italic>n<\/jats:italic>\n            <jats:sup>2<\/jats:sup>\n            log\n            <jats:italic>n<\/jats:italic>\n            ).\n          <\/jats:p>\n          <jats:p>The replacement paths problem is strongly motivated by two different applications:<\/jats:p>\n          <jats:p>\n            (1) The fastest algorithm to compute the\n            <jats:italic>k<\/jats:italic>\n            <jats:italic>simple<\/jats:italic>\n            shortest paths between\n            <jats:italic>s<\/jats:italic>\n            and\n            <jats:italic>t<\/jats:italic>\n            in directed graphs [Yen 1971; Lawler 1972] computes the replacement paths between\n            <jats:italic>s<\/jats:italic>\n            and\n            <jats:italic>t<\/jats:italic>\n            . Its running time is\n            <jats:italic>\u00d5<\/jats:italic>\n            (\n            <jats:italic>mnk<\/jats:italic>\n            ).\n          <\/jats:p>\n          <jats:p>\n            (2) The replacement paths problem is used to compute the\n            <jats:italic>Vickrey pricing<\/jats:italic>\n            of edges in a distributed network. It was raised as an open problem by Nisan and Ronen [2001] whether it is possible to compute the Vickrey pricing faster than\n            <jats:italic>n<\/jats:italic>\n            computations of a shortest paths tree.\n          <\/jats:p>\n          <jats:p>\n            In this article we present the first nontrivial algorithm for computing replacement paths in unweighted directed graphs (and in graphs with small integer weights). Our algorithm is Monte-Carlo and its running time is\n            <jats:italic>\u00d5<\/jats:italic>\n            (\n            <jats:italic>m<\/jats:italic>\n            \u221a\n            <jats:italic>n<\/jats:italic>\n            ). This result immediately improves the running time of the two applications mentioned above in a factor of \u221a\n            <jats:italic>n<\/jats:italic>\n            .\n          <\/jats:p>\n          <jats:p>\n            We also show how to reduce the problem of computing\n            <jats:italic>k<\/jats:italic>\n            simple shortest paths between\n            <jats:italic>s<\/jats:italic>\n            and\n            <jats:italic>t<\/jats:italic>\n            to\n            <jats:italic>O<\/jats:italic>\n            (\n            <jats:italic>k<\/jats:italic>\n            ) computations of a second simple shortest path from\n            <jats:italic>s<\/jats:italic>\n            to\n            <jats:italic>t<\/jats:italic>\n            each time in a different subgraph of\n            <jats:italic>G<\/jats:italic>\n            . The importance of this result is that computing a second simple shortest path may turn out to be an easier problem than computing the replacement paths, thus, we can focus our efforts to improve the\n            <jats:italic>k<\/jats:italic>\n            simple shortest paths algorithm in obtaining a faster algorithm for the second shortest path problem.\n          <\/jats:p>","DOI":"10.1145\/2344422.2344423","type":"journal-article","created":{"date-parts":[[2012,10,2]],"date-time":"2012-10-02T13:50:00Z","timestamp":1349185800000},"page":"1-11","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":21,"title":["Replacement paths and\n            <i>k<\/i>\n            simple shortest paths in unweighted directed graphs"],"prefix":"10.1145","volume":"8","author":[{"given":"Liam","family":"Roditty","sequence":"first","affiliation":[{"name":"Bar-Ilan University, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Uri","family":"Zwick","sequence":"additional","affiliation":[{"name":"Tel-Aviv University, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2012,10,4]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/509907.509928"},{"key":"e_1_2_1_2_1","volume-title":"Proceedings of the 14th Symposium on Discrete Algorithms. 394--403","author":"Baswana S.","unstructured":"Baswana , S. , Hariharan , R. , and Sen , S . 2003. Maintaining all-pairs approximate shortest paths under deletion of edges . In Proceedings of the 14th Symposium on Discrete Algorithms. 394--403 . Baswana, S., Hariharan, R., and Sen, S. 2003. Maintaining all-pairs approximate shortest paths under deletion of edges. In Proceedings of the 14th Symposium on Discrete Algorithms. 394--403."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.5555\/1873601.1873662"},{"key":"e_1_2_1_4_1","volume-title":"Proceedings of the 13th Symposium on Discrete Algorithms. 838--843","author":"Demetrescu C.","unstructured":"Demetrescu , C. and Thorup , M . 2002. Oracles for distances avoiding a link-failure . In Proceedings of the 13th Symposium on Discrete Algorithms. 838--843 . Demetrescu, C. and Thorup, M. 2002. Oracles for distances avoiding a link-failure. In Proceedings of the 13th Symposium on Discrete Algorithms. 838--843."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539705429847"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539795290477"},{"key":"e_1_2_1_7_1","volume-title":"Proceedings of the 36th Symposium on Foundation of Computer Science. 664--672","author":"Henzinger M.","unstructured":"Henzinger , M. and King , V . 1995. Fully dynamic biconnectivity and transitive closure . In Proceedings of the 36th Symposium on Foundation of Computer Science. 664--672 . Henzinger, M. and King, V. 1995. Fully dynamic biconnectivity and transitive closure. In Proceedings of the 36th Symposium on Foundation of Computer Science. 664--672."},{"key":"e_1_2_1_8_1","doi-asserted-by":"crossref","unstructured":"Hershberger J. and Suri S. 2001. Vickrey prices and shortest paths: what is an edge worth&quest; In Proceedings of the of 42nd Symposium on Foundation of Computer Science. 252--259.   Hershberger J. and Suri S. 2001. Vickrey prices and shortest paths: what is an edge worth&quest; In Proceedings of the of 42nd Symposium on Foundation of Computer Science. 252--259.","DOI":"10.1109\/SFCS.2001.959899"},{"key":"e_1_2_1_9_1","volume-title":"Proceedings of the 43rd Symposium on Foundation of Computer Science. 809","author":"Hershberger J.","unstructured":"Hershberger , J. and Suri , S. 2002. Erratum to \u201cVickrey pricing and shortest paths: What is an edge worth&quest; \u201d. In Proceedings of the 43rd Symposium on Foundation of Computer Science. 809 . Hershberger, J. and Suri, S. 2002. Erratum to \u201cVickrey pricing and shortest paths: What is an edge worth&quest;\u201d. In Proceedings of the 43rd Symposium on Foundation of Computer Science. 809."},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the 20th Symposium on Theoretical Aspects of Computer Science (STACS). 343--354","author":"Hershberger J.","unstructured":"Hershberger , J. , Suri , S. , and Bhosle , A . 2003. On the difficulty of some shortest path problems . In Proceedings of the 20th Symposium on Theoretical Aspects of Computer Science (STACS). 343--354 . Hershberger, J., Suri, S., and Bhosle, A. 2003. On the difficulty of some shortest path problems. In Proceedings of the 20th Symposium on Theoretical Aspects of Computer Science (STACS). 343--354."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1137\/0222071"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230120406"},{"key":"e_1_2_1_13_1","first-page":"401","article-title":"A procedure for computing the K best solutions to discrete optimization problems and its application to the shortest path problem. Manage","volume":"18","author":"Lawler E.","year":"1972","unstructured":"Lawler , E. 1972 . A procedure for computing the K best solutions to discrete optimization problems and its application to the shortest path problem. Manage . Sci. 18 , 401 -- 405 . Lawler, E. 1972. A procedure for computing the K best solutions to discrete optimization problems and its application to the shortest path problem. Manage. Sci. 18, 401--405.","journal-title":"Sci."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6377(89)90065-5"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0020-0190(00)00175-7"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1006\/game.1999.0790"},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the 18th Symposium on Discrete Algorithms. 920--928","author":"Roditty L.","year":"2007","unstructured":"Roditty , L. 2007 . On the k-simple shortest paths problem in weighted directed graphs . In Proceedings of the 18th Symposium on Discrete Algorithms. 920--928 . Roditty, L. 2007. On the k-simple shortest paths problem in weighted directed graphs. In Proceedings of the 18th Symposium on Discrete Algorithms. 920--928."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2004.22"},{"key":"e_1_2_1_19_1","volume-title":"Proceedings of the ESA Annual Meeting. 580--591","author":"Roditty L.","unstructured":"Roditty , L. and Zwick , U . 2004b. On dynamic shortest paths problems . In Proceedings of the ESA Annual Meeting. 580--591 . Roditty, L. and Zwick, U. 2004b. On dynamic shortest paths problems. In Proceedings of the ESA Annual Meeting. 580--591."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/316542.316548"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1137\/0220006"},{"key":"e_1_2_1_22_1","first-page":"712","article-title":"Finding the K shortest loopless paths in a network. Manage","volume":"17","author":"Yen J.","year":"1971","unstructured":"Yen , J. 1971 . Finding the K shortest loopless paths in a network. Manage . Sci. 17 , 712 -- 716 . Yen, J. 1971. Finding the K shortest loopless paths in a network. Manage. Sci. 17, 712--716.","journal-title":"Sci."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/567112.567114"}],"container-title":["ACM Transactions on Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2344422.2344423","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2344422.2344423","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T19:07:39Z","timestamp":1750273659000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2344422.2344423"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2012,9]]},"references-count":23,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2012,9]]}},"alternative-id":["10.1145\/2344422.2344423"],"URL":"https:\/\/doi.org\/10.1145\/2344422.2344423","relation":{},"ISSN":["1549-6325","1549-6333"],"issn-type":[{"value":"1549-6325","type":"print"},{"value":"1549-6333","type":"electronic"}],"subject":[],"published":{"date-parts":[[2012,9]]},"assertion":[{"value":"2010-03-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2010-12-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2012-10-04","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}