paper

Additive, Near-Additive, and Multiplicative Approximations for APSP in Weighted Undirected Graphs: Trade-offs and Algorithms

arXiv:2509.04640

Abstract

We present a -APASP algorithm for dense weighted graphs with runtime , where is the weight of an heaviest edge on a shortest path. Dor, Halperin and Zwick [FOCS'96, SICOMP'00] had two algorithms for the commensurate unweighted -APASP: runtime for sparse graphs and runtime for dense graphs. Cohen and Zwick [SODA'97, JALG'01] adapted the sparse variant to weighted graphs: -APASP algorithm in the same runtime. We show an algorithm for dense weighted graphs. For nearly additive APASP, we present a -APASP algorithm with runtime. This improves the -APASP of Saha and Ye [SODA'24]. For multiplicative APASP, we show a framework of -APASP algorithms, reducing the runtime of Akav and Roditty [ESA'21] for dense graphs and generalizing the -APASP algorithm of Dory et al [SODA'24]. Our base case is a -APASP in runtime, improving the -APASP algorithm of Baswana and Kavitha [FOCS'06, SICOMP'10] for dense graphs. Finally, we "bypass" an conditional lower bound by Dor, Halperin, and Zwick for -APASP with , by allowing an additive term (e.g. -APASP in runtime).