DYNAMIC DFS IN UNDIRECTED GRAPHS: BREAKING THE O(m) BARRIER

被引:23
作者
Baswana, Surender [1 ]
Chaudhury, Shreejit Ray [1 ]
Choudhary, Keerti [1 ]
Khan, Shahbaz [1 ]
机构
[1] IIT Kanpur, Dept Comp Sci & Engn, Kanpur 208016, Uttar Pradesh, India
关键词
depth first search; DFS; dynamic graph algorithm; DEPTH-1ST SEARCH; ALGORITHMS; CONNECTIVITY; TIME; COMPLEXITY; ORACLES; TREE;
D O I
10.1137/17M114306X
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Depth first search (DFS) tree is a fundamental data structure for solving various problems in graphs. It is well known that it takes O(m+n) time to build a DFS tree for a given undirected graph G = (V, E) on n vertices and m edges. We address the problem of maintaining a DFS tree when the graph is undergoing updates (insertion and deletion of vertices or edges). We present the following results for this problem: (1) Fault tolerant DFS tree: There exists a data structure of size (O) over tilde (m) (where (O) over tilde() hides the polylogarithmic factors) which can be preprocessed in (O) over tilde (m) time such that given any set G\F of failed vertices or edges, a DFS tree of the graph G\T can be reported in (O) over tilde (n vertical bar F vertical bar) time. (2) Fully dynamic DFS tree: There exists a fully dynamic algorithm for maintaining a DFS tree that takes (O) over tilde (m) time for preprocessing and worst case (O) over tilde(root mn) time per update for any arbitrary online sequence of updates. (3) Incremental DFS tree: There exists an incremental algorithm for maintaining a DFS tree that takes (O) over tilde (m) time for preprocessing and worst case (O) over tilde (n) time per update for any arbitrary online sequence of edge insertion. These are the first o(m) worst case time results for maintaining a DFS tree of a dense graph in a dynamic environment. Moreover, our fully dynamic algorithm provides, in a seamless manner, the first deterministic algorithm for dense graphs with O(1) query time and o(m) worst case update time for connectivity, biconnectivity, and 2-edge connectivity in the dynamic subgraph model.
引用
收藏
页码:1335 / 1363
页数:29
相关论文
共 61 条
[1]   Popular conjectures imply strong lower bounds for dynamic problems [J].
Abboud, Amir ;
Williams, Virginia Vassilevska .
2014 55TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2014), 2014, :434-443
[2]   A RANDOM NC-ALGORITHM FOR DEPTH 1ST SEARCH [J].
AGGARWAL, A ;
ANDERSON, RJ .
COMBINATORICA, 1988, 8 (01) :1-12
[3]   PARALLEL DEPTH-1ST SEARCH IN GENERAL DIRECTED-GRAPHS [J].
AGGARWAL, A ;
ANDERSON, RJ ;
KAO, MY .
SIAM JOURNAL ON COMPUTING, 1990, 19 (02) :397-409
[4]   FULLY DYNAMIC MAXIMAL MATCHING IN O(log N) UPDATE TIME (CORRECTED VERSION) [J].
Baswana, Surender ;
Gupta, Manoj ;
Sen, Sandeep .
SIAM JOURNAL ON COMPUTING, 2018, 47 (03) :617-650
[5]   DYNAMIC DFS IN UNDIRECTED GRAPHS: BREAKING THE O(m) BARRIER [J].
Baswana, Surender ;
Chaudhury, Shreejit Ray ;
Choudhary, Keerti ;
Khan, Shahbaz .
SIAM JOURNAL ON COMPUTING, 2019, 48 (04) :1335-1363
[6]   On Dynamic DFS Tree in Directed Graphs [J].
Baswana, Surender ;
Choudhary, Keerti .
MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2015, PT II, 2015, 9235 :102-114
[7]   Approximate Shortest Paths Avoiding a Failed Vertex: Near Optimal Data Structures for Undirected Unweighted Graphs [J].
Baswana, Surender ;
Khanna, Neelesh .
ALGORITHMICA, 2013, 66 (01) :18-50
[8]   Fully Dynamic Randomized Algorithms for Graph Spanners [J].
Baswana, Surender ;
Khurana, Sumeet ;
Sarkar, Soumojit .
ACM TRANSACTIONS ON ALGORITHMS, 2012, 8 (04)
[9]  
Baswanass S, 2014, LECT NOTES COMPUT SC, V8572, P138
[10]   Fault tolerant additive and (μ, α)-spanners [J].
Braunschvig, Gilad ;
Chechik, Shiri ;
Peleg, David ;
Sealfon, Adam .
THEORETICAL COMPUTER SCIENCE, 2015, 580 :94-100