Abstract
Tree-width and path-width are well-known graph parameters. Many NP-hard graph problems admit polynomial-time solutions when restricted to graphs of bounded tree-width or bounded path-width. In this work, we study the behavior of tree-width and path-width under various unary and binary graph transformations. For considered transformations, we provide upper and lower bounds for the tree-width and path-width of the resulting graph in terms of those of the initial graphs or argue why such bounds are impossible to specify. Among the studied unary transformations are vertex addition, vertex deletion, edge addition, edge deletion, subgraphs, vertex identification, edge contraction, edge subdivision, minors, powers of graphs, line graphs, edge complements, local complements, Seidel switching, and Seidel complementation. Among the studied binary transformations, we consider the disjoint union, join, union, substitution, graph product, 1-sum, and corona of two graphs.
MSC:
05C76; 68R10
1. Introduction
A graph parameter is a function that associates every graph with a non-negative integer. One of the most famous graph parameters is tree-width, which was defined by Robertson and Seymour [1]. Graphs of bounded tree-width are interesting from an algorithmic point of view, as several NP-complete graph problems can be solved in polynomial time for graph classes of bounded tree-width. For example, tree-decompositions allow for many efficient algorithms in dynamic programming [2,3,4,5]. The same holds for the similar graph parameter path-width. This is because every path-decomposition can be interpreted as a special case of a tree-decomposition. Both parameters play a crucial role in the field of structural graph theory, especially in the graph minor theory of Robertson and Seymour [6].
Trees and forests have tree-width at most one. Series-parallel graphs have tree-width at most two [7]. Outerplanar graphs (and subclasses such as cactus graphs and maximal outerplanar graphs) have tree-width at most two, and k-outerplanar graphs have tree-width at most [7]. Halin graphs have tree-width at most three [7]. For other classes of graphs with bounded tree-width, we refer the reader to the works of Bodlaender [7,8,9].
Determining whether the tree-width or path-width of a graph is at most a given value w is NP-complete [10]. However, for every fixed integer k, one can decide in linear time whether a given graph G has tree-width or path-width k (see Bodlaender [11]). For an in-depth overview of tree-width and path-width, we again refer the reader to the work by Bodlaender [7].
A graph transformation f is a function that creates a new graph from a number of input graphs . Examples of graph transformations include taking an induced subgraph of a graph, adding an edge to a graph, or generating the join of two graphs. A graph operation is a graph transformation that is deterministic and invariant under isomorphism. Examples of graph operations include the edge complementation of a graph or generating the join of two graphs. Please note that by our definition, the two graph transformations that involve taking an induced subgraph of a graph and adding an edge to a graph are not graph operations. The graph theory books by Bondy and Murty [12] and Harary [13] provide a large number of graph transformations.
The impact of graph operations, which can be defined by monadic second-order formulas (so-called MS transductions), on graph parameters can often be shown in a very short way. Unfortunately, the resulting bounds are typically rather imprecise [14,15].
Transformations that reduce graphs can be used to characterize classes of graphs by forbidden subgraphs. For example, the property that a graph has tree-width at most k is preserved under the graph transformation “taking minors”. This fact is used to show that the set of graphs of tree-width at most k can be characterized by a finite set of forbidden minors [6].
The effect of graph transformations on graph parameters has been well studied, e.g., for bandwidth [16], for tree-width [7], for clique-width [17,18,19], and for rank-width [18].
In this paper, we study the behavior of tree-width and path-width under various graph transformations and graph operations. We consolidate known results from various works and prove novel results. In doing so, this work provides a comprehensive overview of the effects of unary and binary graph transformations on tree-width and path-width. This paper is organized as follows. In Section 2, we recall the definitions of tree-width and path-width. In Section 3, we consider the effects of the following unary graph transformations on tree-width and path-width: vertex deletion, vertex addition, edge deletion, edge addition, subgraphs, vertex identification, edge contraction, edge subdivision, minors, powers of graphs, line graphs, edge complements, local complements, Seidel switching, and Seidel complementation. If it is possible to bound the tree-width or path-width of the resulting graph , we show how to compute a corresponding decomposition in time linear in the size of the decomposition for G. In Section 4, we give an overview of the effects of the following binary graph operations on tree-width and path-width: disjoint union, join, union, substitution, graph products, 1-sum, and corona. If it is possible to bound the tree-width or path-width of the combined graph in terms of the tree-width or path-width of the graphs and , we show how to compute a corresponding decomposition in time linear in the size of the decompositions for and . Finally, we summarize our results and provide some conclusions, as well as an outlook for future work, in Section 5.
2. Preliminaries
2.1. Graphs
We work with finite, undirected graphs G, where is a finite set of vertices and is a finite set of edges without loops or multiple edges. For a vertex , we denote by the set of all vertices adjacent to v in G, i.e., . The vertex set is called the set of all neighbors of v in G or the neighborhood of v in G. Note that v itself does not belong to . The degree of a vertex , denoted by , is the number of neighbors of v in G, i.e., , and the maximum degree of G, denoted by , is the maximum of the vertices’ degrees, i.e., . In this work, we discuss graphs only up to isomorphism. This allows us to define the path with n vertices as , which is useful in several examples. For definitions of further special graphs, we refer to the book by Brandstädt et al. [20].
2.2. Tree-Width
One of the most famous tree-structured graph classes is the class of graphs of bounded tree-width. The first notion equivalent to tree-width, the dimension of a graph, was introduced by Bertelè and Brioschi [21] in 1973. The following definition of tree-width was given by Robertson and Seymour [1] in 1986.
Definition 1
(Tree-width). A tree-decomposition of a graph G is a pair , where T is a tree and is a family of subsets of , called bags, such that the following three conditions hold:
- (tw-1)
- .
- (tw-2)
- For every edge , there is a node with .
- (tw-3)
- For every vertex , the subgraph of T induced by the nodes with is connected.
The width of a tree-decomposition is defined as
Finally, the tree-width of a graph G, denoted by , is the smallest integer k, such that there is a tree-decomposition for G of width k.
Please note that (tw-1) has no influence on the width of a tree-decomposition. It merely ensures that isolated vertices are covered by a tree-decomposition, which is useful for the design of algorithms along tree-decompositions.
Obviously, the tree-width of every graph G is bounded by , as one can always place all its vertices in a single bag. Conversely, determining whether the tree-width of a given graph is at most a given integer w is NP-complete, even for bipartite graphs and complements of bipartite graphs [10].
Example 1
(Tree-decomposition). Figure 1 depicts a graph together with a corresponding tree-decomposition of width 1.
Figure 1.
(a) A graph and (b) a corresponding tree-decomposition.
In addition to the previous definition of tree-width, tree-width can also be defined by bramble numbers [22] (also known as the size of screens [23]) or partial k-trees [24]. We refer the reader to the work by Bodlaender [7] for an overview of equivalent definitions.
Throughout the course of our work, we make use of the following lemma by Scheffler [25] several times.
Lemma 1.
Every graph of tree-width at most k has a vertex of degree at most k.
Proof.
Let G be a graph with and be a tree-decomposition of width k for G, such that is as small as possible. Let ℓ be a leaf of T and denote its parent in T as v. Since is as small as possible, there must exist a vertex with . Otherwise, holds, and we can delete , contradicting the minimality of . Thus, due to (tw-2) and (tw-3), all neighbors of u must be in and, as contains at most vertices, it follows that u has degree at most k. □
The following proposition was stated by Bodlaender [7], who credited it to Rose [24]. As Rose’s proof makes use of k-trees, we provide, for the sake of self-containment, a proof that relies only on Lemma 1 and tree-width.
Proposition 1.
Let G be a graph. Then, it holds that
Proof.
By Lemma 1, we know that there exists at least one vertex v in G of degree at most , such that v has at most incident edges in G. Let us denote the graph we obtain by removing v from G as . Then, we know that from G to , we removed at most edges from G. It is easy to see that removing v and all its incident edges from G can reduce the tree-width of G but not increase it. Hence, holds, and we can repeat the previous argument for , i.e., remove a vertex and at most edges from . Repeating this argument for all vertices of G results in . After several repetitions of the previous argument, i.e., removing a vertex with at most incident edges from the remaining graph, there are at most vertices left in the remaining graph. This remaining graph can have a tree-width of at most , such that by Lemma 1, it follows that in this graph, there is a vertex with degree at most . Removing this vertex from the remaining graph, we remove at most edges. Repeating this argument for all of the remaining vertices in sequence yields
This completes the proof of the proposition. □
While the previous proposition provides an upper bound for the number of edges of a graph in terms of the number of its vertices and its tree-width, the following proposition by Kneis et al. [26] provides an upper bound for the tree-width of a graph in terms of the number of its edges and vertices.
Proposition 2.
Let G be a graph. Then, it holds that
Recall that a graph is said to be k-connected if and only if every pair of its vertices is connected by at least k vertex-disjoint paths [27]. Using Lemma 1, we obtain the following lower bound for the tree-width of k-connected graphs.
Lemma 2.
Every k-connected graph has tree-width at least k.
Proof.
Let G be a k-connected graph. By definition, it holds that for all vertices , there exist k vertex-disjoint paths from u to v in G. Consequently, and must be true. In other words, every vertex of G has degree at least k. By the contraposition of Lemma 1, we immediately obtain . □
To conclude the preliminary subsection on tree-width, we cite two lemmas by Bodlaender and Möhring [28] that we make use of in later sections.
Lemma 3
(Clique containment). Let be a tree-decomposition for a graph G and be a clique in G. Then, there exists some with .
Lemma 4
(Complete bipartite subgraph containment). Let be a tree-decomposition for a graph G and with and . Then, there exists a vertex with or .
2.3. Path-Width
In 1983, three years prior to their definition of tree-width, Robertson and Seymour introduced the notion of path-width [29].
Definition 2
(Path-width). A path-decomposition of a graph G is a sequence of subsets of , called bags, such that the following three conditions hold:
- (pw-1)
- .
- (pw-2)
- For every edge , there is a set , , with .
- (pw-3)
- For all with , it holds that .
The width of a path-decomposition is defined as
Finally, the path-width of a graph G, denoted by , is the smallest integer k, such that there is a path-decomposition for G of width k.
Please note that (pw-1) has no influence on the width of a path-decomposition.
Similar to the tree-width of a graph, the path-width of a graph G is limited by , as all vertices of G can be stored in a single bag. However, deciding whether the path-width of a graph is at most a given integer w is NP-complete [30]. Even for special graph classes, such as bipartite graphs, complements of bipartite graphs [10], chordal graphs [31], bipartite distance hereditary graphs [32], and planar graphs with maximum vertex degree 3 [33], it is NP-complete to decide whether the path-width is at most a given integer w. On the other hand, there are also special graph classes, such as permutation graphs [34], circular arc graphs [35], and co-graphs [28], for which one can decide in polynomial time whether the path-width is at most a given integer w.
Example 2
(Path-decomposition). is a path-decomposition of width 2 for the graph shown in Figure 1a.
Besides the definition of path-width by Robertson and Seymour, there are other definitions of path-width, for example, by the vertex separation number [36]. Again, we refer to the work by Bodlaender [7] for an overview of equivalent definitions.
With a small adaptation to the proof for Lemma 1, we obtain a similar result for path-width.
Lemma 5.
Every graph of path-width at most k has a vertex of degree at most k.
Using this lemma, we obtain the following proposition for path-width with the same proof as that used for Proposition 1, adapted to path-width.
Proposition 3.
Let G be a graph. Then, it holds that
The same work by Kneis et al. [26], which provides an upper bound for the tree-width of a graph in terms of its edges and vertices, also provides an upper bound for the path-width of a graph in terms of its edges and vertices.
Proposition 4.
Let G be a graph. Then, it holds that
Following the same line of argument as in Lemma 1, we obtain the following result for the path-width of k-connected graphs.
Lemma 6.
Every k-connected graph has path-width at least k.
As every path is a tree, every path-decomposition can be interpreted as a tree-decomposition, such that the results from Lemmas 3 and 4 also hold for path-decompositions. Subsequently, we provide reformulations of the results by Bodlaender and Möhring [28], adjusted for path-width.
Lemma 7
(Clique containment). Let be a path-decomposition for a graph G and a clique in G. Then, there exists some with .
Lemma 8
(Complete bipartite subgraph containment). Let be a path-decomposition for a graph G and with and . Then, there exists some with or .
2.4. Graph Parameters and Relations
In this subsection, we provide results relating the parameters tree-width and path-width to each other as well as to other well-known graph parameters, such as the following:
- The independence number , specifying the size of the largest independent set in G;
- The clique number , specifying the size of the largest clique in G;
- The chromatic number , specifying the least number of distinct colors required to color all vertices of G, such that no two adjacent vertices obtain the same color.
Using the following theorem, we prove that the tree-width of a graph is always bounded by the path-width of the graph, whereas the path-width of a graph cannot be bounded only in the graph’s tree-width but in the tree-width and the number of vertices.
Theorem 1.
For a graph G, it holds that
Proof.
The first relation follows from the definitions of tree-width and path-width, as every path-decomposition can also be interpreted as a tree-decomposition.
The second relation, making use of the idea of Theorem 6 in the work by Korach and Solel [37], can be shown as follows. Let be a tree-decomposition for G and denote its bags by for . According to the result (10.16) in the book by Kleinberg and Tardos [38], we can assume to be a non-redundant tree-decomposition for G, i.e., holds. Following Scheffler [25], the path-width of any tree S can be limited from above by . Thus, since is a non-redundant tree-decomposition for G, it follows that there exists a path-decomposition for T of path-width . We denote the bags of by for . Given this path-decomposition for T, we construct with . By Theorem 6 in the work by Korach and Solel [37], it follows that is a path-decomposition for G. We know that holds for all and that for . Consequently, it follows that is true for , such that we obtain . □
By Lemmas 3 and 7, we know that for a complete graph with vertices, , it holds that . Consequently, the first inequality stated in Theorem 1 is tight.
For the second inequality, we recall that the path-width of perfect 2-ary trees of height h is (cf. [25]) and that for , the path-width of perfect k-ary trees of height h is exactly h from [39] (Corollary 3.1). Thus, trees have tree-width one while their path-width grows asymptotically in height, which is at least logarithmic in the number of vertices, implying that the second inequality is asymptotically optimal.
The same two lemmas imply that for a graph G, every clique of G is a subset of at least one bag of every tree-decomposition and path-decomposition for G. With this in mind, the following proposition follows immediately.
Proposition 5.
For a graph G, it holds that
Chlebíková [40] proved the following proposition’s first bound, i.e., the one for tree-width. To do so, the author argued that by splitting a graph G’s vertices into an independent set I of size and subsets of size one, it follows that G is a subgraph of a complete -partite graph. Then, it is easy to see that the bags for allow a tree-decomposition of width for the -partite graph. As the same bags , , allow a path-decomposition as well, the same bound follows for path-width.
Proposition 6.
For a graph G, it holds that
Finally, Chlebíková [40] also proved the following proposition’s first bound. Making use of the first bound in Theorem 1, we extended this result to path-width, too.
Proposition 7.
For a graph G, it holds that
3. Unary Graph Operations and Graph Transformations
Let G be a non-empty graph and f be a unary graph transformation that creates a new graph from G. In this section, we consider the tree-width and path-width of graph with respect to the tree-width and path-width of G. In particular, we consider the following graph transformations: vertex deletion, vertex addition, edge deletion, edge addition, taking a subgraph, edge subdivision, vertex identification, edge contraction, taking a minor, powers of graphs, line graphs, edge complements, local complements, Seidel switching, and Seidel complementation.
3.1. Vertex Deletion and Vertex Addition
3.1.1. Vertex Deletion
Let G be a graph and a vertex of G. By , we denote the graph we obtain from G when removing v and all its incident edges, i.e.,
With the graph operation of vertex deletion defined, we now consider the tree-width and path-width of .
Theorem 2.
For a graph G and vertex , it holds that
Proof.
By removing v from every bag of a tree-decomposition (path-decomposition) for G and deleting all resulting empty bags, we obtain a tree-decomposition (path-decomposition) for . Consequently, we obtain and . Adding v and its incident edges to results in G, such that the lower bounds follow from the upper bounds of Theorem 3. □
3.1.2. Vertex Addition
Let G be a graph, be a subset of vertices from G, and be a newly introduced vertex. By , we denote the graph we obtain from G when inserting v with neighborhood , i.e.,
In the special case when holds for a vertex , we call v a pendant vertex of G. If is true, we call v a dominating vertex of G. With vertex addition defined, we consider the tree-width and path-width of graph in the following theorem.
Theorem 3.
For a graph G, a subset of vertices , and a vertex , it holds that
Proof.
By introducing v to all bags of a tree-decomposition (path-decomposition) of G, we obtain a tree-decomposition (path-decomposition) of . Thus, it follows that and are true. By removing v from , we obtain G. Consequently, the lower bounds follow from the upper bounds of Theorem 2. □
We can always add a pendant vertex to a graph without increasing the graph’s tree-width. To do so, we introduce a new bag that contains the new vertex and its sole neighbor. Then, the new bag is connected to any bag of a tree-decomposition for the graph that already contains the neighbor.
Corollary 1.
For a graph G, a vertex , and a newly introduced vertex , it holds that
Conversely, the following example shows that the previous statement does not hold with respect to path-width. Introducing a pendant vertex to a graph can increase its path-width.
3.2. Edge Addition and Edge Deletion
3.2.1. Edge Deletion
Let G be a graph and be two vertices. For , we define by the graph we obtain from G by deleting the edge , i.e.,
With edge deletion defined, the following theorem shows that removing an edge from a graph decreases the width of the graph by at most one.
Theorem 4.
For a graph G and two different vertices , it holds that
Proof.
The upper bound follows immediately because a tree-decomposition (path-decomposition) for G is also a tree-decomposition (path-decomposition) for .
As G can be obtained from by adding edge , the lower bound follows from the upper bound of Theorem 5. □
3.2.2. Edge Addition
Let G be a graph and be two vertices. For , we define by the graph we obtain from G when adding the edge , i.e.,
Having defined edge addition, our next theorem shows that inserting an edge into a graph increases the graph’s width by at most one.
Theorem 5.
For a graph G and two different vertices , it holds that
Proof.
Given a tree-decomposition (path-decomposition) for G, we obtain a tree-decomposition (path-decomposition) for by adding one of the two vertices, v or w, to all its bags. Consequently, and hold.
The lower bounds follow from the fact that a tree-decomposition (path-decomposition) for is also a tree-decomposition (path-decomposition) for G. □
3.3. Subgraph
So far, we have only studied unary graph operations in this work. However, in this subsection, we deviate from this path and study the unary graph transformation of taking a subgraph. This act of modifying a graph is not deterministic, since there are various subgraphs one can take from any given graph, and it is not explicitly defined which one should be taken. Consequently, taking a subgraph of a graph multiple times can result in different subgraphs, making the studied modification a graph transformation but not a graph operation.
Note that taking a subgraph of a graph can be interpreted as a sequence of vertex-deletion and edge-deletion operations. Hence, every subgraph of a graph can be obtained by deleting selected vertices and edges from the original graph, such that the corollary below follows immediately from Theorems 2 and 4.
Corollary 2.
For a graph G and any subgraph H of G, it holds that and .
3.4. Vertex Identification
For a graph G and two different vertices , the identification of v and w in G, denoted by , consists of a vertex set and an edge set
Given this definition of vertex identification, the following result summarizes the graph operation’s effect on the tree-width and path-width of the involved graph.
Theorem 6.
For a graph G and two different vertices , it holds that
Proof.
For the upper bounds, let be a tree-decomposition ( be a path-decomposition) for G of width (). To obtain a tree-decomposition (path-decomposition) for , we proceed as follows. In the first step, replace all occurrences of v and w in all bags of with u and denote the result by . Since is not necessarily an edge of G, could violate (tw-3) ((pw-3)), i.e., the bags of containing u might not be connected. In this case, we add u to all bags between the disconnected components. With this, is a valid tree-decomposition ( is a valid path-decomposition) for . To obtain from , we increase the width by at most one, such that () follows.
For the lower bounds, we proceed as follows. First, rename vertex u of to v and denote the resulting graph by . Next, add a new vertex w with neighborhood to . By Theorem 3, it follows that and are true. Since G is a subgraph of , with Corollary 2, we obtain that
hold, which yields the lower bounds and . □
Note that the upper bounds specified in the previous theorem are tight, since a vertex identification on the end vertices of a path results in a cycle with increased tree-width and path-width.
3.5. Edge Contraction
In the case that the two vertices of a vertex identification are adjacent, i.e., , we call the operation an edge contraction.
Theorem 7.
For a graph G and two different vertices with , it holds that
Proof.
Let be a tree-decomposition ( be a path-decomposition) for G of width (). We replace all occurrences of v and w in all bags of with u and denote the resulting decomposition by . Since v and w are adjacent in G, we know by (tw-2) ((pw-2)) that there is at least one bag in that contains v and w. Consequently, (tw-3) ((pw-3)) must hold for , and it follows that is a valid tree-decomposition ( is a valid path-decomposition) for of width at most (). Because is true, we can argue that (tw-3) ((pw-3)) holds for . This argument is not valid for an arbitrary vertex identification, as v and w are not guaranteed to be adjacent (see Theorem 6).
The lower bounds follow from the same argument as for the lower bounds in the proof of Theorem 6. □
Contracting any edge of a clique of size n results in a clique of size . By Lemma 3 (Lemma 7), we know that () holds. Consequently, the lower bounds specified in the previous theorem are tight.
3.6. Edge Subdivision
Let G be a graph, be a newly introduced vertex, and be an edge of G. The edge subdivision of in G, denoted by , consists of a vertex set and an edge set .
With this definition, the following theorem states the effect of an edge subdivision on the tree-width and path-width of a given graph.
Theorem 8.
For a graph G and an edge , it holds that
Proof.
G is isomorphic to , such that the upper bounds of Theorem 7 yield
resulting in this theorem’s lower bounds.
For the upper bound of tree-width, let us distinguish the following two cases:
- Case 1:
- . In this case, G is a forest. Since an edge subdivision does not alter this fact, is still a forest, and must hold.
- Case 2:
- . In this case, the biggest bag of every tree-decomposition of G contains at least three vertices. Furthermore, by (tw-2), it follows that in every tree-decomposition of G, there is at least one bag that contains v and w. Let us denote this bag by X. Adding a new bag with vertices and making it adjacent to X results in a tree-decomposition of with unaltered size, such that follows.
For the upper bound of path-width, we proceed as follows. By (pw-2), we know that in every path-decomposition of G there exists a bag containing v and w. Adding u to this bag, we obtain a valid path-decomposition for . Consequently, follows. □
The upper bound for path-width given in the previous theorem is tight. The path-width of the caterpillar graph C in Figure 2c is equal to one. A caterpillar graph is a tree for which the removal of all pendant vertices results in a chordless path. Conversely, the path-width of the graph obtained by subdividing edge of C, depicted as in Figure 2b, is two. Please note that is one of the two forbidden minors of the set of all graphs of path-width one (see [41] and Section 3.7).
After subdividing all edges of a graph, the resulting graph must be bipartite. The resulting graph obtained after subdividing all edges of a graph G is called the incidence graph of G, denoted by . The following corollary provides bounds for a graph’s incidence graph and follows from Theorem 8.
Corollary 3.
For a graph G, it holds that
Proof.
The result for tree-width follows directly from Theorem 8.
By contracting all subdivided edges of , we obtain G. By Theorem 7, we know that edge contractions do not increase the resulting graph’s path-width, such that follows.
Denote by a path-decomposition for G of width , and let be an edge of G and be the node introduced to subdivide the edge. By (pw-2), we know that there is a bag X in with . We introduce a new bag to as a successor to X and denote the resulting decomposition by . Then, is a path-decomposition for of width .
Vertex appears in exactly one modified bag, , and is a superset of the original bag X. Therefore, for every edge of G, we can repeat the previous argument and add a separate, modified bag to the same path-decomposition without increasing its final width by more than one. If required, multiple modified copies of the same original bag can be lined up as successors to each other. By doing so, we obtain a path-decomposition for of width , such that follows. □
3.7. Minor
Every graph H one may obtain from a given graph G, by applying a finite sequence of arbitrary edge-deletion and edge-contraction operations, is called a minor of G. Obviously, taking a minor is a graph transformation but not a graph operation, as the applied sequence of operations is not deterministic.
Given this definition, the theorem below follows immediately from Theorem 4 and Theorem 7.
Theorem 9.
For a graph G and a minor H of G, it holds that and .
In other words, the fact that a graph has tree-width (path-width) at most is preserved under the graph transformation of taking a minor.
Subsequently, we cite probably one of the most important theorems in graph theory, the minor theorem, shown by Robertson and Seymour [42].
Theorem 10
(Minor theorem). In every infinite set of graphs, there are two graphs such that one of them is a minor of the other.
Before the minor theorem was proven by Robertson and Seymour, it was known as Wagner’s conjecture [43]. The following theorem is an important corollary of the minor theorem [42].
Theorem 11.
Every set of graphs that is closed under minors can be defined by a finite set of forbidden minors.
For , Theorem 9 implies that the set of graphs with tree-width (path-width) at most k is closed under minors. Consequently, Theorem 11 then implies that the set of graphs with tree-width (path-width) at most k can be characterized by a finite set of forbidden minors. For small values of k, these sets of forbidden minors are known. For example, Kinnersley and Langston [41] characterized the set of all graphs with path-width at most one by the forbidden minors and (cf. Figure 2). Furthermore, they characterized the set of graphs with path-width at most two by 110 forbidden minors [41]. The set of all graphs with tree-width at most one is characterized by the forbidden minor , and the set of all graphs with tree-width at most two is characterized by the forbidden minor (see the work by Bodlaender and van Antwerpen-de Fluiter [44]). For the four forbidden minors that characterize the set of all graphs with tree-width at most three, see the work by Arnborg, Proskurowski, and Corneil [45].
The main algorithmic consequence of the minor theorem is stated in the following theorem, the minor test, also shown by Robertson and Seymour [46].
Theorem 12
(Minor test). For a fixed graph H and a given graph G, one can decide in time in whether H is a minor of G.
A more precise formulation of the runtime would be for some function f and .
From a parameterized point of view, the minor test is fixed-parameter tractable with respect to the parameter . However, the constant behind the -notation in Theorem 12 depends on the parameter and is huge. Kawarabayashi, Kobayashi, and Reed [47] showed an improved version of the previous result, allowing one to decide the minor test in time in .
The corollary below follows immediately from Theorem 11 and the application of Theorem 12 for every forbidden minor.
Corollary 4.
For every set of graphs that is closed under minors, and for every graph G, one can decide in time polynomial in the size of G whether holds.
Nevertheless, an implicit precondition of the corollary is that the set of all forbidden minors characterizing is known.
Another result by Robertson and Seymour [48] is the so-called grind minor theorem, also known as the excluded grid theorem.
Theorem 13
(Grid minor theorem). There is a function , such that every graph with tree-width at least has a -grid graph as a minor.
Even if the grid minor theorem seems very technical at first, it has a direct effect on the tree-width of a graph, as shown by the following theorem from the same work by Robertson and Seymour [48].
Theorem 14.
For every planar graph H, there is an integer , such that every graph without H as a minor has tree-width at most k.
Prior to this result for tree-width, Robertson and Seymour [29] proved an analogue result with respect to path-width.
Theorem 15.
For every forest H, there is an integer , such that every graph without H as a minor has path-width at most k.
3.8. Power of a Graph
For and a graph G, we denote the d-th power of G by . Thus, has the same set of vertices as G, i.e., , and two vertices of are adjacent if and only if there exists a path of length at most d in G between these vertices.
To begin, the following lemma provides an upper bound on the number of neighbors each vertex might have in the d-th power of a graph G.
Lemma 9.
Given and a graph G, for every vertex , it holds that
Proof.
Let be a vertex of G. To obtain an upper bound on the number of neighbors v might have in , we derive an upper bound for the number of vertices reachable from v within a distance of at most d in G. By definition, we know that holds, such that v has at most neighbors in G. By the same argument, every neighbor u of v in G has at most neighbors. However, one of those neighbors of u is v, such that u has at most not-yet-considered neighbors. Repeating the previous argument times, we obtain an upper bound on the number of vertices at an exact distance d to v,
Since we are interested in an upper bound on the number of vertices with a distance of at most d to v, we need to sum up the upper bounds for all intermediate distances from one up to d. By doing so, we obtain
As every vertex that is reachable from v in G within a distance of at most d is adjacent to v in , it follows that
holds. □
Note that the previously stated upper bound is tight. To see this, consider a tree T with root and three binary subtrees of equal but arbitrary depth adjacent to v.
The following theorem makes use of this upper bound for a vertex’s number of neighbors in the d-th power of a graph to study the effect of raising a graph to the power of d with respect to tree-width and path-width.
Theorem 16.
For and a graph G, it holds that
Proof.
The lower bounds follow from Corollary 2, as G is a subgraph of .
For the upper bounds, denote by a tree-decomposition (by a path-decomposition) of G. By constructing , we know all neighbors of every vertex in . To obtain a tree-decomposition (path-decomposition) for , for every vertex , we add all neighbors of v in , i.e., , to every bag containing v. We denote the resulting bag by and the resulting set of bags by . Then, by Lemma 9, every bag of contains at most
vertices. Taking G to the power of d does not alter the set of vertices, i.e., , such that () still satisfies (tw-1) ((pw-1)). By adding, for every vertex , all neighbors of v in to every bag containing v, all new edges introduced into are covered, such that () satisfies (tw-2) ((pw-2)). To see that () satisfies (tw-3) ((pw-3)), let be any vertex of G and denote by two bags with . We consider three cases:
- If it holds that for , it immediately follows that v is also in all bags connecting and , since () satisfies (tw-3) ((pw-3)).
- If it holds that but , there must be a vertex with , as otherwise, would not hold. Since , there is a path between u and v in G of length at most d. Consequently, with () satisfying (tw-2) ((pw-2)) and (tw-3) ((pw-3)), there must also be a path between s and t, such that for every in , there is a vertex in with . For every such vertex , it holds that , so that by the construction of , it follows that holds. Therefore, also in this case, all bags between and must contain v.
- Finally, if and , there must be at least one bag with , and we can repeat the previous argument for and .
Consequently, ( is a tree-decomposition (path-decomposition) for of width
and the upper bound follows. □
3.9. Line Graph
In this subsection, we study the graph operation of creating a graph’s line graph, using the notation formulated by Harary and Norman [49].
For a graph G, its line graph, , is defined by
In other words, the line graph of a graph G has a vertex for every edge of G, and two vertices of are adjacent if the corresponding edges in G are adjacent. The concept of a line graph, although not explicitly called a line graph, was first used by Whitney [27] in 1932.
Furthermore, the underlying graph G of a given line graph is called the root graph of .
Given a graph G, it is possible to bound the tree-width (path-width) of its line graph in terms of the tree-width (path-width) of G and G’s maximum vertex degree.
Theorem 17.
For a graph G, it holds that
Proof.
The stated lower bound for the tree-width of was shown by Harvey and Wood [50] in Proposition 2.3.
A slightly weaker bound can be obtained as follows. Let be a tree-decomposition for of width . In every bag of , replace each edge of G with both of its endpoints. Then, we can obtain a tree-decomposition for G of width at most , such that follows. A similar argument results in the stated lower bound for path-width.
The upper bounds are known from several works [51,52,53] and can be obtained as follows. Let be a tree-decomposition ( a path-decomposition) for G of width (). If we replace every bag with the set of all edges incident to at least one vertex in , we obtain a tree-decomposition (path-decomposition) for of width at most (). □
Stricter upper bounds than the ones shown in Theorem 17 can be found in Theorem 1.3 in the work by Harvey and Wood [50].
Furthermore, it is easy to confirm that for every graph G, the edges incident to a vertex of G with degree form a clique of size in . With Lemmas 3 and 7, the following corollary follows immediately.
Corollary 5.
For a graph G, it holds that and .
For special graphs, the inequality turns into an equality, as the following result shows.
Proposition 8.
Let G be a graph. If is true, it holds that . If is true, it holds that .
The statement for tree-width was shown by Harvey and Wood [50]. The statement for path-width follows from two arguments. For the lower bound, we refer to Corollary 5. For the upper bound, we know from Section 3.7 that a graph G of path-width one can be identified as a disjoint union of caterpillar graphs, allowing one to construct a path-decomposition of width at most for .
In addition to providing a direct equation for how to obtain a line graph’s tree-width (path-width) from its root graph’s tree-width (path-width) if the root graph is a forest (caterpillar graph), the previous proposition shows that a line graph’s tree-width (path-width) cannot be bounded in terms of its root graph’s tree-width (path-width).
We conclude this subsection with a theorem by Harvey and Wood [54], showing how to derive a line graph’s tree-width (path-width) from its root graph if the root graph is a complete graph.
Theorem 18.
For , it holds that
3.10. Edge Complement
In this subsection, we study the graph operation of creating a graph’s edge complement graph. The edge complement graph of a graph G, denoted by , has the same vertex set as G, and two vertices are adjacent in if and only if they are not adjacent in G, i.e.,
Let be a star graph with one dominating vertex v in the center and ℓ vertices , , as satellites, all only adjacent to v. Then, the edge complement graph of , , consists of an isolated vertex v and a clique of size ℓ formed by all satellites , . Since neither nor is a minor of , we know from Section 3.7 that holds. However, by Lemmas 3 and 7, it follows that is true. Therefore, it is generally impossible to bound the tree-width (path-width) of an edge complement graph in terms of the tree-width (path-width) of the original graph G.
Nevertheless, Joret and Wood [55] proved the following theorem, providing a lower bound for the tree-width of a graph’s edge complement graph. Note that formulating bounds of the form for a graph parameter f is known as the Nordhaus–Gaddum problem.
Theorem 19.
For a graph G, it holds that
In their work, Joret and Wood also showed that the specified bound is tight. As is true for every graph G, the corollary below follows immediately.
Corollary 6.
For a graph G, it holds that
For the path with four vertices, , it holds that as well as . Consequently, we obtain
such that the bound specified in Corollary 6 is also tight.
3.11. Local Complementation
In his work, Bouchet [56] introduced the graph operation local complementation. Given a graph G and a vertex , the local complementation of G, denoted by , is defined by
In other words, is obtained from a graph G by replacing the subgraph of G induced by with its edge complement. Recall that holds, such that the neighborhood of v in is the same as in G.
Denote by the star graph we already made use of in Section 3.10. By applying a local complementation to the dominating vertex v, it is easy to see that equals a clique of size . The star has tree-width and path-width one, while has tree-width and path-width ℓ. Therefore, in general, the tree-width (path-width) of a graph G’s local complement cannot be bounded in terms of the tree-width (path-width) of G.
3.12. Seidel Switching
The Seidel switching operation was introduced by the Dutch mathematician J.J. Seidel in connection with regular structures, such as systems of equiangular lines, strongly regular graphs, or so-called two-graphs [57,58,59]. Several examples of applications of Seidel switching can be found in algorithms, e.g., in a polynomial-time algorithm for the -structure recognition problem [60] or in an algorithm for the construction of bi-join decompositions of graphs [61].
For a graph G and a vertex , the graph resulting from a Seidel switching operation, denoted by , is defined as follows. The vertex set of is the same as the vertex set of G, i.e., , and the edge set of is defined as
In other words, every neighbor of v in G is a non-neighbor of v in , and every non-neighbor of v in G is a neighbor of v in .
Given this definition of Seidel switching, by extending a result by Bodlaender and Hage [62], we show that a single Seidel switching operation increases or decreases a graph’s tree-width and path-width by at most one.
Theorem 20.
For a graph G and a vertex , it holds that
Proof.
For the upper bounds, let be a tree-decomposition ( a path-decomposition) for G of width (). When we add v to all bags of , denoting the resulting set of bags by , we obtain a tree-decomposition (a path-decomposition ) for of width at most (). Consequently, () follows.
Since holds, we can derive the lower bound from the upper bound via (). □
Note that the bounds shown in Theorem 20 are tight. To convince oneself of this fact, consider the path with four vertices, . Its tree-width and path-width are one. Denote by v one of the two vertices in with degree one. Then, contains as a minor, such that a tree-width and path-width of at least two follow. Following the example in the opposite direction, i.e., applying the Seidel switching operation to for the same vertex v provides an example that the lower bound is also tight.
In 1980, Colbourn and Corneil [63] studied the complexity of the decision problem of whether two graphs are switching equivalent. In their work, they proved that this decision problem is polynomial-time equivalent to the decision problem of graph isomorphism. Thus, two graphs G and with the same vertex set V are called switching equivalent if there exists a sequence of vertices in V, such that for and , , it holds that . In 2012, Bodlaender and Hage [62] considered in their work the tree-width of switching classes. By the definition of switching equivalence and via Theorem 20, we can formulate the following corollary, contributing to the research on the tree-width of switching classes initiated by Bodlaender and Hage.
Corollary 7.
Let G and be two switching equivalent graphs and denote by a sequence of vertices such that is true. Then, it holds that
3.13. Seidel Complementation
Limouzy [64] defined the Seidel complementation operation in order to provide a characterization for permutation graphs. For a graph G and a vertex , the graph resulting from the Seidel complementation operation, denoted by , has the same vertices as G, i.e., , and edge set
In other words, the edge set of equals the edge set of G, with edges and non-edges between the neighborhood and non-neighborhood of v complemented.
Let G be a graph that consists of two parts. The first part is a star with vertex v as the dominating vertex and satellites , adjacent to v. The second part is a set of ℓ isolated vertices, . Since G has neither a nor an as a minor, we know that holds. By applying the Seidel complementation operation to vertex v, contains a complete bipartite subgraph formed by the vertices . By Lemma 4 (Lemma 8), it follows that () is true. Consequently, we conclude that, given a graph G and a vertex , the tree-width (path-width) of cannot be bounded by the tree-width (path-width) of G.
4. Binary Graph Operations
Let , be two non-empty graphs and f be a binary graph operation that creates a new graph from and . In this section, we consider the tree-width and path-width of with respect to those of the initial graphs and . In particular, we study the following binary graph operations disjoint union, join, union, substitution, various types of graph products, 1-sum, and corona.
4.1. Disjoint Union
The disjoint union of two vertex-disjoint graphs and , denoted by , is defined as the graph with vertex set and edge set .
Bodlaender and Möhring [28] proved the following theorem with respect to the tree-width and path-width of a graph that is the disjoint union of two vertex-disjoint graphs.
Theorem 21.
Let and be two vertex-disjoint graphs. Then, it holds that
and
These bounds imply that the tree-width and path-width of a graph can be derived from the tree-width and path-width of its connected components.
Corollary 8.
Let G be a graph. It holds that the tree-width of G is equal to the maximum tree-width, and the path-width of G is equal to the maximum path-width of its connected components.
4.2. Join
The join of two vertex-disjoint graphs and , denoted by , is defined as the graph with vertex set and edge set
As with the disjoint union of two graphs, Bodlaender and Möhring [28] proved the following theorem with respect to the tree-width and path-width of a graph that is the join of two vertex-disjoint graphs.
Theorem 22.
Let and be two vertex-disjoint graphs. Then, for the join of and , it holds that
and
Combining Theorems 21 and 22 implies that for every co-graph G, it holds that , and both widths can be computed in linear time [28].
4.3. Union
The union of two graphs and with , denoted by , is defined as the graph with vertices and edge set . Thus, two vertices are adjacent in if and only if they are adjacent in or in .
In general, it is not possible to bound the tree-width (path-width) of the union of two graphs in terms of the tree-widths (path-widths) of the individual graphs. To see why this is the case, consider the following example.
Example 4.
For , define the set of vertices . Next, denote by the disjoint union of m paths with n vertices from V, , , , and by the disjoint union of n paths on m vertices from V, , . Since paths have a tree-width (path-width) of 1, it follows from Theorem 21 that () holds.
The union, , of and is an -grid graph, and Bodlaender [7] proved that the tree-width (path-width) of an -grid graph equals . Consequently, it is not possible to bound the tree-width (path-width) of in the tree-widths (path-widths) of and .
See Figure 3 for an explicit example of and the resulting union .
Figure 3.
(a) , (b) , and (c) for in Example 4.
4.4. Substitution
Let and be two vertex-disjoint graphs, and let be a vertex. The substitution of v by in , denoted by , is defined as the graph with vertex set and edge set
The vertex set is called a module of the graph , since all vertices of are adjacent to the same vertices of in .
Given this definition of substitution, the following theorem considers the tree-width (path-width) of in terms of the tree-width (path-width) of and .
Theorem 23.
For two vertex-disjoint graphs , and vertex , it holds that
and
Proof.
The lower bounds follow from Corollary 2, as and are subgraphs of . For the upper bounds, this can be achieved in two ways:
- Replace v in every bag of a tree-decomposition (path-decomposition) of width () for with ;
- Add to every bag of a tree-decomposition (path-decomposition) of width () for the set .
As both alternatives result in a valid tree-decomposition (path-decomposition) for , the upper bound follows. □
Note that the upper bounds described in the previous theorem are tight, as for two cliques and a vertex , we have with
Besides this general upper bound for tree-width, the following proposition can provide an even stricter upper bound in specific situations.
Proposition 9.
Let , be two vertex-disjoint graphs, and let be a non-isolated vertex. Then, it holds that
Proof.
Let be a tree-decomposition for of width , and let be a tree-decomposition for of width . Replace v with in every bag of , and denote the modified set of bags by . Then, is a tree-decomposition for of width at most . Subsequently, add to all bags of , and denote the modified set of bags by . Let be a vertex of with for , and let be any vertex of . Then, with , , and is a tree-decomposition for of width at most . □
4.5. Graph Product
The graph product of two vertex-disjoint graphs and is a new graph with vertex set and an edge set derived from the adjacency, equality, or non-adjacency of vertices in the original graphs and . In this work, we consider the Cartesian [65], categorical [66], co-normal [67], lexicographic [68], and normal [65] graph products, as well as the symmetric difference [67] and the rejection [67]. Weichsel introduced the categorical graph product as the “Kronecker product”, while Harary and Wilcox referred to it as the “conjunction”. The normal graph product was introduced by Sabidussi as the “strong product”. The co-normal graph product was introduced by Harary and Wilcox as the “disjunction”, and the lexicographic graph product was initially defined by Harary as the “composition”. All graph products, their respective notations, and the edge sets of the resulting graphs are listed in Table 1. For more exhaustive definitions and in-depth results on these graph products, we refer to the works by Imrich and Klavzar [69] and Jensen and Toft [70].
Table 1.
Graph products.
Besides these graph products, Teh and Yap defined the -product of two graphs and as [71]. By transforming the edge set of the -product of two graphs and , it follows that holds. In other words, the -product is merely a different formulation for the normal product of two graphs. Furthermore, by transforming the edge set of , we obtain , while transforming the edge set of results in .
For two paths , with , it holds that is an -grid graph. Consequently, for two graphs and , it is generally not possible to bound the tree-width (path-width) of from above by the tree-widths (path-widths) of and (cf. Example 4). With being a subgraph of , , and , the same result follows from Corollary 2 for the co-normal and normal graph products, as well as the symmetric difference. Next, has an -grid graph, with a proportional to as a subgraph, so that by the same argument as before, the tree-width (path-width) of can generally not be bound from above by the tree-widths (path-widths) of and . For , let and denote the graphs that contain n and m isolated vertices. From our earlier observation, we know that holds. Consequently, the tree-width (path-width) of cannot be bound from above by the tree-widths (path-widths) of and , as holds, while and are subgraphs of , such that by Lemma 3 (Lemma 7), () follows. Therefore, for two graphs and , the tree-width (path-width) of the rejection can generally not be bound from above by the tree-widths (path-widths) of and . The following corollary summarizes these observations.
Corollary 9.
Let and be two graphs. It is not possible to provide an upper bound for the tree-width (path-width) of the two graphs’ Cartesian, categorical, co-normal, and normal graph products, as well as their rejection or symmetric difference, in terms of the tree-widths (path-widths) of and .
Lower bounds for the tree-width (using the notation of bramble number [22]) of the Cartesian and the normal product of two graphs are given in terms of the Hadwiger, PI, and bramble number in the work by Kozawa, Otachi, and Yamazaki [72].
Having discussed all previously defined graph products, except for the lexicographic graph product, we now provide bounds for this operation. First, for two graphs and , it holds that and are subgraphs of . Consequently, from Corollary 2, it follows that the tree-width (path-width) of is at least as large as the maximum over the tree-widths (path-widths) of and . Second, to obtain a tree-decomposition (path-decomposition) for , we begin with a tree-decomposition (path-decomposition) for and replace every vertex in every bag with for all . This results in a tree-decomposition (path-decomposition) for of width ().
Corollary 10.
Let and be two vertex-disjoint graphs. It holds that
Bodlaender et al. [73] showed that if is a clique, the upper bounds for and , as stated above, are tight.
Theorem 24.
Let G be a graph and . It holds that and .
4.6. 1-Sum
Let and be two vertex-disjoint graphs, and let and be two vertices. The 1-sum of and , denoted by , consists of the disjoint union of and , with vertices v and w identified. More specifically, graph has vertex set for a newly introduced vertex z and edge set
With the 1-sum of two graphs and formally defined, the following theorem considers the tree-width and path-width of .
Theorem 25.
Let and be two vertex-disjoint graphs, and let and be two vertices. Then, it holds that
Proof.
The lower bounds follow from Corollary 2, as and are subgraphs of .
Let be a tree-decomposition for of width , and let be a tree-decomposition for of width . To define a tree-decomposition for , we replace every occurrence of v in and every occurrence of w in with z. Then, we choose a vertex in such that z belongs to , and a vertex in such that z belongs to . We define T as the disjoint union of and with the additional edge and as the union of and . This results in a tree-decomposition for of width .
In order to define a path-decomposition for , let be a path-decomposition for of width , and let be a path-decomposition for of width . Then, we can either proceed as with tree-width, replacing v in all bags of and w in all bags of with z, and concatenate both sequences of bags into a new path , resulting in a path-decomposition for of width , or, if the resulting concatenation violates (pw-3), add z to all remaining bags of , resulting in a path-decomposition of width at most . □
If and have degree at least one in and , i.e., they are not isolated vertices, the new vertex z in is called an articulation vertex of , since has more connected components than . For a graph G, a maximal biconnected subgraph without any articulation vertex is called a block or a biconnected component of G. The bounds of Theorem 25 for tree-width imply that the tree-width of a graph equals the maximum tree-width of its biconnected components.
Corollary 11.
Let G be a graph. It holds that the tree-width of G equals the maximum tree-width of its biconnected components.
Conversely, the following example shows that Corollary 11 does not hold for path-width.
Example 5.
Denote the vertices of by and the vertices of by . Then, the incidence graph from Figure 2b can be created as . We know that holds, and we showed in Example 2 that is true. As all biconnected components of are subgraphs of or , it follows that all biconnected components have a path-width of one. Consequently, the path-width of cannot equal the maximum path-width of any of its biconnected components.
However, the bounds of Theorem 25 for path-width imply that the path-width of a graph can be bounded by its number of biconnected components and their maximum path-widths.
4.7. Corona
Frucht and Harary [74] introduced the corona of two graphs when they constructed a graph whose automorphism group is the wreath product of the two graphs’ automorphism groups. The corona of two vertex-disjoint graphs and , denoted by , consists of the disjoint union of one copy of and copies of , where each vertex of the copy of is connected to all vertices of one copy of . In other words, edges are inserted into the disjoint union of the graphs.
Alternatively, the corona of and can also be obtained by applying 1-sum and dominating vertex operations as follows. Let be the vertex set of . For , we take a copy of , insert a dominating vertex (cf. Section 3.1) into that copy, and obtain the resulting graph . Then, the following sequence of 1-sums,
results in the corona of and .
With this observation, we can bound the tree-width (path-width) of in the tree-width (path-width) of its combined graphs as follows.
Theorem 26.
Let and be two vertex-disjoint graphs. Then, it holds that
Proof.
The lower bounds follow from Corollary 2 since and are subgraphs of .
With the previous theorem proved, we ask ourselves whether there exists a constant integer , such that for all graphs , it holds that , similar to the upper bound for tree-width. The following proposition provides a negative answer to this question.
Proposition 10.
For and , it holds that
Proof.
We write and . For , we denote the n copies of in as with . By construction of , every vertex of gets connected to all vertices of , resulting in n cliques of size , which we denote by with for .
Since , , and are subgraphs of , it follows from Corollary 2 that must hold.
Next, let us construct the following path-decomposition for . We define the following:
- for ;
- ;
- for .
It is easy to check that satisfies all three requirements of a path-decomposition for . Furthermore, we note that (a) , (b) , and (c) hold.
Next, let us differentiate two cases, and :
- Case 1:
- In this case, we have for (a) and for (c) , such that holds. Thus, we know that the path-decomposition has a width of , yieldingConsequently, in this case, we obtain
- Case 2:
- In this case, we have for (a) and for (c) , such that holds. Thus, the width of path-decomposition is , and it follows thatholds. Lastly, we show that there cannot exist any path-decomposition for of width smaller than . To do so, let us assume that is a minimum path-decomposition for of the smallest possible width.As is a subgraph of , we know by Lemma 7 that there must exist at least one bag X in with . Furthermore, as is a subgraph of for , we know by the same argument that there must exist at least one bag in with for every .Assuming that X and , , contain no more than the previously mentioned sets of vertices, is true, and for every edge , it holds that if or if . Consequently, the bags satisfy (pw-1) and (pw-2). Furthermore, note that every , , , satisfies , such that only needs to be part of bag and would violate the assumption of being minimal.As every , , is part of X and exactly one other bag, namely , no ordering of the bags can satisfy (pw-3). The minimal size-increasing modification of the bags, such that they satisfy (pw-3) is to add the set to for and the set to for . In other words, allocate vertices to the predecessor bags of X and vertices to the successor bags of X, resulting inEvery other allocation of the vertices of X to its predecessor and successor bags satisfying (pw-3) would result in its direct predecessor or successor containing at least additional vertices, i.e., one more than in the current allocation, violating the assumption that is minimal. But then, is equal to , and is already a minimal path-decomposition for , such thatfollows.
This completes the proof of the proposition. □
Note that for , one can verify that holds.
5. Conclusions and Outlook
In Section 3, we showed how the tree-width or path-width of a given graph changes if we apply a certain, unary graph transformation f to this graph. In all cases in which it is possible to bound the tree-width or path-width of the resulting graph , we also showed how to compute the corresponding decomposition in time linear in the size of the decomposition for G. Table 2 summarizes the results. It is noteworthy that the behavior of tree-width and path-width under the considered transformations is almost identical.
Table 2.
Let G be a graph of tree-width (path-width) k, and let f be the unary graph transformation in the first column. The second column lists the upper bound for the tree-width, and the third column lists the upper bound for the path-width of .
Furthermore, in Section 4, we considered various binary graph operations f, creating a new graph out of two graphs and . In all cases in which it is possible to bound the tree-width or path-width of the combined graph in terms of the tree-width or path-width of and , we showed how to compute the corresponding decomposition in time linear in the size of the decompositions for and , such that our results are constructive. In Table 3, we summarize these results, which show that, with the exception of the corona of two graphs, the behavior of tree-width and path-width under the considered operations is nearly identical.
Table 3.
Let and be two graphs of tree-width (path-width) and , respectively, and let f be the binary graph operation from the first column. Let denote the number of vertices of and the number of vertices of . The second column lists the upper bound for the tree-width, and the third column lists the upper bound for the path-width of the graph .
The results in Section 3.2 and Section 3.3 allow for generalizing known results on the stability of trees and forests [75,76] to the stability of graph classes of bounded tree-width [77].
Most of our results provide tight upper and lower bounds for the tree-width and path-width of the resulting graph in terms of those of the initial graphs or argue why such bounds are impossible.
For the remaining case, it has yet to be shown whether our bounds are the best possible or whether stricter bounds can be provided. The bounds for the tree-width and path-width of the power of a graph, as shown in Section 3.8, are very rough, as all vertex degrees are approximated by the maximum degree of the graph. Furthermore, we did not provide lower bounds for the tree-width (path-width) of the categorical or co-normal graph product of two graphs, nor for the symmetric difference or rejection of two graphs.
Author Contributions
Conceptualization, F.G.; methodology, F.G. and R.W.; validation, F.G. and R.W.; writing—original draft preparation, F.G. and R.W.; writing—review and editing, F.G. and R.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Robertson, N.; Seymour, P. Graph Minors II. Algorithmic aspects of tree width. J. Algorithms 1986, 7, 309–322. [Google Scholar] [CrossRef]
- Arnborg, S. Efficient algorithms for combinatorial problems on graphs with bounded decomposability—A survey. BIT 1985, 25, 2–23. [Google Scholar] [CrossRef]
- Arnborg, S.; Proskurowski, A. Linear Time Algorithms for NP-hard Problems restricted to partial k-trees. Discret. Appl. Math. 1989, 23, 11–24. [Google Scholar] [CrossRef]
- Hagerup, T. Dynamic Algorithms for Graphs of Bounded Treewidth. Algorithmica 2000, 27, 292–315. [Google Scholar] [CrossRef]
- Kashem, M.; Zhou, X.; Nishizeki, T. Algorithms for generalized vertex-rankings of partial k-trees. Theor. Comput. Sci. 2000, 240, 407–427. [Google Scholar] [CrossRef]
- Robertson, N.; Seymour, P. Graph Minors—A Survey. In Surveys in Combinatorics; Cambridge University Press: Cambridge, UK, 1985; pp. 153–171. [Google Scholar]
- Bodlaender, H. A partial k-arboretum of graphs with bounded treewidth. Theor. Comput. Sci. 1998, 209, 1–45. [Google Scholar] [CrossRef]
- Bodlaender, H. Classes of Graphs with Bounded Treewidth; Technical Report RUU-CS-86-22; Universiteit Utrecht: Utrecht, The Netherlands, 1986. [Google Scholar]
- Bodlaender, H. Classes of graphs with bounded tree-width. Bull. Eur. Assoc. Theor. Comput. Sci. 1988, 36, 116–125. [Google Scholar]
- Arnborg, S.; Corneil, D.; Proskurowski, A. Complexity of finding embeddings in a k-tree. SIAM J. Algebr. Discret. Methods 1987, 8, 277–284. [Google Scholar] [CrossRef]
- Bodlaender, H. A Linear-Time Algorithm for Finding Tree-Decompositions of Small Treewidth. SIAM J. Comput. 1996, 25, 1305–1317. [Google Scholar] [CrossRef]
- Bondy, J.; Murty, U. Graph Theory with Applications; North-Holland: New York, NY, USA; Amsterdam, The Netherlands; Oxford, UK, 1976. [Google Scholar]
- Harary, F. Graph Theory; Addison-Wesley Publishing Company: Boston, MA, USA, 1969. [Google Scholar]
- Courcelle, B. The Monadic Second-Order Logic of Graphs XV: A conjecture by D. Seese. J. Appl. Log. 2006, 4, 79–114. [Google Scholar] [CrossRef]
- Courcelle, B.; Engelfriet, J. Graph Structure and Monadic Second-Order Logic. A Language-Theoretic Approach; Encyclopedia of Mathematics and Its Applications; Cambridge University Press: Cambridge, UK, 2012. [Google Scholar]
- Chvatalova, J.; Opatrny, J. The bandwidth problem and operations on graphs. Discret. Math. 1986, 61, 141–150. [Google Scholar] [CrossRef]
- Courcelle, B. Clique-width and edge contraction. Inf. Process. Lett. 2014, 114, 42–44. [Google Scholar] [CrossRef][Green Version]
- Hliněný, P.; Oum, S.; Seese, D.; Gottlob, G. Width Parameters Beyond Tree-width and Their Applications. Comput. J. 2008, 51, 326–362. [Google Scholar] [CrossRef]
- Gurski, F. The Behavior of Clique-Width under Graph Operations and Graph Transformations. Theory Comput. Syst. 2017, 60, 346–376. [Google Scholar] [CrossRef][Green Version]
- Brandstädt, A.; Le, V.; Spinrad, J. Graph Classes: A Survey; SIAM Monographs on Discrete Mathematics and Applications; SIAM: Philadelphia, PA, USA, 1999. [Google Scholar]
- Bertelè, U.; Brioschi, F. On Non-serial Dynamic Programming. J. Comb. Theory 1973, 14, 137–148. [Google Scholar] [CrossRef]
- Reed, B. Tree Width and Tangles: A New Connectivity Measure and Some Applications. In Surveys in Combinatorics, 1997; Bailey, R., Ed.; London Mathematical Society Lecture Note Series; Cambridge University Press: Cambridge, UK, 1997; pp. 87–162. [Google Scholar]
- Seymour, P.; Thomas, R. Graph Searching and a Min-Max Theorem for Tree-Width. J. Comb. Theory Ser. B 1993, 58, 22–33. [Google Scholar] [CrossRef]
- Rose, D. On simple characterizations of k-trees. Discret. Math. 1974, 7, 317–322. [Google Scholar] [CrossRef]
- Scheffler, P. Die Baumweite von Graphen als ein Mass für Die Kompliziertheit Algorithmischer Probleme. Ph.D. Thesis, Akademie der Wissenschaften der DDR, Berlin, Germany, 1989. [Google Scholar]
- Kneis, J.; Mölle, D.; Richter, S.; Rossmanith, P. A Bound on the Pathwidth of Sparse Graphs with Applications to Exact Algorithms. SIAM J. Discret. Math. 2009, 23, 407–427. [Google Scholar] [CrossRef]
- Whitney, H. Congruent graphs and the connectivity of graphs. Am. J. Math. 1932, 54, 150–168. [Google Scholar] [CrossRef]
- Bodlaender, H.; Möhring, R. The pathwidth and treewidth of cographs. SIAM J. Disc. Math. 1993, 6, 181–188. [Google Scholar] [CrossRef]
- Robertson, N.; Seymour, P. Graph Minors I. Excluding a forest. J. Comb. Theory Ser. B 1983, 35, 39–61. [Google Scholar] [CrossRef]
- Kashiwabara, T.; Fujisawa, T. NP-completeness of the problem of finding a minimum-clique-number interval graph containing a given graph as a subgraph. In Proceedings of the International Symposium on Circuits and Systems, Tokyo, Japan, 17–19 July 1979; pp. 657–660. [Google Scholar]
- Gusted, J. On the pathwidth of chordal graphs. Discret. Appl. Math. 1993, 45, 233–248. [Google Scholar] [CrossRef]
- Kloks, T.; Bodlaender, H.; Müller, H.; Kratsch, D. Computing treewidth and minimum fill-in: All you need are the minimal separators. In Proceedings of the Annual European Symposium on Algorithms (ESA), Bad Honnef, Germany, 30 September–2 October 1993; Springer: Heidelberg/Berlin, Germany, 1993. LNCS. Volume 726, pp. 260–271. [Google Scholar]
- Monien, B.; Sudborough, I. Min Cut is NP-complete for edge weighted trees. Theor. Comput. Sci. 1988, 58, 209–229. [Google Scholar] [CrossRef]
- Bodlaender, H.; Kloks, T.; Kratsch, D. Treewidth and pathwidth of permutation graphs. In Proceedings of the International Colloquium on Automata, Languages and Programming (ICALP), Lund, Sweden, 5–9 July 1993; Springer: Heidelberg/Berlin, Germany, 1993. LNCS. Volume 700, pp. 114–125. [Google Scholar]
- Suchan, K.; Todinca, I. Pathwidth of circular-arc graphs. In Proceedings of the Graph-Theoretical Concepts in Computer Science (WG), Dornburg, Germany, 21–23 June 2007; Springer: Heidelberg/Berlin, Germany, 2007. LNCS. Volume 4769, pp. 258–269. [Google Scholar]
- Kinnersley, N. The vertex separation number of a graph equals its path width. Inf. Process. Lett. 1992, 42, 345–350. [Google Scholar] [CrossRef]
- Korach, E.; Solel, N. Tree-width, path-width, and cutwidth. Discret. Appl. Math. 1993, 43, 97–101. [Google Scholar] [CrossRef]
- Kleinberg, J.; Tardos, E. Algorithm Design; Addison-Wesley Publishing Company: Boston, MA, USA, 2004. [Google Scholar]
- Ellis, J.; Sudborough, I.; Turner, J. The Vertex Separation and Search Number of a Graph. Inf. Comput. 1994, 113, 50–79. [Google Scholar] [CrossRef]
- Chlebíková, J. Partial k-trees with maximum chromatic number. Discret. Math. 2002, 259, 269–276. [Google Scholar] [CrossRef]
- Kinnersley, N.; Langston, M. Obstruction Set Isolation for the Gate Matrix Layout Problem. Discret. Appl. Math. 1994, 54, 169–213. [Google Scholar] [CrossRef]
- Robertson, N.; Seymour, P. Graph Minors XX. Wagners conjecture. J. Comb. Theory Ser. B 2004, 92, 325–357. [Google Scholar] [CrossRef]
- Wagner, K. Graphentheorie; B. J. Hochschultaschenbücher: Mannheim, Germany, 1970; Volume 248/248a. [Google Scholar]
- Bodlaender, H.; van Antwerpen-de Fluiter, B. Parallel algorithms for series parallel graphs and graphs with tree-width two. Algorithmica 2001, 29, 543–559. [Google Scholar] [CrossRef]
- Arnborg, S.; Proskurowski, A.; Corneil, D. Forbidden minors characterization of partial 3-trees. Discret. Math. 1990, 80, 1–19. [Google Scholar] [CrossRef]
- Robertson, N.; Seymour, P. Graph Minors. XIII. The Disjoint Paths Problem. J. Comb. Theory Ser. B 1995, 63, 65–110. [Google Scholar] [CrossRef]
- Kawarabayashi, K.; Kobayashi, Y.; Reed, B. The disjoint paths problem in quadratic time. J. Comb. Theory Ser. 2012, 102, 424–435. [Google Scholar] [CrossRef]
- Robertson, N.; Seymour, P. Graph Minors V. Excluding a planar graph. J. Comb. Theory Ser. B 1986, 41, 92–114. [Google Scholar] [CrossRef]
- Harary, F.; Norman, R.Z. Some properties of line digraphs. Rend. Del Circ. Mat. Palermo 1960, 9, 161–168. [Google Scholar] [CrossRef]
- Harvey, D.; Wood, D. The treewidth of line graphs. J. Comb. Theory Ser. B 2018, 132, 157–179. [Google Scholar] [CrossRef]
- Atserias, A. On digraph coloring problems and treewidth duality. Eur. J. Comb. 2008, 29, 796–820. [Google Scholar] [CrossRef]
- Bodlaender, H. Complexity of path-forming games. Theor. Comput. Sci. 1993, 110, 215–245. [Google Scholar] [CrossRef]
- Calinescu, G.; Fernandes, C.; Reed, B. Multicuts in unweighted graphs and digraphs with bounded degree and bounded tree-width. J. Algorithms 2003, 48, 333–359. [Google Scholar] [CrossRef]
- Harvey, D.; Wood, D. Treewidth of the Line Graph of a Complete Graph. J. Graph Theory 2015, 79, 48–54. [Google Scholar] [CrossRef]
- Joret, G.; Wood, D. Nordhaus-Gaddum for treewidth. Eur. J. Comb. 2012, 33, 488–490. [Google Scholar] [CrossRef]
- Bouchet, A. Circle graph obstructions. J. Comb. Theory Ser. B 1994, 60, 107–144. [Google Scholar] [CrossRef]
- Seidel, J. Graphs and two-graphs. In Proceedings of the 5th Southeastern Conference on Combinatorics, Graph Theory, and Computing, Boca Raton, FL, USA, 7–11 March 1974. [Google Scholar]
- Seidel, J. A survey of two-graphs. In Proceedings of the Colloquio Internazionale sulle Teorie Combinatorie, Rome, Italy, 3–15 September 1973; Accademia Nazionale dei Lincei: Rome, Italy, 1976; Volume 17, pp. 481–511. [Google Scholar]
- Seidel, J.; Taylor, D. Two-graphs, a second survey. In Algebraic Methods in Graph Theory; North-Holland Publishing Company: Amsterdam, The Netherlands, 1981; Volume II, pp. 689–711. [Google Scholar]
- Hayward, R. Recognizing P3-structure: A switching approach. J. Comb. Theory Ser. B 1996, 66, 247–262. [Google Scholar] [CrossRef][Green Version]
- de Montgolfier, F.; Rao, M. The bi-join decomposition. Electron. Notes Discret. Math. 2005, 22, 173–177. [Google Scholar] [CrossRef]
- Bodlaender, H.; Hage, J. On switching classes, NLC-width, cliquewidth and treewidth. Theor. Comput. Sci. 2012, 429, 30–35. [Google Scholar] [CrossRef][Green Version]
- Colbourn, C.; Corneil, D. On deciding switching equivalence of graphs. Discret. Appl. Math. 1980, 2, 181–184. [Google Scholar] [CrossRef]
- Limouzy, V. Seidel Minor, Permutation Graphs and Combinatorial Properties. In Proceedings of the International Symposium on Algorithms and Computation, Jeju Island, Republic of Korea, 15–17 December 2010; Springer: Heidelberg/Berlin, Germany, 2010. LNCS. Volume 6506, pp. 194–205. [Google Scholar]
- Sabidussi, G. Graph Multiplication. Math. Z. 1959, 72, 446–457. [Google Scholar] [CrossRef]
- Weichsel, P. The Kronecker product of graphs. Proc. Am. Math. Soc. 1962, 3, 47–52. [Google Scholar] [CrossRef]
- Harary, F.; Wilcox, G. Boolean Operations on Graphs. Math. Scand. 1967, 20, 41–51. [Google Scholar] [CrossRef]
- Harary, F. On the number of bicolored graphs. Pac. J. Math. 1958, 8, 743–755. [Google Scholar] [CrossRef]
- Imrich, W.; Klavzar, S. Product Graphs: Structure and Recognition; Series in Discrete Mathematics and Optimization; Wiley-Interscience: New York, NY, USA, 2000. [Google Scholar]
- Jensen, T.; Toft, B. Graph Coloring Problems; John Wiley & Sons: New York, NY, USA, 1994. [Google Scholar]
- Teh, H.H.; Yap, H.D. Some construction problems of homogeneous graphs. Bull. Math. Soc. Nanying Univ. 1964, 164–196. [Google Scholar]
- Kozawa, K.; Otachi, Y.; Yamazaki, K. Lower bounds for treewidth of product graphs. Discret. Appl. Math. 2014, 162, 251–258. [Google Scholar] [CrossRef]
- Bodlaender, H.; Gilbert, J.; Hafsteinsson, H.; Kloks, T. Approximating treewidth, pathwidth, frontsize, and shortest elimination tree. J. Algorithms 1995, 18, 238–255. [Google Scholar] [CrossRef]
- Frucht, R.; Haray, F. On the coronas of two graphs. Aequationes Math. 1970, 4, 322–324. [Google Scholar] [CrossRef]
- Weishaupt, R.; Rothe, J. Stability of Special Graph Classes. In Proceedings of the 22nd Italian Conference on Theoretical Computer Science, Bologna, Italy, 13–15 September 2021; Coen, C.S., Salvo, I., Eds.; RWTH Aachen: Aachen, Germany, 2021. CEUR Workshop Proceedings. Volume 3072, pp. 234–248. [Google Scholar]
- Weishaupt, R.; Rothe, J. Stability of Special Graph Classes. arXiv 2021, arXiv:2106.01496. [Google Scholar]
- Gurski, F.; Rothe, J.; Weishaupt, R. Stability, Vertex Stability, and Unfrozenness for Special Graph Classes. Theory Comput. Syst. 2024, 68, 75–102. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).