Sublinear-Time Decremental Algorithms for Single-Source Reachability and Shortest Paths on Directed Graphs
Abstract
We consider dynamic algorithms for maintaining Single-Source Reachability (SSR) and approximate Single-Source Shortest Paths (SSSP) on -node -edge directed graphs under edge deletions (decremental algorithms). The previous fastest algorithm for SSR and SSSP goes back three decades to Even and Shiloach [JACM 1981]; it has query time and total update time (i.e., linear amortized update time if all edges are deleted). This algorithm serves as a building block for several other dynamic algorithms. The question whether its total update time can be improved is a major, long standing, open problem. In this paper, we answer this question affirmatively. We obtain a randomized algorithm with an expected total update time of for SSR and -approximate SSSP if the edge weights are integers from to and for some constant . We also extend our algorithm to achieve roughly the same running time for Strongly Connected Components (SCC), improving the algorithm of Roditty and Zwick [FOCS 2002]. Our algorithm is most efficient for sparse and dense graphs. When its running time is and when its running time is . For SSR we also obtain an algorithm that is faster for dense graphs and has a total update time of which is when . All our algorithms have constant query time in the worst case and are correct with high probability against an oblivious adversary.
Cite
@article{arxiv.1504.07959,
title = {Sublinear-Time Decremental Algorithms for Single-Source Reachability and Shortest Paths on Directed Graphs},
author = {Monika Henzinger and Sebastian Krinninger and Danupon Nanongkai},
journal= {arXiv preprint arXiv:1504.07959},
year = {2018}
}
Comments
Preliminary versions of this paper were presented at the 46th ACM Symposium on Theory of Computing (STOC 2014) and the 42nd International Colloquium on Automata, Languages, and Programming (ICALP 2015)