Fully Dynamic Single-Source Reachability in Practice: An Experimental Study

05/03/2019
by   Kathrin Hanauer, et al.
0

Given a directed graph and a source vertex, the fully dynamic single-source reachability problem is to maintain the set of vertices that are reachable from the given vertex, subject to edge deletions and insertions. While there has been theoretical work on this problem, showing both linear conditional lower bounds for the fully dynamic problem and insertions-only and deletions-only upper bounds beating these conditional lower bounds, there has been no experimental study that compares the performance of fully dynamic reachability algorithms in practice. Previous experimental studies in this area concentrated only on the more general all-pairs reachability or transitive closure problem and did not use real-world dynamic graphs. In this paper, we bridge this gap by empirically studying an extensive set of algorithms for the single-source reachability problem in the fully dynamic setting. In particular, we design several fully dynamic variants of well-known approaches to obtain and maintain reachability information with respect to a distinguished source. Moreover, we extend the existing insertions-only or deletions-only upper bounds into fully dynamic algorithms. Even though the worst-case time per operation of all the fully dynamic algorithms we evaluate is at least linear in the number of edges in the graph (as is to be expected given the conditional lower bounds) we show in our extensive experimental evaluation that their performance differs greatly, both on random as well as on real-world instances.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/03/2020

Faster Fully Dynamic Transitive Closure in Practice

The fully dynamic transitive closure problem asks to maintain reachabili...
research
04/05/2018

Simple dynamic algorithms for Maximal Independent Set and other problems

We study three fundamental graph problems in the dynamic setting, namely...
research
10/30/2017

Reachability Preservers: New Extremal Bounds and Approximation Algorithms

In this paper we prove new results about the extremal structure of paths...
research
01/11/2019

Decremental Strongly-Connected Components and Single-Source Reachability in Near-Linear Time

Computing the Strongly-Connected Components (SCCs) in a graph G=(V,E) is...
research
03/31/2022

Subquadratic Dynamic Path Reporting in Directed Graphs Against an Adaptive Adversary

We study reachability and shortest paths problems in dynamic directed gr...
research
04/23/2018

Reachability and Distances under Multiple Changes

Recently it was shown that the transitive closure of a directed graph ca...
research
09/11/2023

Testing Spreading Behavior in Networks with Arbitrary Topologies

Inspired by the works of Goldreich and Ron (J. ACM, 2017) and Nakar and ...

Please sign up or login with your details

Forgot password? Click here to reset