A blocked all-pairs shortest-paths algorithm
Authors:
Open Access
- 31 December 2003
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Journal of Experimental Algorithmics
- Vol. 8
Abstract
We propose a blocked version of Floyd's all-pairs shortest-paths algorithm. The blocked algorithm makes better utilization of cache than does Floyd's original algorithm. Experiments indicate that the blocked algorithm delivers a speedup (relative to the unblocked Floyd's algorithm) between 1.6 and 1.9 on a Sun Ultra Enterprise 4000/5000 for graphs that have between 480 and 3200 vertices. The measured speedup on an SGI O2 for graphs with between 240 and 1200 vertices is between 1.6 and 2.Keywords
This publication has 19 references indexed in Scilit:
- Analysing cache effects in distribution sortingACM Journal of Experimental Algorithmics, 2000
- Improving memory performance of sorting algorithmsACM Journal of Experimental Algorithmics, 2000
- Matrix multiplicationACM Journal of Experimental Algorithmics, 1999
- The Influence of Caches on the Performance of SortingJournal of Algorithms, 1999
- The influence of caches on the performance of heapsACM Journal of Experimental Algorithmics, 1996
- Influence of cross-interferences on blocked loopsACM Transactions on Programming Languages and Systems, 1995
- The uniform memory hierarchy model of computationAlgorithmica, 1994
- A model of workloads and its use in miss-rate prediction for fully associative cachesIEEE Transactions on Computers, 1992
- Efficient trace-driven simulation methods for cache performance analysisACM Transactions on Computer Systems, 1991
- Organizing matrices and matrix operations for paged memory systemsCommunications of the ACM, 1969