Tree-depth
In
Definitions
The tree-depth of a graph may be defined as the minimum height of a
The set of ancestor-descendant pairs in forms a trivially perfect graph, and the height of is the size of the largest clique in this graph. Thus, the tree-depth may alternatively be defined as the size of the largest clique in a trivially perfect supergraph of , mirroring the definition of treewidth as one less than the size of the largest clique in a chordal supergraph of .[3]
Another definition is the following:
where is the set of vertices of and the are the connected components of .[4] This definition mirrors the definition of cycle rank of directed graphs, which uses strong connectivity and strongly connected components in place of undirected connectivity and connected components.
Tree-depth may also be defined using a form of graph coloring. A centered coloring of a graph is a coloring of its vertices with the property that every connected induced subgraph has a color that appears exactly once. Then, the tree-depth is the minimum number of colors in a centered coloring of the given graph. If is a forest of height with the property that every edge of connects an ancestor and a descendant in , then a centered coloring of using colors may be obtained by coloring each vertex by its distance from the root of its tree in .[5]
Finally, one can define this in terms of a
Examples

The tree-depth of a complete graph equals its number of vertices. For, in this case, the only possible forest for which every pair of vertices are in an ancestor-descendant relationship is a single path. Similarly, the tree-depth of a complete bipartite graph is . For, the nodes that are placed at the leaves of the forest must have at least ancestors in . A forest achieving this bound may be constructed by forming a path for the smaller side of the bipartition, with each vertex on the larger side of the bipartition forming a leaf in connected to the bottom vertex of this path.
The tree-depth of a path with vertices is exactly . A forest representing this path with this depth may be formed by placing the midpoint of the path as the root of and recursing within the two smaller paths on either side of it.[7]
Depth of trees and relation to treewidth
Any -vertex forest has tree-depth . For, in a forest, one can always find a constant number of vertices the removal of which leaves a forest that can be partitioned into two smaller subforests with at most vertices each. By recursively partitioning each of these two subforests, one can easily derive a logarithmic upper bound on the tree-depth. The same technique, applied to a tree decomposition of a graph, shows that, if the treewidth of an -vertex graph is , then the tree-depth of is .
In the other direction, the treewidth of a graph is at most equal to its tree-depth. More precisely, the treewidth is at most the pathwidth, which is at most one less than the tree-depth.[10]
Graph minors
A
If is a class of graphs closed under taking graph minors, then the graphs in have tree-depth if and only if does not include all the path graphs.[12] More precisely, there is a constant such that every graph of treedepth at least contains one of the following minors (each of treedepth at least ):[9]
- the grid,
- the complete binary tree of height ,
- the path of order .
Induced subgraphs
As well as behaving well under graph minors, tree-depth has close connections to the theory of induced subgraphs of a graph. Within the class of graphs that have tree-depth at most (for any fixed integer ), the relation of being an induced subgraph forms a well-quasi-ordering.[13] The basic idea of the proof that this relation is a well-quasi-ordering is to use induction on ; the forests of height may be interpreted as sequences of forests of height (formed by deleting the roots of the trees in the height- forest) and Higman's lemma can be used together with the induction hypothesis to show that these sequences are well-quasi-ordered.
Well-quasi-ordering implies that any property of graphs that is monotonic with respect to induced subgraphs has finitely many forbidden induced subgraphs, and therefore may be tested in polynomial time on graphs of bounded tree-depth. The graphs with tree-depth at most themselves also have a finite set of forbidden induced subgraphs.[14]
If is a class of graphs with bounded degeneracy, the graphs in have bounded tree-depth if and only if there is a path graph that cannot occur as an induced subgraph of a graph in .[12]
Complexity
Computing tree-depth is computationally hard: the corresponding decision problem is
On the positive side, tree-depth can be computed in
Bodlaender et al. (1995) give an approximation algorithm for tree-depth with an approximation ratio of , based on the fact that tree-depth is always within a logarithmic factor of the treewidth of a graph.
Because tree-depth is monotonic under graph minors, it is fixed-parameter tractable: there is an algorithm for computing tree-depth running in time , where is the depth of the given graph and is its number of vertices. Thus, for every fixed value of , the problem of testing whether the tree-depth is at most can be solved in
It is also possible to compute the tree-depth exactly, for graphs whose tree-depth may be large, in time for a constant slightly smaller than 2.[21]
Notes
- ^ Bodlaender et al. (1998); Rossman (2008); Nešetřil & Ossona de Mendez (2012), p. 116.
- ^ Nešetřil & Ossona de Mendez (2012), Definition 6.1, p. 115.
- ^ Eppstein, David (November 15, 2012), Graph parameters and cliques in supergraphs.
- ^ Nešetřil & Ossona de Mendez (2012), Lemma 6.1, p. 117.
- ^ Nešetřil & Ossona de Mendez (2012), Section 6.5, "Centered Colorings", pp. 125–128.
- ^ Gruber & Holzer (2008), Theorem 5, Hunter (2011), Main Theorem.
- ^ Nešetřil & Ossona de Mendez (2012), Formula 6.2, p. 117.
- ^ Bodlaender et al. (1995); Nešetřil & Ossona de Mendez (2012), Corollary 6.1, p. 124.
- ^ a b Kawarabayashi & Rossman (2018)
- ^ Bodlaender et al. (1995); Nešetřil & Ossona de Mendez (2012), p. 123.
- ^ Nešetřil & Ossona de Mendez (2012), Lemma 6.2, p. 117.
- ^ a b Nešetřil & Ossona de Mendez (2012), Proposition 6.4, p. 122.
- ^ Nešetřil & Ossona de Mendez (2012), Lemma 6.13, p. 137.
- ^ Nešetřil & Ossona de Mendez (2012), p. 138. Figure 6.6 on p. 139 shows the 14 forbidden subgraphs for graphs of tree-depth at most three, credited to the 2007 Ph.D. thesis of Zdeněk Dvořák.
- ^ Pothen (1988).
- ^ Dereniowski & Nadolski (2006).
- ^ Aspvall & Heggernes (1994).
- ^ Deogun et al. (1999).
- ^ Iyer, Ratliff & Vijayan (1988); Schäffer (1989).
- ^ Nešetřil & Ossona de Mendez (2012), p. 138. A more complicated linear time algorithm based on the planarity of the excluded minors for tree-depth was given earlier by Bodlaender et al. (1998). For improved parameterized algorithms see Reidl et al. (2014).
- ^ Fomin, Giannopoulou & Pilipczuk (2013).
References
- Aspvall, Bengt; S2CID 16141974.
- .
- Deogun, Jitender S.; Kloks, Ton; Kratsch, Dieter; Müller, Haiko (1999), "On the vertex ranking problem for trapezoid, circular-arc and other graphs", Discrete Applied Mathematics, 98 (1–2): 39–63, .
- Dereniowski, D.; Nadolski, A. (2006), "Vertex rankings of chordal graphs and weighted trees", .
- Fomin, Fedor V.; Giannopoulou, Archontia C.; Pilipczuk, Michał (2013), "Computing tree-depth faster than 2n", in Gutin, Gregory; Szeider, Stefan (eds.), Parameterized and Exact Computation: 8th International Symposium, IPEC 2013, Sophia Antipolis, France, September 4-6, 2013, Revised Selected Papers, Lecture Notes in Computer Science, vol. 8246, pp. 137–149, ISBN 978-3-319-03897-1.
- Gruber, Hermann; Holzer, Markus (2008), "Finite automata, digraph connectivity, and regular expression size" (PDF), ISBN 978-3-540-70582-6.
- Hunter, Paul (2011), "LIFO-Search on Digraphs: A Searching Game for Cycle-Rank", S2CID 14278138
- Iyer, Ananth V.; Ratliff, H. Donald; Vijayan, Gopalakrishnan (1988), "Optimal node ranking of trees", .
- ISBN 978-1-61197-503-1.
- MR 2920058.
- Pothen, Alex (1988), The complexity of optimal elimination trees, Tech. Report CS-88-13, Pennsylvania State University.
- Reidl, Felix; Rossmanith, Peter; Sánchez Villaamil, Fernando; Sikdar, Somnath (2014), "A faster parameterized algorithm for treedepth", in Esparza, Javier; Fraigniaud, Pierre; Husfeldt, Thore; et al. (eds.), S2CID 7235055.
- Rossman, Benjamin (2008), "Homomorphism preservation theorems", S2CID 306577.
- Schäffer, Alejandro A. (1989), "Optimal node ranking of trees in linear time", .