Skip to main content
QUICK REVIEW

[Paper Review] Constant-time Connectivity and 2-Edge Connectivity Querying in Dynamic Graphs

Lantian Xu, Junhua Zhang|arXiv (Cornell University)|Jan 24, 2026
Graph Theory and AlgorithmsComputer Science0 citations
TL;DR

The paper introduces ID-Tree and DS-Tree to maintain connectivity and 2-edge connectivity in fully dynamic graphs, achieving amortized constant-time queries and improved update performance over prior work like D-Tree, with extensive real-data evaluation.

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 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. In addition, we extend our connectivity maintenance algorithms to maintain 2-edge connectivity. Our performance studies on real large datasets show considerable improvement of our algorithms.

Motivation & Objective

  • Motivate efficient connectivity query processing in fully dynamic graphs with frequent edge updates.
  • Develop a spanning-tree-based index that achieves near-constant query time while maintaining efficient edge insertions and deletions.
  • Extend the approach to maintain 2-edge connectivity with constant-time queries.
  • Reduce maintenance overhead relative to prior methods (e.g., D-Tree) without sacrificing query performance.
  • Demonstrate practical effectiveness through extensive experiments on real datasets.

Proposed method

  • Combine a spanning-tree structure (ID-Tree) with a disjoint-set structure (DS-Tree) to enable fast connectivity and 2-edge connectivity queries.
  • Extend the spanning-tree implementation with heuristics to improve practical efficiency and introduce early-termination in replacement-edge searches.
  • Develop a lightweight disjoint-set variant with constant-time Find and Union, plus efficient deletion handling, to support edge deletions.
  • Provide algorithms for edge insertion and edge deletion that achieve amortized O(h) time for tree operations, where h is average tree depth, while enabling near-constant query time via DS-Tree.
  • Propose an ID-Insert and ID-Delete workflow that minimizes updates to auxiliary structures while maintaining correctness.
  • Explain how 2-edge connectivity can be maintained by tracking replacement edges and integrating with the DS-Tree.

Experimental results

Research questions

  • RQ1Can we achieve amortized constant-time connectivity queries in fully dynamic graphs while preserving efficient edge insertions and deletions?
  • RQ2How can spanning-tree methods be augmented with disjoint-set concepts to support both connectivity and 2-edge connectivity queries efficiently?
  • RQ3What practical gains occur when replacing deeper-tree heuristics with lightweight structures in dynamic connectivity maintenance?
  • RQ4How does the proposed ID-Tree/DS-Tree framework perform on real-world large graphs compared to state-of-the-art methods like D-Tree?

Key findings

  • Proposes an ID-Tree spanning-tree plus DS-Tree disjoint-set combination that yields amortized constant-time connectivity queries.
  • Demonstrates theoretical almost-constant query efficiency with maintained O(h) time for edge insertions and deletions, improving over prior approaches.
  • Extends the framework to maintain 2-edge connectivity with constant-time queries.
  • Shows substantial practical performance gains on real large datasets compared to state-of-the-art methods (e.g., D-Tree).
  • Introduces a lighter-weight, more efficient approach by avoiding heavy maintenance of non-tree neighbors and focusing on core primitives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.