Space-efficient fully dynamic DFS in undirected graphs (Q2312405)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Space-efficient fully dynamic DFS in undirected graphs |
scientific article |
Statements
Space-efficient fully dynamic DFS in undirected graphs (English)
0 references
8 July 2019
0 references
Summary: Depth-first search (DFS) is a well-known graph traversal algorithm and can be performed in \(O(n + m)\) time for a graph with \(n\) vertices and \(m\) edges. We consider the dynamic DFS problem, that is, to maintain a DFS tree of an undirected graph \(G\) under the condition that edges and vertices are gradually inserted into or deleted from \(G\). We present an algorithm for this problem, which takes worst-case \(O(\sqrt{mn} \cdot \operatorname{polylog}(n))\) time per update and requires only \((3 m + o(m)) \log n\) bits of space. This algorithm reduces the space usage of dynamic DFS algorithm to only 1.5 times as much space as that of the adjacency list of the graph. We also show applications of our dynamic DFS algorithm to dynamic connectivity, biconnectivity, and 2-edge-connectivity problems under vertex insertions and deletions.
0 references
dynamic graph
0 references
depth-first search
0 references
biconnectivity
0 references
2-edge-connectivity
0 references
0 references