arXiv · 1904.01210
Incorrect implementations of the Floyd--Warshall algorithm give correct solutions after three repeats
Abstract
The Floyd--Warshall algorithm is a well-known algorithm for the all-pairs shortest path problem that is simply implemented by triply nested loops. In this study, we show that the incorrect implementations of the Floyd--Warshall algorithm that misorder the triply nested loops give correct solutions if these are repeated three times.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ikumi Hide, Soh Kumabe, Takanori Maehara. 2019-04-02. Incorrect implementations of the Floyd--Warshall algorithm give correct solutions after three repeats. https://arxiv.org/abs/1904.01210
Cite the original work for its findings. Save a collection to share your selection of sources.