Floyd–Warshall algorithm
Summary
The Floyd–Warshall algorithm computes the shortest path lengths between all pairs of vertices of a weighted directed graph. It is a dynamic programming method that allows the vertices as intermediate stops, one more at each stage. It accepts negative edge weights as long as there is no negative cycle, and it runs in time on vertices.
Further reading
About this page
| Tag | H8T4X0KXE1 |
|---|---|
| URI | m2://H8T4X0KXE1 |
| Kind | concept |
| Writing | W0 stub |
| MSC | 05C85, 90C35, 68W40 |
| Specializes | Dynamic programming |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.