2026· Annales Mathematicae et Informaticae· Vol 63, pp. 88-106· 0 citations· 24 references
TL;DR
A deterministic fully dynamic algorithm that simultaneously maintains SCCs and reachability in directed graphs and significantly outperforms repeated offline recomputation in practical scenarios is presented.
Abstract
. Computing strongly connected components (SCCs) and reachability in directed graphs is fundamental in compilers, static analysis, and many graph algorithms. While efficient offline algorithms are well known, maintaining this information dynamically under both edge insertions and deletions remains challenging. This paper presents a deterministic fully dynamic algorithm that simultaneously maintains SCCs and reachability in directed graphs. The approach combines a union–find structure for efficient merging of SCCs during edge insertions with localized recomputation of SCCs using Nuutila’s algorithm when deletions potentially split a component. Reachability information is maintained at the SCC level and propagated through the condensation DAG. For a current graph with n vertices and m edges, the resulting algorithm supports O (1) reachability queries while updates have worst-case complexity O ( m + n 2 ) due to reachability propagation. Although this does not improve the best known theoretical bounds for specialized dynamic algorithms, the method is simple, deterministic, and well suited to sparse graphs such as con-trol flow graphs (CFGs). Experimental evaluation on random graphs and real program CFGs shows that the algorithm significantly outperforms repeated offline recomputation in practical scenarios.
This work restricts its attention to directed acyclic graphs (DAGs) and obtains a deterministic single-source reachability algorithm using $O(n \sqrt{n \log n})$ queries, based on a topological sort algorithm, and can also be adapted to compute single-source shortest paths in DAGs.
B. Bals, Matei Tinca, Yasamin Nazari· arXiv.org· 0 citations
This work begins a systematic study of basic problems in directed \emph{acyclic} graphs (DAGs) and shows that reachability from a single vertex and even topological sorting are both computable in O(n \log^3 n) many cut queries.
This work introduces a novel edge-centric framework that treats temporal edges as the core units of exploration and eliminates redundant temporal checks, and extends this framework to dynamic settings by introducing an efficient incremental update algorithm that selectively identifies affected paths only.
Qi Liang, Dian Ouyang, Kang Chen et al.· Proceedings of the 32nd ACM...· 0 citations
We study the problem of efficiently computing the influence of all nodes under the SIR model. In our previous work, we proposed the burn‐Out extracted LC (BELC) technique and combined it with existing techniques to develop the BSRM method. In this paper, we propose two new methods, BS and BI. BS removes the REP and MCP pruning techniques from BSRM. BI extends BS by integrating SCC assignment and reachability computation. Experiments on four large‐scale networks show that the proposed methods are faster while producing the same influence values. We also analyze how network structure affects their performance.
Xiao-Yan Li, Kazumi Saito· Concurrency and Computation· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.