计算机科学 > 数据结构与算法
[提交于 2019年4月3日]
标题:Incorrect implementations of the Floyd--Warshall algorithm give correct solutions after three repeats
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Takanori Maehara[v1] 2019年4月3日 星期三 00:00:00 UTC