Constant-time Connectivity Querying in Dynamic Graphs
Lantian Xu, Dong Wen, Lu Qin, Ronghua Li, Ying Zhang, Xuemin Lin
Abstract
Connectivity query processing is a fundamental problem in graph processing. Given an undirected graph and two query vertices, the problem aims to identify whether they are connected via a path. Given frequent edge updates in real graph applications, in this paper, we study connectivity query processing in fully dynamic graphs, where edges are frequently inserted or deleted. A recent solution, called D-tree, maintains a spanning tree for each connected component and applies several heuristics to reduce the depth of the tree. To improve the efficiency, we propose a new spanning-tree-based solution by maintaining a disjoint-set tree simultaneously. By combining the advantages of two trees, we achieve the constant query time complexity and also significantly improve the theoretical running time in both edge insertion and edge deletion. Our performance studies on real large datasets show considerable improvement of our algorithms.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on6
- Answering Billion-Scale Label-Constrained Reachability Queries within MicrosecondYou Peng, Ying Zhang, Xuemin Lin, Lu Qin et al.VLDB 2020 · 65 citations
- Efficiently Answering Span-Reachability Queries in Large Temporal GraphsDong Wen, Yilun Huang, Ying Zhang, Lu Qin et al.ICDE 2020 · 31 citations
- Dynamic Spanning Trees for Connectivity Queries on Fully-dynamic Undirected GraphsQing Chen, Oded Lachish, Sven Helmer, Michael H. BöhlenVLDB 2022 · 19 citations
- On Querying Historical Connectivity in Temporal GraphsJingyi Song, Dong Wen, Lantian Xu, Lu Qin et al.SIGMOD 2024 · 11 citations
- Distributed Set Label-Constrained Reachability Queries over Billion-Scale GraphsYuanyuan Zeng, Wangdong Yang, Xu Zhou, Guoqing Xiao et al.ICDE 2022 · 9 citations
Related papers
- An Experimental Comparison of Tree-data Structures for Connectivity Queries on Fully-dynamic Undirected GraphsQing Chen, Michael H. Böhlen, Sven HelmerSIGMOD 2025 · 2 citations
- Fully Dynamic Exact Edge Connectivity in Sublinear TimeGramoz Goranci, Monika Henzinger, Danupon Nanongkai, Thatchaphol Saranurak et al.SODA 2023 · 3 citations
- Fully Dynamic s-t Edge Connectivity in Subpolynomial Time (Extended Abstract)Wenyu Jin, Xiaorui SunFOCS 2021 · 6 citations
- Preserving K-Connectivity in Dynamic GraphsGengda Zhao, Dong Wen, Xiaoyang Wang, Kai Wang et al.ICDE 2025
- Incremental Sliding Window Connectivity over Streaming GraphsChao Zhang, Angela Bonifati, M. Tamer ÖzsuVLDB 2024 · 10 citations
