An output-sensitive algorithm for all-pairs shortest paths in directed acyclic graphs
Andrzej Lingas, Mia Persson, Dzmitry Sledneu

TL;DR
This paper introduces an output-sensitive algorithm for all-pairs shortest paths in directed acyclic graphs with positive and negative weights, improving efficiency by leveraging path properties and advanced matrix multiplication.
Contribution
It presents a novel output-sensitive algorithm for APSP in DAGs with negative weights, extending previous methods and incorporating path tree structures for efficiency.
Findings
Runs in time $O( ext{min}igrace n^{ ext{omega}}, nm + n^2 ext{log} n igrace + ext{sum of indegree times leaf count})$
Matches Bellman-Ford time complexity for single-source shortest paths in DAGs
Provides discussion on extending bounds to graphs with large cycles
Abstract
A straightforward dynamic programming method for the single-source shortest paths problem (SSSP) in an edge-weighted directed acyclic graph (DAG) processes the vertices in a topologically sorted order. First, we similarly iterate this method alternatively in a breadth-first search sorted order and the reverse order on an input directed graph with both positive and negative real edge weights, vertices and edges. For a positive integer after iterations in time, we obtain for each vertex a path distance from the source to not exceeding that yielded by the shortest path from the source to among the so called {\emlight paths}. A directed path between two vertices is light if it contains at most more edges than the minimum edge-cardinality directed path between these vertices. After iterations, we obtain an -time solution to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Search Problems · Machine Learning and Algorithms · Complexity and Algorithms in Graphs
