JOURNAL ARTICLE

All-Pairs Almost Shortest Paths

Abstract

Let G = (V; E) be an unweighted undirected graph on n vertices. A simple argument shows that computing all distances in G with an additive one-sided error of at most 1 is as hard as Boolean matrix multiplication. Building on recent work of Aingworth, Chekuri and Motwani, we describe an ~ O(minfn 3=2 m 1=2 ; n 7=3 g) time algorithm APASP 2 for computing all distances in G with an additive one-sided error of at most 2. Algorithm APASP 2 is simple, easy to implement, and faster than the fastest known matrix multiplication algorithm. Furthermore, for every even k ? 2, we describe an ~ O(minfn 2\\Gamma 2 k+2 m 2 k+2 ; n 2+ 2 3k\\Gamma2 g) time algorithm APASP k for computing all distances in G with an additive one-sided error of at most k. We also give an ~ O(n 2 ) time algorithm APASP1 for producing stretch 3 estimated distances in an unweighted and undirected graph on n vertices. No constant stretch factor was previously achieved in ~ O(n 2 ) time. We say that a weighte...

Keywords:
Combinatorics Matrix multiplication Undirected graph Mathematics Graph Discrete mathematics Physics

Metrics

7
Cited By
0.88
FWCI (Field Weighted Citation Impact)
38
Refs
0.70
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Complexity and Algorithms in Graphs
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Advanced Graph Theory Research
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Interconnection Networks and Systems
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

BOOK-CHAPTER

All Pairs Shortest Paths

Primers in electronics and computer science Year: 2019 Pages: 321-357
BOOK-CHAPTER

Decremental All-Pairs Shortest Paths

Camil DemetrescuGiuseppe F. Italiano

Encyclopedia of Algorithms Year: 2016 Pages: 506-509
BOOK-CHAPTER

Decremental All-Pairs Shortest Paths

Camil DemetrescuGiuseppe F. Italiano

Encyclopedia of Algorithms Year: 2008 Pages: 226-227
JOURNAL ARTICLE

All pairs lightest shortest paths

Uri Zwick

Year: 1999 Pages: 61-69
BOOK-CHAPTER

Combining All Pairs Shortest Paths and All Pairs Bottleneck Paths Problems

Tong-Wook ShinnTadao Takaoka

Lecture notes in computer science Year: 2014 Pages: 226-237
© 2026 ScienceGate Book Chapters — All rights reserved.