News for hackers. Stuff that matters.
Re:Historic Algorithms Help Unlock Shortest-Path Problem Bre... by thomasahle on Saturday August 26, 2023 @09:04PM (#37278428)
Johnson's algorithm appears to run Bellman–Ford as a sub-routine.

At that point you are already spending |V||E| time, so you are not getting anywhere close to the performance of Dijkstra and the new algorithm.

But I guess you are saying that this preprocessing is OK if you need to run many single-source-shortest-path queries on the graph.

There are no comments on this comment yet.