Shortest Distances as Enumeration Problem
Katrin Casel, Tobias Friedrich, Stefan Neubert, Markus L. Schmid

TL;DR
This paper studies shortest distance problems as enumeration tasks, analyzing how output restrictions and ordering affect complexity, and provides bounds on delay for different graph types and enumeration conditions.
Contribution
It introduces a novel enumeration perspective on shortest distance problems, revealing how output restrictions influence complexity and establishing bounds on enumeration delay.
Findings
Enumeration without restrictions for APSD has delay proportional to average degree.
Excluding non-reachable pairs increases APSD delay to maximum degree.
For SSSD, delay proportional to maximum degree is achievable and unavoidable without preprocessing.
Abstract
We investigate the single source shortest distance (SSSD) and all pairs shortest distance (APSD) problems as enumeration problems (on unweighted and integer weighted graphs), meaning that the elements -- where and are vertices with shortest distance -- are produced and listed one by one without repetition. The performance is measured in the RAM model of computation with respect to preprocessing time and delay, i.e., the maximum time that elapses between two consecutive outputs. This point of view reveals that specific types of output (e.g., excluding the non-reachable pairs , or excluding the self-distances ) and the order of enumeration (e.g., sorted by distance, sorted row-wise with respect to the distance matrix) have a huge impact on the complexity of APSD while they appear to have no effect on SSSD. In particular, we…
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 · Data Management and Algorithms · Complexity and Algorithms in Graphs
