83 research outputs found
Fully dynamic all-pairs shortest paths with worst-case update-time revisited
We revisit the classic problem of dynamically maintaining shortest paths
between all pairs of nodes of a directed weighted graph. The allowed updates
are insertions and deletions of nodes and their incident edges. We give
worst-case guarantees on the time needed to process a single update (in
contrast to related results, the update time is not amortized over a sequence
of updates).
Our main result is a simple randomized algorithm that for any parameter
has a worst-case update time of and answers
distance queries correctly with probability , against an adaptive
online adversary if the graph contains no negative cycle. The best
deterministic algorithm is by Thorup [STOC 2005] with a worst-case update time
of and assumes non-negative weights. This is the first
improvement for this problem for more than a decade. Conceptually, our
algorithm shows that randomization along with a more direct approach can
provide better bounds.Comment: To be presented at the Symposium on Discrete Algorithms (SODA) 201
Reliable Hubs for Partially-Dynamic All-Pairs Shortest Paths in Directed Graphs
We give new partially-dynamic algorithms for the all-pairs shortest paths problem in weighted directed graphs. Most importantly, we give a new deterministic incremental algorithm for the problem that handles updates in O~(mn^(4/3) log{W}/epsilon) total time (where the edge weights are from [1,W]) and explicitly maintains a (1+epsilon)-approximate distance matrix. For a fixed epsilon>0, this is the first deterministic partially dynamic algorithm for all-pairs shortest paths in directed graphs, whose update time is o(n^2) regardless of the number of edges. Furthermore, we also show how to improve the state-of-the-art partially dynamic randomized algorithms for all-pairs shortest paths [Baswana et al. STOC\u2702, Bernstein STOC\u2713] from Monte Carlo randomized to Las Vegas randomized without increasing the running time bounds (with respect to the O~(*) notation).
Our results are obtained by giving new algorithms for the problem of dynamically maintaining hubs, that is a set of O~(n/d) vertices which hit a shortest path between each pair of vertices, provided it has hop-length Omega(d). We give new subquadratic deterministic and Las Vegas algorithms for maintenance of hubs under either edge insertions or deletions
Deterministic Fully Dynamic SSSP and More
We present the first non-trivial fully dynamic algorithm maintaining exact
single-source distances in unweighted graphs. This resolves an open problem
stated by Sankowski [COCOON 2005] and van den Brand and Nanongkai [FOCS 2019].
Previous fully dynamic single-source distances data structures were all
approximate, but so far, non-trivial dynamic algorithms for the exact setting
could only be ruled out for polynomially weighted graphs (Abboud and
Vassilevska Williams, [FOCS 2014]). The exact unweighted case remained the main
case for which neither a subquadratic dynamic algorithm nor a quadratic lower
bound was known.
Our dynamic algorithm works on directed graphs, is deterministic, and can
report a single-source shortest paths tree in subquadratic time as well. Thus
we also obtain the first deterministic fully dynamic data structure for
reachability (transitive closure) with subquadratic update and query time. This
answers an open problem of van den Brand, Nanongkai, and Saranurak [FOCS 2019].
Finally, using the same framework we obtain the first fully dynamic data
structure maintaining all-pairs -approximate distances within
non-trivial sub- worst-case update time while supporting optimal-time
approximate shortest path reporting at the same time. This data structure is
also deterministic and therefore implies the first known non-trivial
deterministic worst-case bound for recomputing the transitive closure of a
digraph.Comment: Extended abstract to appear in FOCS 202
On the Hardness of Partially Dynamic Graph Problems and Connections to Diameter
Conditional lower bounds for dynamic graph problems has received a great deal
of attention in recent years. While many results are now known for the
fully-dynamic case and such bounds often imply worst-case bounds for the
partially dynamic setting, it seems much more difficult to prove amortized
bounds for incremental and decremental algorithms. In this paper we consider
partially dynamic versions of three classic problems in graph theory. Based on
popular conjectures we show that:
-- No algorithm with amortized update time exists for
incremental or decremental maximum cardinality bipartite matching. This
significantly improves on the bound for sparse graphs
of Henzinger et al. [STOC'15] and bound of Kopelowitz,
Pettie and Porat. Our linear bound also appears more natural. In addition, the
result we present separates the node-addition model from the edge insertion
model, as an algorithm with total update time exists for the
former by Bosek et al. [FOCS'14].
-- No algorithm with amortized update time exists for
incremental or decremental maximum flow in directed and weighted sparse graphs.
No such lower bound was known for partially dynamic maximum flow previously.
Furthermore no algorithm with amortized update time
exists for directed and unweighted graphs or undirected and weighted graphs.
-- No algorithm with amortized update time exists
for incremental or decremental -approximating the diameter
of an unweighted graph. We also show a slightly stronger bound if node
additions are allowed. [...]Comment: To appear at ICALP'16. Abstract truncated to fit arXiv limit
Fully Dynamic Algorithms for Minimum Weight Cycle and Related Problems
We consider the directed minimum weight cycle problem in the fully dynamic
setting. To the best of our knowledge, so far no fully dynamic algorithms have
been designed specifically for the minimum weight cycle problem in general
digraphs. One can achieve amortized update time by simply
invoking the fully dynamic APSP algorithm of Demetrescu and Italiano [J.
ACM'04]. This bound, however, yields no improvement over the trivial
recompute-from-scratch algorithm for sparse graphs.
Our first contribution is a very simple deterministic
-approximate algorithm supporting vertex updates (i.e., changing
all edges incident to a specified vertex) in conditionally near-optimal
amortized time for digraphs with real edge
weights in . Using known techniques, the algorithm can be implemented on
planar graphs and also gives some new sublinear fully dynamic algorithms
maintaining approximate cuts and flows in planar digraphs.
Additionally, we show a Monte Carlo randomized exact fully dynamic minimum
weight cycle algorithm with worst-case update that works
for real edge weights. To this end, we generalize the exact fully dynamic APSP
data structure of Abraham et al. [SODA'17] to solve the ``multiple-pairs
shortest paths problem'', where one is interested in computing distances for
some (instead of all ) fixed source-target pairs after each update. We
show that in such a scenario, worst-case update time
is possible.Comment: Full version of an ICALP 2021 pape
- …