Incorrect implementations of the Floyd--Warshall algorithm give correct solutions after three repeats

04/02/2019
by   Ikumi Hide, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/03/2019

Breaking the Bellman-Ford Shortest-Path Bound

In this paper we give a single-source shortest-path algorithm that break...
research
05/19/2020

Lasso formulation of the shortest path problem

The shortest path problem is formulated as an l_1-regularized regression...
research
01/30/2018

The Reification of an Incorrect and Inappropriate Spreadsheet Model

Once information is loaded into a spreadsheet, it acquires properties th...
research
04/26/2019

Learning to Prune: Speeding up Repeated Computations

It is common to encounter situations where one must solve a sequence of ...
research
10/19/2020

Evolutionary Algorithm and Multifactorial Evolutionary Algorithm on Clustered Shortest-Path Tree problem

In literature, Clustered Shortest-Path Tree Problem (CluSPT) is an NP-ha...
research
12/04/2018

Multiple Manifold Clustering Using Curvature Constrained Path

The problem of multiple surface clustering is a challenging task, partic...
research
04/23/2020

Engineering Data Reduction for Nested Dissection

Many applications rely on time-intensive matrix operations, such as fact...

Please sign up or login with your details

Forgot password? Click here to reset