Metraipolis › archive › dc_34bce81b94e6
Bellman–Ford algorithm — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-06T18:38:14.651Z
- SHA-256 of the archived text
2fffb1a6585268cf52aab37523c07162b2362fc19970dcc5974de0be45356ad9- Stable URL of this page
https://metraipolis.com/documento/dc_34bce81b94e6
How to cite
Bellman–Ford algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_34bce81b94e6 (Metraipolis archive dc_34bce81b94e6, sha256 2fffb1a6585268cf52aab37523c07162b2362fc19970dcc5974de0be45356ad9)
BibTeX
@misc{dc34bce81b94e6,
title = {Bellman–Ford algorithm — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_34bce81b94e6; sha256 2fffb1a6585268cf52aab37523c07162b2362fc19970dcc5974de0be45356ad9},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The Bellman–Ford algorithm is an algorithm that computes shortest paths from a single source vertex to all of the other vertices in a weighted digraph. It is slower than Dijkstra's algorithm for the same problem, but more versatile, as it is capable of handling graphs in which some of the edge weights are negative numbers. The algorithm was first proposed by Alfonso Shimbel (1955), but is instead named after Richard Bellman and Lester Ford Jr., who published it in 1958 and 1956, respectively. Edward F. Moore also published a variation of the algorithm in 1959, and for this reason it is also sometimes called the Bellman–Ford–Moore algorithm. Negative edge weights are found in various applications of graphs. This is why this algorithm is useful. If a graph contains a "negative cycle" (i.e. a cycle whose edges sum to a negative value) that is reachable from the source, then there is no cheapest path: any path that has a point on the negative cycle can be made cheaper by one more walk around the negative cycle. In such a case, the Bellman–Ford algorithm can detect and report the negative cycle. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»). Fonte: Wikipedia in inglese, voce «Bellman–Ford algorithm» — https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm Wikidata Q816022 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q816022 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_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 1359368078, consultata il 2026-10-06T17:04:49.323Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 96cb684f7aacb93d38c0fe422da27025e688d105c421590d447be773538a3403