On the existence of special depth first search trees

The Depth First Search (DFS) algorithm is one of the basic techniques that is used in a very large variety of graph algorithms. Most applications of the DFS involve the construction of a depth-first spanning tree (DFS tree). In this paper, we give a complete characterization of all the graphs in which every spanning tree is a DFS tree. These graphs are called Total-DFS-Graphs. We prove that Total-DFS-Graphs are closed under minors. It follows by the work of Robertson and Seymour on graph minors that there is a finite set of forbidden minors of these graphs and that there is a polynomial algorithm for their recognition. We also provide explicit characterizations of these graphs in terms of forbidden minors and forbidden topological minors. The complete characterization implies explicit linear algorithm for their recognition. In some problems the degree of some vertices in the DFS tree obtained in a certain run are crucial and therefore we also consider the following problem: Let G = (V,E) be a connected undirected graph where |V| = n and let d ϵ Nn be a degree sequence upper bound vector. Is there any DFS tree T with degree sequencedTthat violatesd (i.e., dT ≤ d, which means: E j such thatdT(j) > d(j))? We show that this problem is NP-complete even for the case where we restrict the degree of only on specific vertex to be less than or equal to k for a fixed k ≥ 2 (i.e., d = (n - 1, , n - 1, k, n - 1, , n - 1)). 0 1995 John Wiley & Sons, Inc.

[1]  Prasoon Tiwari,et al.  An Efficient Parallel Algorithm for Shifting the Root of a Depth First Spanning Tree , 1986, J. Algorithms.

[2]  J. A. Bondy,et al.  Graph Theory with Applications , 1978 .

[3]  Bruno Courcelle,et al.  The Monadic Second-Order Logic of Graphs: Definable Sets of Finite Graphs , 1988, WG.

[4]  Baruch Awerbuch,et al.  A New Distributed Depth-First-Search Algorithm , 1985, Inf. Process. Lett..

[5]  Xin He,et al.  A Nearly Optimal Parallel Algorithm for Constructing Depth First Spanning Trees in Planar Graphs , 1988, SIAM J. Comput..

[6]  Gary Chartrand,et al.  Randomly Traceable Graphs , 1968 .

[7]  Paul D. Seymour,et al.  Graph minors. V. Excluding a planar graph , 1986, J. Comb. Theory B.

[8]  Justin R. Smith Parallel Algorithms for Depth-First Searches I. Planar Graphs , 1986, SIAM J. Comput..

[9]  Robert E. Tarjan,et al.  An Efficient Parallel Biconnectivity Algorithm , 2011, SIAM J. Comput..

[10]  Elwood S. Buffa,et al.  Graph Theory with Applications , 1977 .

[11]  John H. Reif,et al.  Depth-First Search is Inherently Sequential , 1985, Inf. Process. Lett..

[12]  Krishnaiyan Thulasiraman,et al.  A Time-Optimal Message-Efficient Distributed Algorithm for Depth-First-Search , 1987, Inf. Process. Lett..

[13]  Alok Aggarwal,et al.  A random NC algorithm for depth first search , 1987, Comb..

[14]  Robert E. Tarjan,et al.  Depth-First Search and Linear Graph Algorithms , 1972, SIAM J. Comput..

[15]  J. Hopcroft,et al.  Efficient algorithms for graph manipulation , 1971 .

[16]  W. T. Tutte Lectures on matroids , 1965 .

[17]  Robert E. Tarjan,et al.  Efficient Planarity Testing , 1974, JACM.

[18]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[19]  Neil Robertson,et al.  Graph Minors .XIII. The Disjoint Paths Problem , 1995, J. Comb. Theory B.

[20]  Robert E. Tarjan,et al.  Dividing a Graph into Triconnected Components , 1973, SIAM J. Comput..

[21]  Richard Cole,et al.  Parallel merge sort , 1988, 27th Annual Symposium on Foundations of Computer Science (sfcs 1986).

[22]  RobertsonNeil,et al.  Graph minors. XIII , 1994 .

[23]  J. Van Leeuwen,et al.  Handbook of theoretical computer science - Part A: Algorithms and complexity; Part B: Formal models and semantics , 1990 .

[24]  Zvi Ostfeld,et al.  DFS Tree Construction: Algorithms and Characterizations , 1988, WG.

[25]  Michael R. Fellows,et al.  Nonconstructive tools for proving polynomial-time decidability , 1988, JACM.

[26]  J. Hopcroft,et al.  Algorithm 447: efficient algorithms for graph manipulation , 1973, CACM.

[27]  M. Syslo Series - parallel graphs and depth-first search trees , 1984 .

[28]  Richard J. Anderson,et al.  A random 1-011-011-01algorithm for depth first search , 1988 .

[29]  Zvi Ostfeld,et al.  Recognition of DFS trees: sequential and parallel algorithms with refined verifications , 1993, Discret. Math..