Metraipolis › archive › dc_4d3b47377597
Suurballe's algorithm — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Suurballe%27s_algorithm
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-15T18:39:04.780Z
- SHA-256 of the archived text
470c1983d1abe961ed4861e1425151abc5c588c2d7a4879e43cb24dfd8382515- Stable URL of this page
https://metraipolis.com/documento/dc_4d3b47377597
How to cite
Suurballe's algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Suurballe%27s_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_4d3b47377597 (Metraipolis archive dc_4d3b47377597, sha256 470c1983d1abe961ed4861e1425151abc5c588c2d7a4879e43cb24dfd8382515)
BibTeX
@misc{dc4d3b47377597,
title = {Suurballe's algorithm — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Suurballe%27s_algorithm},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_4d3b47377597; sha256 470c1983d1abe961ed4861e1425151abc5c588c2d7a4879e43cb24dfd8382515},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Suurballe%27s_algorithm. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In theoretical computer science and network routing, Suurballe's algorithm is an algorithm for finding two disjoint paths in a nonnegatively-weighted directed graph, so that both paths connect the same pair of vertices and have minimum total length. The algorithm was conceived by John W. Suurballe and published in 1974. The main idea of Suurballe's algorithm is to use Dijkstra's algorithm to find one path, to modify the weights of the graph edges, and then to run Dijkstra's algorithm a second time. The output of the algorithm is formed by combining these two paths, discarding edges that are traversed in opposite directions by the paths, and using the remaining edges to form the two paths to return as the output. The modification to the weights is similar to the weight modification in Johnson's algorithm, and preserves the non-negativity of the weights while allowing the second instance of Dijkstra's algorithm to find the correct second path. The problem of finding two disjoint paths of minimum weight can be seen as a special case of a minimum cost flow problem, where in this case there are two units of "flow" and nodes have unit "capacity". Suurballe's algorithm, also, can be seen as a special case of a minimum cost flow algorithm that repeatedly pushes the maximum possible amount of flow along a shortest augmenting path. The first path found by Suurballe's algorithm is the shortest augmenting path for the initial (zero) flow, and the second path found by Suurballe's algorithm is the shortest augmenting path for the residual graph left after pushing one unit of flow along the first path. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»). Fonte: Wikipedia in inglese, voce «Suurballe's algorithm» — https://en.wikipedia.org/wiki/Suurballe%27s_algorithm Wikidata Q7650417 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q7650417 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Suurballe%27s_algorithm?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1362564776, consultata il 2026-10-15T18:03:10.552Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 968ddbac40d68b0a24fb7a2985d01a381fdc313dcd7857e90a8ceec71c480d5c