Safe Haskell | None |
---|---|
Language | Haskell2010 |
Floyd-Warshall algorithm
Finds shortest paths between all pairs of vertices in a directed weighted graph.
Sources:
- https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm
- Robert W. Floyd, "Algorithm 97: Shortest Path", Communications of the ACM, Vol. 5, No. 6, 1962 https://dl.acm.org/doi/10.1145/367766.368168