Constant-time Connectivity Querying in Dynamic Graphs

Publisher:
Association for Computing Machinery (ACM)
Publication Type:
Journal Article
Citation:
Proceedings of the ACM on Management of Data, 2024, 2, (6), pp. 1-23
Issue Date:
2024-12-18
Filename Description Size
Constant-time Connectivity Querying in Dynamic Graphs.pdfPublished version867.55 kB
Adobe PDF
Full metadata record
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.
Please use this identifier to cite or link to this item: