计算机科学 > 数据结构与算法
[提交于 2024年4月12日]
标题:Anarchy in the APSP: Algorithm and Hardness for Incorrect Implementation of Floyd-Warshall
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The celebrated Floyd-Warshall algorithm efficiently computes the all-pairs shortest path, and its simplicity made it a staple in computer science classes. Frequently, students discover a variant of this Floyd-Warshall algorithm by mixing up the loop order, ending up with the incorrect APSP matrix. This paper considers a computational problem of computing this incorrect APSP matrix. We will propose efficient algorithms for this problem and prove that this incorrect variant is APSP-complete.
提交历史
来自:Jaehyun Koo[v1] 2024年4月12日 星期五 00:41:09 UTC