2000 character limit reached
Incorrect implementations of the Floyd--Warshall algorithm give correct solutions after three repeats
Published 2 Apr 2019 in cs.DS | (1904.01210v1)
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.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.