English

Decremental SSSP in Weighted Digraphs: Faster and Against an Adaptive Adversary

Data Structures and Algorithms 2020-01-30 v1

Abstract

Given a dynamic digraph G=(V,E)G = (V,E) undergoing edge deletions and given sVs\in V and ϵ>0\epsilon>0, we consider the problem of maintaining (1+ϵ)(1+\epsilon)-approximate shortest path distances from ss to all vertices in GG over the sequence of deletions. Even and Shiloach (J.~ACM'8181) give a deterministic data structure for the exact version of the problem with total update time O(mn)O(mn). Henzinger et al. (STOC'1414, ICALP'1515) give a Monte Carlo data structure for the approximate version with improved total update time O(mn0.9+o(1)logW) O(mn^{0.9 + o(1)}\log W) where WW is the ratio between the largest and smallest edge weight. A drawback of their data structure is that they only work against an oblivious adversary, meaning that the sequence of deletions needs to be fixed in advance. This limits its application as a black box inside algorithms. We present the following (1+ϵ)(1+\epsilon)-approximate data structures: (1) the first data structure is Las Vegas and works against an adaptive adversary; it has total expected update time O~(m2/3n4/3)\tilde O(m^{2/3}n^{4/3}) for unweighted graphs and O~(m3/4n5/4logW)\tilde O(m^{3/4}n^{5/4}\log W) for weighted graphs, (2) the second data structure is Las Vegas and assumes an oblivious adversary; it has total expected update time O~(mn3/2)\tilde O(\sqrt m n^{3/2}) for unweighted graphs and O~(m2/3n4/3logW)\tilde O(m^{2/3}n^{4/3}\log W) for weighted graphs, (3) the third data structure is Monte Carlo and is correct w.h.p.~against an oblivious adversary; it has total expected update time O~((mn)7/8logW)=O~(mn3/4logW)\tilde O((mn)^{7/8}\log W) = \tilde O(mn^{3/4}\log W). Each of our data structures can be queried at any stage of GG in constant worst-case time; if the adversary is oblivious, a query can be extended to also report such a path in time proportional to its length. Our update times are faster than those of Henzinger et al.~for all graph densities.

Keywords

Cite

@article{arxiv.2001.10821,
  title  = {Decremental SSSP in Weighted Digraphs: Faster and Against an Adaptive Adversary},
  author = {Maximilian Probst Gutenberg and Christian Wulff-Nilsen},
  journal= {arXiv preprint arXiv:2001.10821},
  year   = {2020}
}

Comments

Appeared at SODA'20