On the thinness and proper thinness of a graph
Flavia Bonomo, Diego de Estrada

TL;DR
This paper introduces the concept of proper thinness as a generalization of thinness in graphs, studies their properties, and explores algorithmic implications for problems on these graph classes.
Contribution
It defines proper thinness, analyzes its properties, and extends polynomial-time solvability results to broader classes of problems on these graphs.
Findings
Proper thinness generalizes proper interval graphs.
Certain problems are solvable in polynomial time on graphs with bounded thinness.
Extended polynomial-time algorithms for problems on graphs with bounded proper thinness.
Abstract
Graphs with bounded thinness were defined in 2007 as a generalization of interval graphs. In this paper we introduce the concept of proper thinness, such that graphs with bounded proper thinness generalize proper interval graphs. We study the complexity of problems related to the computation of these parameters, describe the behavior of the thinness and proper thinness under three graph operations, and relate thinness and proper thinness with other graph invariants in the literature. Finally, we describe a wide family of problems that can be solved in polynomial time for graphs with bounded thinness, generalizing for example list matrix partition problems with bounded size matrix, and enlarge this family of problems for graphs with bounded proper thinness, including domination problems.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Constraint Satisfaction and Optimization · semigroups and automata theory
On the thinness and proper thinness of a graph111**For Pavol Hell on the Occasion of his
70th Birthday**
Flavia Bonomo
Universidad de Buenos Aires. Facultad de Ciencias Exactas y Naturales. Departamento de Computación. Buenos Aires, Argentina. / CONICET-Universidad de Buenos Aires. Instituto de Investigación en Ciencias de la Computación (ICC). Buenos Aires, Argentina.
Diego de Estrada
Universidad de Buenos Aires. Facultad de Ciencias Exactas y Naturales. Departamento de Computación. Buenos Aires, Argentina.
Abstract
Graphs with bounded thinness were defined in 2007 as a generalization of interval graphs. In this paper we introduce the concept of proper thinness, such that graphs with bounded proper thinness generalize proper interval graphs. We study the complexity of problems related to the computation of these parameters, describe the behavior of the thinness and proper thinness under three graph operations, and relate thinness and proper thinness to other graph invariants in the literature. Finally, we describe a wide family of problems that can be solved in polynomial time for graphs with bounded thinness, generalizing for example list matrix partition problems with bounded size matrix, and enlarge this family of problems for graphs with bounded proper thinness, including domination problems.
keywords:
interval graphs, proper interval graphs, proper thinness, thinness.
1 Introduction
A graph is -thin if there exist an ordering of and a partition of into classes such that, for each triple with , if , belong to the same class and , then . The minimum such that is -thin is called the thinness of . The thinness is unbounded on the class of all graphs, and graphs with bounded thinness were introduced in [29] as a generalization of interval graphs, which are exactly the -thin graphs. When a representation of the graph as a -thin graph is given, for a constant value , some NP-complete problems as maximum weighted independent set and bounded coloring with fixed number of colors can be solved in polynomial time [29, 5]. These algorithms were respectively applied for improving heuristics of two real-world problems: the Frequency Assignment Problem in GSM networks [29], and the Double Traveling Salesman Problem with Multiple Stacks [5]. In this work we propose a framework to describe a wide family of problems that can be solved by dynamic programming techniques on graphs with bounded thinness, when the -thin representation of the graph is given. These problems generalize for example the list matrix partition problems for matrices of bounded size [14].
We introduce here the concept of proper thinness of a graph with the aim of generalizing proper-interval graphs: graphs that are proper -thin are exactly proper interval graphs (see Section 2 for a definition). We extend the framework in order to solve in polynomial time by dynamic programming many of the domination-type problems in the literature (e.g. classified in [1]) and their weighted versions, such as existence/minimum (weighted) independent dominating set, minimum (weighted) total dominating set, minimum perfect dominating set and existence/minimum (weighted) efficient dominating set, for the class of graphs with bounded proper thinness , when the proper -thin representation of the graph is given.
The organization of the paper is the following. In Section 2 we state the main definitions and present some basic results on thinness. In Section 3, we study some problems related to the recognition of -thin graphs and proper -thin graphs. We analyze the computational complexity of finding a suitable vertex partition when a vertex ordering is given, and, conversely, finding a vertex ordering when a vertex partition is given.
In Section 4 we survey the relation of thinness and other width parameters in graphs. In Section 5 we relate the proper thinness of interval graphs to other interval graph invariants, as interval count and chains of nested intervals.
In Section 6 we describe a wide family of problems that can be solved in polynomial time for graphs with bounded thinness, when the representation is given. In Section 6.1 we extend that family to include dominating-like problems that can be solved in polynomial time for graphs with bounded proper thinness.
In Section 7 we describe the behavior of the thinness and proper thinness under three graph operations: union, join, and Cartesian product. The first two results allow us to fully characterize -thin graphs by forbidden induced subgraphs within the class of cographs. The third result is used to show the polynomiality of the -rainbow domination problem for fixed on graphs with bounded thinness.
2 Definitions and basic results
All graphs in this work are finite, undirected, and have no loops or multiple edges. For all graph-theoretic notions and notation not defined here, we refer to West [45]. Let be a graph. Denote by its vertex set, by its edge set, by its complement, by the neighborhood of a vertex in , by the closed neighborhood , and by the non-neighbors of . If , denote by the set of vertices not in having at least one neighbor in .
Denote by the subgraph of induced by , and by or the graph . A subgraph (not necessarily induced) of is a spanning subgraph if .
Denote the size of a set by . A clique (resp. stable set) is a set of pairwise adjacent (resp. nonadjacent) vertices. We use maximum to mean maximum-sized, whereas maximal means inclusion-wise maximal. The use of minimum and minimal is analogous.
Denote by the graph induced by a clique of size . A claw is the graph isomorphic to . Let be a graph and a natural number. The disjoint union of copies of the graph is denoted by .
For a positive integer , the -grid is the graph whose vertex set is and whose edge set is .
A dominating set in a graph is a set of vertices such that each vertex outside the set has at least one neighbor in the set.
A coloring of a graph is an assignment of colors to its vertices such that any two adjacent vertices are assigned different colors. The smallest number such that admits a coloring with colors (a -coloring) is called the chromatic number of and is denoted by . A coloring defines a partition of the vertices of the graph into stable sets, called color classes. List variations of the vertex coloring problem can be found in the literature. For a survey on that kind of related problems, see [42]. In the list-coloring problem, every vertex comes equipped with a list of permitted colors for it.
For a symmetric matrix over , the -partition problem seeks a partition of the vertices of the input graph into independent sets, cliques, or arbitrary sets, with certain pairs of sets being required to have no edges, or to have all edges joining them, as encoded in the matrix : means the -th set is a clique, while means the -th set is a stable set; for , means every vertex of the -th set is adjacent to every vertex of the -th set, while means there are no edges from the -th set to the -th set. Moreover, the vertices of the input graph can be equipped with lists, restricting the parts to which a vertex can be placed. In that case the problem is know as a list matrix partition problem. Such (list) matrix partition problems generalize (list) colorings and (list) homomorphisms [14].
When discussing about algorithms and data structures, we denote by the number of vertices of the input graph .
Given a graph , a weight function on , and a subset , the weight of , denoted by is defined as .
A class of graphs is hereditary when if a graph is in the class, then every induced subgraph of is in the same class.
A graph is a cograph if it contains no induced path of length four.
A graph is a comparability graph if there exists an ordering of such that, for each triple with , if and are edges of , then so is . Such an ordering is a comparability ordering. A graph is a co-comparability graph if its complement is a comparability graph.
A graph is an interval graph if to each vertex , can be associated a closed interval of the real line, such that two distinct vertices are adjacent if and only if . The family is an interval representation of . An undirected graph is a proper interval graph if there is an interval representation of in which no interval properly contains another. In the same way, an undirected graph is a unit interval graph if there is an interval representation of in which all the intervals have the same length.
In 1969, Roberts [35] proved that the classes of proper interval graphs, unit interval graphs, and interval graphs with no claw as induced subgraph coincide.
The right-end ordering of the vertices of an interval graph satisfies the following property: for each triple with , if , then . In other words, the neighbors of vertex with index less than are for some . Moreover, a graph is an interval graph if and only if there exists an ordering of its vertices satisfying the property above [34, 32].
Let us repeat and extend the definition of -thinness given in the introduction. A graph is -thin if there exist an ordering of and a partition of into classes such that, for each triple with , if , belong to the same class and , then . An ordering and a partition satisfying those properties are said to be consistent. The minimum such that is -thin is called the thinness of and denoted by .
The thinness of a graph was introduced by Mannino, Oriolo, Ricci, and Chandran in 2007 [29]. Graphs with bounded thinness (thinness bounded by a constant value) are a generalization of interval graphs, that are exactly the graphs with thinness 1, and capture some of their algorithmic properties.
Let be the complement of a matching of size .
Theorem 1
[29]* For every , .*
The right-end ordering of the vertices of a proper interval graph satisfies the following property: for each triple with , if , then and . In other words, the neighbors of vertex with index less than are , and those with index greater than are . Moreover, is a proper interval graph if and only if there exists an ordering of its vertices satisfying the property above [12, 28].
We define the concept of proper thinness of graphs as follows.
A graph is proper -thin if there exist an ordering of and a partition of into classes such that, for each triple with , if , belong to the same class and , then and if , belong to the same class and , then . Equivalently, is proper -thin if both and are consistent with the partition. In this case, the partition and the ordering are said to be strongly consistent, and the minimum such that is proper -thin is called the proper thinness of and denoted by .
Since -thin graphs are defined as a generalization of interval graphs, proper -thin graphs arise naturally as a generalization of proper interval graphs. It can be seen that a graph is proper -thin if and only if it is a proper interval graph. Moreover, the proper-thinness of the class of interval graphs is unbounded (See Proposition 10).
3 Algorithmic aspects
We will deal in this section with some questions related to the recognition problem of (proper) -thin graphs. The recognition problem itself is open so far for both classes, but we will show that, given a vertex ordering of a graph, we can find in polynomial time a partition into a minimum number of classes which is (strongly) consistent with the ordering. On the other hand, we will show that given a graph and a vertex partition, it is NP-complete to decide if there exists an ordering of the vertices of the graph which is (strongly) consistent with the partition.
Theorem 2
Given a graph and an ordering of its vertices, one can find in polynomial time graphs and with the following properties:
- (1)
; 2. (2)
the chromatic number of (resp. ) is equal to the minimum integer such that there is a partition of into sets that is consistent (resp. strongly consistent) with the order , and the color classes of a valid coloring of (resp. ) form a partition consistent (resp. strongly consistent) with ; 3. (3)
* and are co-comparability graphs.*
In particular, the minimum integer as in (2) and a partition into vertex sets can be computed in polynomial time. Moreover, if is a co-comparability graph and a comparability ordering of , then and are spanning subgraphs of .
Proof. Let be a graph and an ordering of its vertices. We will build a graph such that , and are adjacent in if and only if they cannot belong to the same class of a partition which is consistent with . By definition of consistency, this happens if and only if there is a vertex in such that , is adjacent to and nonadjacent to . So define such that for , if and only if there is a vertex in such that , and .
We build in a similar way. In this case, for , if and only if either there is a vertex in such that , and or there is a vertex in such that , and .
Let us see that is a comparability ordering both for and . Suppose on the contrary that there is a triple in such that , are edges of (resp. ) and is not an edge of (resp. ). By definition of (resp. ), there is a vertex such that , and (resp. either there is a vertex such that , and , or there is a vertex in such that , and ). If , then is an edge of (resp. ), a contradiction. If , then is an edge of (resp. ), a contradiction as well. The case of for is symmetric, if , then is an edge of , a contradiction. If , then is an edge of , a contradiction as well. So and are co-comparability graphs, being a comparability ordering for and , respectively.
As we have defined (resp. ) such that , and are adjacent in (resp. ) if and only if they cannot belong to the same class of a partition which is consistent (resp. strongly consistent) with , it follows that there is a one-to-one correspondence between partitions of consistent (resp. strongly consistent) with and colorings of (resp. ). In particular, the minimum such that there is a partition of into sets that is consistent (resp. strongly consistent) with is the chromatic number of (resp. ). An optimum coloring of (resp. ) can be computed in polynomial time [16].
To complete the proof of the theorem, suppose now that is a co-comparability graph and is a comparability ordering for . Let adjacent in (resp. ). By definition, there is a vertex in such that , and (resp. either there is a vertex in such that , and , or there is a vertex in such that , and ). If , being a comparability graph, , a contradiction. So . This proves that is a spanning subgraph of . The case of for is symmetric, if , being a comparability graph, , a contradiction. So in any case . This proves that is a spanning subgraph of as well.
A direct consequence of this result is the following, that was already proved in [5] for the case of thinness.
Corollary 3
If is a co-comparability graph, . Moreover, any vertex partition given by a coloring of and any comparability ordering for its complement are strongly consistent.
As already observed in [5], the bound for co-comparability graphs can be arbitrarily bad: for example, if is a clique of size , then and . However, it holds with equality for graphs , because (Theorem 1 and Corollary 3).
In contrast with Theorem 2, if a partition is given, it is NP-complete to decide the existence of a (strongly) consistent ordering.
(Strongly) Consistent ordering with a given partition
Instance: A graph and a partition of into non-empty subsets.
Question: Does there exist a total order of (strongly) consistent with the given partition?
The proof is based on a reduction from the following problem, which is known to be NP-complete [18].
Non-Betweenness
Instance: A finite set and a collection of ordered triples of distinct elements of .
Question: Does there exist a total order of such that for each , it is never the case that or (i.e. is not between and )?
We start with an easy lemma.
Lemma 4
Let be a graph, an ordering of and a partition of that is consistent with . Let , for , such that and are the only edges between and . Then if and only if .
Proof. By symmetry, let us assume that is the biggest vertex according to . Again by symmetry, to prove the lemma it is enough to prove that . By definition of consistency, since and are in the same class and is adjacent to but not to , it is not possible that .
Theorem 5
The problem (Strongly) Consistent ordering with a given partition is NP-complete.
Proof. First note that (Strongly) Consistent ordering with a given partition is in NP, by using the total order of as the certificate.
Now let us prove its NP-hardness. Given an instance of Non-Betweenness, build a graph and a partition of as follows.
Fix an ordering of the triples in . Vertices of are in one-to-one correspondence with elements of . For , has vertices, and they are in a one-to-one correspondence with the elements of the -th triple in . Let us call the element of that corresponds to , for .
Define the edges of as follows: for each triple , let be its corresponding set. The only edge in the subgraph induced by is . The remaining edges of are all the possible edges between vertices associated to the same .
Suppose first there is an ordering consistent with the partition . By Lemma 4, for each , the relative order of the vertices is the same as the relative order of the vertices . By definition of consistency and since the only edge in the subgraph induced by is , is not between and in that order. So the order of the vertices in gives a positive answer to the instance of Non-Betweenness.
Suppose now that there is a valid order for the instance of Non-Betweenness. We can extend to by making consecutive all the copies in of an element of . Now, let be three vertices of such that , belong to the same class and . Since is a stable set and the triples in satisfy the non-betweenness condition, is not in . So and correspond to the same element of , and since there is at most one copy of an element of in each , does not correspond to a copy of . But this contradicts the fact that all the vertices of that correspond to a same element of are consecutive. So the situation cannot arise, and the extended order is consistent with the partition. The case in which , belong to the same class is identical, and indeed the extended order is strongly consistent with the partition.
The computational complexity of the decision of existence of a (strongly) consistent ordering when the number of sets in the partition is fixed is still open. So is the computational complexity of deciding if a graph is (proper) -thin, even for fixed . In the case of proper thinness, the problem is open even within the class of interval graphs.
4 Thinness and other width parameters
Many width parameters are defined in the literature. In this section we compile the results relating the thinness with some of them, namely pathwidth [37], treewidth [2, 38], clique-width [10], cutwidth [26], mim-width [43], and boxicity [36].
In [29] it was proved that the thinness of a graph is at most the pathwidth plus one, and that the gap may be high, since the pathwidth of a complete graph with vertices is , while its thinness is .
On the other hand, in [8] it was proved that the boxicity is a lower bound for the thinness of a graph, and it was pointed out that the difference can be large, as an -grid has boxicity and thinness .
The vertex isoperimetric peak of a graph , denoted as , is defined as . The thinness of the grid was estimated by using the following result, that was also used in [3] to give a lower bound of the thinness of a complete binary tree. We will use it as well to estimate the thinness of complete -ary trees.
Lemma 6
[8]* For every graph , .*
Interval graphs have thinness and unbounded clique-width [17], while cographs have clique-width [11] and unbounded thinness, because is a cograph for every , so the parameters are not comparable.
Complete graphs have high treewidth and thinness , and trees instead have treewidth but we have the following result.
Theorem 7
For every fixed value , the thinness of the complete -ary tree on vertices is .
Proof. In [44] it was proved that the vertex isoperimetric peak of the complete -ary tree of height is . On the other hand, it was proved in [13, 40] that the pathwidth of the complete -ary tree of height is . As the thinness of a graph is upper bounded by the pathwidth plus one [29] and using Lemma 6, it follows that the thinness of the complete -ary tree of height is , and this proves the theorem.
The cutwidth of a graph , denoted as , is the smallest integer such that the vertices of can be arranged in a linear layout in such a way that for every , there are at most edges with one endpoint in and the other in .
Theorem 8
For every graph , . Moreover, a linear layout realizing the cutwidth leads to a consistent partition into at most classes.
Proof. Let be a graph of cutwidth , and let such that for every , there are at most edges with one endpoint in and the other in . Let be the graph defined as in Theorem 2 for the order . Since is a co-comparability graph, its chromatic number equals the size of a maximum clique of it [30]. Suppose that has a clique of size , and let be the vertex of higher index in . By definition of , for each such that , there exists such that is adjacent to and not adjacent to . So, there are at least edges with one endpoint in and the other in , a contradiction.
The gap may be high, as for example on cliques.
The linear MIM-width of a graph , denoted as , is the smallest integer such that the vertices of can be arranged in a linear layout in such a way that for every , the size of a maximum induced matching in the bipartite graph formed by the edges of with an endpoint in and the other one in is at most . This is the linear version of a parameter called MIM-width [43], that is a lower bound for the linear MIM-width.
Theorem 9
For every graph , . Moreover, a linear ordering realizing the thinness, satisfies that the size of a maximum induced matching in the bipartite graph formed by the edges of with an endpoint in and the other one in is at most .
Proof. Let and consider a -thin representation of , with ordering of , namely , and a partition of into classes. Let and let be a maximum induced matching in the bipartite graph formed by the edges of with an endpoint in and the other one in . Suppose and belong to , with , . If and belong to the same class of the partition, by definition of -thin representation, is also an edge, a contradiction with the fact that is an induced matching. So, , thus .
As a corollary, given a graph provided with a -thin representation, a wide family of problems known as Locally Checkable Vertex Subset and Vertex Partitioning Problems (LC-VSVP Problems) can be solved in time [43], as this holds for MIM-width and a suitable ordering. This family of problems is not comparable (inclusion-wise) with the one in Section 6, but encompasses maximum weighted independent set and minimum weighted dominating set.
5 Interval graphs with high proper thinness
In this section we first show that proper thinness of the class of interval graphs is unbounded. Then we relate the proper thinness of interval graphs to other interval graphs invariants, like interval count. A family of interval graphs with arbitrarily large proper thinness is the following.
Let , and define clawh as the graph obtained from the complete ternary tree of height by adding all the edges between a vertex of the tree and its ancestors. It is easy to see that is an interval graph for every (an interval representation of claw3 can be seen in Figure 1). The graph claw1 is the claw.
Proposition 10
[39]* For any , .*
Proof. Let . We will label the vertices of as such that , , is the root of the ternary tree, and for each , , the children of are , , and . Let us consider an ordering and a partition of that are strongly consistent. Without loss of generality, by symmetry, we may assume for every .
Let us show now that for every , and cannot be in the same class of the partition. Otherwise, if then the fact of , and contradicts the definition of strong consistency, and if then the fact of , and contradicts the definition of strong consistency.
So, are all in different classes of the partition and . On the other hand, a partition of the vertices according to its height in the tree, and a postorder of the vertices of the tree are strongly consistent. Thus .
This example is also a classical example of a graph with high interval count and high length of a chain of nested intervals. We will relate the proper thinness of interval graphs to these two interval graphs invariants.
The interval count of an interval graph is the minimum number of different interval sizes needed in an interval representation of (see for example [7, 25]). Graphs with interval count at most are also known as -length interval graphs.
A -nested interval graph is an interval graph admitting an interval representation in which there are no chains of intervals nested in each other [24]. It is easy to see that -nested interval graphs are a superclass of -length interval graphs. We have also the following property.
Proposition 11
[31]* Every -nested interval graph is proper -thin.*
Proof. Let be a -nested interval graph and consider an interval representation of with no chains of intervals nested in each other. It is a known result that we may assume that all the interval endpoints are distinct. We label each interval by the length of the longest chain of nested intervals ending in it, and these labels define the partition of the vertices into classes, that are at most . Now, we order the vertices according to their intervals by the right endpoint (left to right). That order is consistent with the partition in which the only class contains all vertices of , so, in particular, it is consistent with every other partition refining it. Let us see that the consistency is strong. Let such that and are in the same class of the partition. Let their corresponding intervals. By definition of the classes, , otherwise the length of the longest chain of nested intervals ending in would be strictly greater than the one for . As the right endpoint of is greater than the one of , it follows that the left endpoint of is also greater than the one of . Thus, if intersects , it intersects as well. So, the ordering and the partition are strongly consistent and is proper -thin.
Graphs with interval count one are known as unit interval graphs, while -nested interval graph are equivalent to proper interval graphs. In [35] it is shown that unit interval graphs are equivalent to proper interval graphs. So the classes proper -thin, -length interval and -nested interval are equivalent. We will see that for higher numbers the equivalence does not necessarily hold.
Indeed, in [15, Theorem 5, p. 177], Fishburn shows that, for every , there are -nested interval graphs that are not -length interval.
We will describe a family of graphs that show that, for every , there are proper -thin graphs that are not -nested interval.
Let . Let with vertices is defined as follows. Its vertex-set is , where , and . The subgraph induced by is a clique with vertices; (resp., ) is adjacent to . Then, for any , (resp., ) is adjacent to (resp., to ), and to for any . See Figure 2 for a sketch of and an interval representation of it.
The graph is the claw, which is not proper interval. For higher values of , we have the following property.
Proposition 12
[31]* For any , is proper -thin, but in every interval representation of it, if is the interval corresponding to , it holds .*
Proof. Consider the ordering , and the three classes , and . It is easy to see that they are strongly consistent.
Let . Notice that induce a path of length five on . In every interval representation of it, the interval is between the intervals corresponding to and and disjoint to them. As the five vertices are adjacent to , it follows that the . Finally, by the shape of interval representations of a path of length five, each of the intervals corresponding to and contains an endpoint of . As is neither adjacent to nor to , .
The following characterization was proved for -nested interval graphs.
Lemma 13
[24]* An interval graph is -nested interval if and only if it has an interval representation which can be partitioned into proper interval representations.*
This lemma and the family of graphs show that even if the vertices of a proper -thin graph can be partitioned into sets of vertices each of them inducing a proper interval graph, it is not always the case that it has an interval representation which can be partitioned into proper interval representations.
6 Solving combinatorial optimization problems on graphs
with bounded thinness
Since a -thin graph does not contain as induced subgraph (Theorem 1), it has at most maximal cliques [33]. In particular, the maximum weighted clique problem can be solved in polynomial time on graphs with bounded thinness, by simple enumeration of the maximal cliques of the graph [41].
The maximum weighted stable set problem can be solved in polynomial time on graphs with bounded thinness, when an ordering and a partition that are consistent are given [29]. In the same hypothesis, the capacitated coloring (in which there is an upper bound on the number of vertices of color ) can be solved in polynomial time, if the number of colors is fixed [5]. As a byproduct, in the same paper it is shown that the capacitated coloring can be solved in polynomial time for co-comparability graphs, if the number of colors is fixed, in contrast with the case in which the bounds are all equal to a fixed number , that is NP-complete, even for two subclasses of co-comparability graphs: permutation graphs (for ) [27] and interval graphs (for ) [4]. The hardness on interval graphs implies the hardness for graphs of bounded thinness, since interval graphs are the graphs with thinness .
Both algorithms, the one for maximum weighted stable set and the one for capacitated coloring with fixed number of colors, are based on dynamic programming. One of the main results in this work is a generalization of these algorithmic results. We describe now a framework of problems that can be solved for graphs with bounded thinness, given the representation.
Instance:
A -thin representation of , with ordering of , namely , and partition of into classes .
- 2.
A family of arbitrary nonnegative weights on .
- 3.
A family of nonnegative weights on bounded by a fixed polynomial in ( fixed, the bound for the weights).
Question: find sets ( fixed, not necessarily disjoint), for , such that:
the objective is to minimize or maximize a linear function .
- 2.
each vertex has a list of combinations of the sets to which it can belong (that may include the empty combination).
- 3.
there is an symmetric matrix over , stating the adjacency conditions on the sets , such that for , means is a clique, means is a stable set, means all the edges joining and have to be present, means there are no edges from to .
- 4.
there is a family of restrictions on the weight of the intersection and of the union of some families of sets. Such restrictions can be expressed as
- (a)
, such that , .
- (b)
, such that , .
Notice that some of these restrictions can be of cardinality, if the corresponding weight function is constant.
The family of problems that can be modeled within this framework includes weighted variations of list matrix partition problems with matrices of bounded size, which in turn generalize coloring, list coloring, list homomorphism, equitable coloring with different objective functions, all for fixed number of colors (or graph size in the case of homomorphism), clique cover with fixed number of cliques, weighted stable sets, and other graph partition problems. It models also sum-coloring and its more general version optimum cost chromatic partition problem [22] for fixed number of colors, but it does not include dominating-like problems.
We will solve such a problem as a shortest or longest path problem (according to minimization or maximization of the objective function) in an auxiliary acyclic digraph whose nodes correspond to states and whose arcs are weighted and labeled. The total weight of the path is the value of the objective function in the solution that can be built by using the arc labels. We will used the term “nodes” for the digraph in order to avoid confusion with the vertices of the graph .
A state is a tuple, containing:
a number indicating that we are considering the subgraph of , induced by .
- 2.
nonnegative parameters , for , ; they are at most , and each of them may take a nonnegative value at most , which is an upper bound for , for every .
- 3.
a family of nonnegative parameters , meaning that we cannot pick for a vertex of the first vertices of the set of the partition; there are such parameters and each of them may take a nonnegative value at most .
- 4.
a family of nonnegative parameters , meaning that we cannot pick for a vertex on the last vertices of the set of the partition; there are such parameters and each of them may take a nonnegative value at most .
The total number of states is then at most , that is polynomial in , since , , and are constant and is polynomial in .
The digraph will have nodes that correspond to possible states, organized in layers such that contains only one node , and the layer contains the states whose first parameter is . The layer contains also only one node, corresponding to the state , where the parameters are the ones in the original formulation of the problem and for every , .
All arcs of have the form with and , for some .
We associate with each node of a suitable problem, in the same framework, whose parameters correspond to the parameters in the state, but with additional constraints associated with the parameters and .
We will define the arcs in such a way that a node is reachable from the node in the layer if and only if the associated problem has a solution. The length of the path will be the weight of the solution, and the set of arc labels will encode the solution. Let us describe the arcs of the digraph.
Let be a node with parameters .
Let such that . For each (in particular ), such that:
- 1.1
For each , . 2. 1.2
For each , . 3. 1.3
For each , . 4. 1.4
For each such that , . 5. 1.5
For each such that , .
we add an arc from to , labeled by and of weight . If no satisfies conditions 1.1–1.5, no arc ending in is added. If more than one arc was added, we can keep only the one with maximum (resp. minimum) weight if we are solving a maximization (resp. minimization) problem.
Note that if we add the arc labeled by , then the solution for , for has weight and satisfies the state described by : condition 1.1 says that (the first and last vertex of in ) is allowed to be picked for every set for ; conditions 1.2–1.5 say that the assignment does not violate weight constraints.
Let be a node with parameters , .
Let such that . For each , such that:
- .1
For each , . 2. .2
For each , . 3. .3
For each , . 4. .4
For each such that , .
we add an arc from to , labeled by and of weight , where has parameters , such that:
- .1
Let . If there exists such that , then , and for , , . Otherwise, , and for , , . 2. .2
Let . If there exists such that , then
, and for , , . Otherwise, , and for , , . 3. .3
For each , and . 4. .4
For each , and . 5. .5
For each such that , and . 6. .6
For each such that , and .
If no satisfies conditions .1–.4, no arc ending in is added. If more than one arc from the same vertex to was added, we can keep only the one with maximum (resp. minimum) weight if we are solving a maximization (resp. minimization) problem.
That is, if an arc is added, the arc corresponds to the choice of adding the vertex to the sets , the conditions required imply that the choice is valid for in the case that the state described by admits a solution, the label of the arc keeps track of the choice made, and the cost corresponds to the weight that the choice adds to the objective function.
Note that if we add the arc labeled by , then for a solution for satisfying the state described by , then the solution for such that for , for satisfies the state described by . Conditions .1 and .2 say that (the last vertex of in ) is allowed to be picked for every set for . Condition .1 ensures on one hand that the conditions imposed by the parameters in are satisfied by the solution of , and, on the other hand, that if and are such that then no neighbor of belongs to , as required. Similarly, condition .2 ensures on one hand that the conditions imposed by the parameters in are satisfied also by the solution of , and, on the other hand, that if and are such that then all vertices in are adjacent to , as required. These conditions strongly use that the order and the partition are consistent. Finally, conditions .3–.4, and .3–.6 ensure that the solution does not violate weight constraints.
Moreover, the difference of weight of the solution with respect to is exactly .
In that way, a directed path in the digraph corresponds to an assignment of vertices of the graph to lists of sets and its weight is the value of the objective function for the corresponding assignment.
The digraph has a polynomial number of nodes and can be built in polynomial time. Since it is acyclic, both the longest path and shortest path can be computed in linear time in the size of the digraph by topological sorting.
Remark 1
The thinness is not preserved by the complement operation of graphs (see for instance Theorem 1). However, for every fixed , all the problems that can be modeled in this framework can be solved for the complement of a -thin graph , in the same framework, simply by swapping ones and zeroes in the restriction matrix .
6.1 Extending the family of combinatorial optimization problems solvable on graphs with bounded proper
thinness
We start by the following observation: in a proper -thin representation of a graph , with ordering of , namely , and partition of into classes , for each pair of vertices that are in the same class, . This allows us to handle other kinds of restrictions as for example domination type constraints.
Namely, if we are considering the subgraph of induced by but we “keep in mind” that we still need to dominate some of the vertices in with vertices of , we can summarize these conditions into at most of them (each imposed by vertices of in each partition class).
For graphs with bounded proper thinness , when the proper -thin representation of the graph is given, we can add now to the instance (with respect to Section 6) this kind of restrictions:
, such that and (it can be ), .
- 2.
, such that and (it can be ), .
In this way the framework includes domination-type problems in the literature and their weighted versions, such as existence/minimum (weighted) independent dominating set, minimum (weighted) total dominating set, minimum perfect dominating set and existence/minimum (weighted) efficient dominating set, b-coloring [21] with fixed number of colors.
We will keep the notation of Section 6 and describe how to modify the algorithm in order to take into account the new restrictions. Now the vertex order and the partition of are strongly consistent.
Each state now will be augmented with some new parameters:
a family of nonnegative parameters , meaning that the last vertices of have already a neighbor in (of index higher than them); there are such parameters and each of them may take a nonnegative value at most .
- 2.
a family of nonnegative parameters , meaning that the last vertices of have already two neighbors in (of index higher than them); there are such parameters and each of them may take a nonnegative value at most .
- 3.
a family of nonnegative parameters , meaning that, for each value , has to contain at least one vertex in the set that is the union over of the last vertices of (if the union is empty, this means no restriction associated with ); there are such parameters and each of them may take a nonnegative value at most .
The total number of states is then multiplied by at most , that keeps it polynomial in , since and are constant.
The value of all these parameters in the only node of the layer of the digraph is zero.
Now the problems associated with the nodes of will have the additional constraints associated with the new restrictions and the parameters , , and .
Let us describe the additional conditions for the arcs of the digraph, whose labels and weights are still the same as in Section 6.
Let be a node with parameters .
Let such that . For each (in particular ) satisfying 1.1–1.5, and such that:
- 1.6
For each , , such that , . 2. 1.7
For each , , such that , . 3. 1.8
For each , , such that or , . 4. 1.9
For each , such that , . 5. 1.10
For each and for each , .
we add an arc from to , labeled by and of weight . If no satisfies conditions 1.1–1.10, no arc ending in is added. If more than one arc was added, we can keep only the one with maximum (resp. minimum) weight if we are solving a maximization (resp. minimization) problem.
Note that if we add the arc labeled by , then the solution for , for has weight and satisfies the state described by : conditions 1.1–1.5 ensure the properties required in Section 6; conditions 1.6–1.9 ensure the validity of the two new families of restrictions about lower and upper bounds of neighbors of vertices of one set in other set, and condition 1.10 ensures that the restrictions imposed by the parameters are satisfied.
Let be a node with parameters , , .
Let such that . For each satisfying .1–.4, and such that:
- .5
For each , , such that or , . 2. .6
For each , such that , . 3. .7
For each and for each , either , or , or there exists , , such that (i.e., the union over of the last vertices of is not ). 4. .8
For each such that and there exists such that , . 5. .9
For each such that and there exists such that , .
Let be defined this way: for every and every such that , let for every ; for every and every such that , let for every ; for every and every , let and let for every , .
Let be defined as if for every , otherwise.
We add an arc from to , labeled by and of weight , where has parameters , , satisfies conditions .2–.6, and:
- .7
For each such that and there exists such that , if , then for each ; otherwise, for every (recall that, by the observations above about proper thinness, ). 2. .8
For each such that and there exists such that , if , then for each ; otherwise, for every . 3. .9
For each not comprised in conditions .7 and .8, . 4. .10
Let . If there exists satisfying at least one of the following:
- (a)
- (b)
( or ) and
- (c)
and
then, , and for , , . Otherwise, , and for , , . 5. .11
For each : if , then and ; otherwise, and . 6. .12
For each , , : if , then and ; otherwise, and .
If no satisfies conditions .1–.9, no arc ending in is added. If more than one arc from the same vertex to was added, we can keep only the one with maximum (resp. minimum) weight if we are solving a maximization (resp. minimization) problem.
That is, if an arc is added, the arc corresponds to the choice of adding the vertex to the sets , the conditions required imply that the choice is valid for in the case that the state described by admits a solution, the label of the arc keeps track of the choice made, and the cost corresponds to the weight that the choice adds to the objective function.
Note that if we add the arc labeled by , then for a solution for satisfying the state described by , then the solution for such that for , for satisfies the state described by .
Condition .10 ensures on one hand that the conditions imposed by the parameters in are satisfied by the solution of , and, on the other hand, that if and are such that then no neighbor of belongs to , as required. Conditions .7–.9 together with .7–.9 define parameters in in order to guarantee in both the conditions imposed by the lower bounds and those imposed by the parameters . Finally, conditions .11 and .12 properly update the definition of parameters according to the choice for . Conditions .2–.6 were analyzed above in Section 6.
As in that case, the difference of weight of the solution with respect to is exactly .
In that way, a directed path in the digraph corresponds to an assignment of vertices of the graph to lists of sets and its weight is the value of the objective function for the corresponding assignment.
The digraph has a polynomial number of nodes and can be built in polynomial time. Since it is acyclic, both the longest path and shortest path can be computed in linear time in the size of the digraph by topological sorting.
7 Thinness and graph operations
In this section we analyze the behavior of the thinness and proper thinness under different graph operations, namely union, join, and Cartesian product. The first two results allow us to fully characterize -thin graphs by forbidden induced subgraphs within the class of cographs. The third result is used to solve in polynomial time the -rainbow domination problem for fixed on graphs with bounded thinness.
Let and be two graphs with . The union of and is the graph , and the join of and is the graph (i.e., ).
Theorem 14
Let and be graphs. Then and .
Proof. Since both and are induced subgraphs of , then and the same holds for the proper thinness.
Let and be two graphs with thinness (resp. proper thinness) and , respectively. Let and be an ordering and a partition of which are consistent (resp. strongly consistent). Let and be an ordering and a partition of which are consistent (resp. strongly consistent). Suppose without loss of generality that . For , define a partition such that for and for , and define as an ordering of the vertices. By definition of union of graphs, if three ordered vertices according to the order defined in are such that the first and the third are adjacent, either the three vertices belong to or the three vertices belong to . Since the order and the partition restricted to each of and are the original ones, the properties required for consistency (resp. strong consistency) are satisfied.
Theorem 15
Let and be graphs. Then and . Moreover, if is complete, then .
Proof. Let and be two graphs with thinness (resp. proper thinness) and , respectively. Let and be an ordering and a partition of which are consistent (resp. strongly consistent). Let and be an ordering and a partition of which are consistent (resp. strongly consistent). For , define a partition with sets as the union of the two partitions, and as an ordering of the vertices.
Let be three vertices of such that , , and and are in the same class of the partition of . Then, in particular, and both belong either to or to . If belongs to the same graph, then because the ordering and partition restricted to each of and are consistent. Otherwise, is also adjacent to by the definition of join.
We have proved that the defined partition and ordering are consistent, and thus that . The proof of the strong consistency, given the strong consistency of the partition and ordering of each of and , is symmetric and implies .
Suppose now that is complete (in particular, ). Since is an induced subgraph of , then . For , define a partition such that and for , and define as an ordering of the vertices.
Let be three vertices of such that , , and and are in the same class of the partition of . If belongs to , then is also adjacent to , because it is adjacent to every vertex in . If belongs to , then , , and , belong to due to the definition of the order of the vertices, and thus because the ordering and partition restricted to are consistent. This proves , and therefore .
The following lemma shows a way of obtaining graphs with high thinness, using the join operator.
Lemma 16
If is not complete, then .
Proof. By Theorem 15, . On the other hand, as contains as induced subgraph, .
First notice that if but is not complete, then contains as induced subgraph, so it is not an interval graph, and , as claimed.
Suppose then that and as well, and let be an ordering of the vertices of consistent with a partition . Let be the vertices of the graph , and suppose . Without loss of generality we may assume . As , . Since , is nonadjacent to , and is adjacent to all the vertices in , has to be the smallest vertex in . Let and suppose there is a vertex in . As is adjacent to , it is adjacent to as well. So, we can define a new order on that preserves the order in and such that the vertices of are the largest. By the observations above, this order is still consistent with the partition . But it is also consistent with the partition in which , for , and . This implies that , a contradiction that completes the proof of the theorem.
Cographs were defined in [9], where it was shown that they are exactly the graphs with no induced path of length four. Cographs admit a full decomposition theorem. Let the trivial graph be the one with one vertex only.
Proposition 17
[9]* Every cograph that is not trivial is either the union or the join of two smaller cographs.*
We will use this structural property along with the theorems about thinness of union and join of graphs to prove the following.
Theorem 18
Let be a cograph and . Then has thinness at most if and only if contains no as induced subgraph.
Proof. The only if part holds by Theorem 1, because the class of -thin graph is hereditary for every .
We will prove the if part by induction on the number of vertices of the cograph . If is a trivial graph, then and the theorem holds. If is not trivial, by Proposition 17, it is either union or join of two smaller cographs and , with thinness and , respectively.
Suppose first . By Theorem 14, . If (resp. ) is greater than one, then by inductive hypothesis (resp. ) contains (resp. ) as induced subgraph, and so does .
Suppose now that . If one of them is complete (suppose without loss of generality ), then, by Theorem 15, . If is greater than one, then by inductive hypothesis contains as induced subgraph, and so does . If none of them is complete, then, by that fact and the inductive hypothesis, contains and contains as induced subgraph. As , contains as induced subgraph, thus (Theorem 1). By Theorem 15, , and therefore . This finishes the proof of the theorem.
A characterization by minimal forbidden induced subgraphs for -thin graphs, , is open.
Let and be two graphs. The Cartesian product is a graph whose vertex set is the Cartesian product , and such that two vertices and are adjacent in if and only if either and is adjacent to in , or and is adjacent to in .
Theorem 19
Let and be graphs. Then and .
Proof. Let be a -thin (resp. proper -thin) graph, and let and be an ordering and a partition of which are consistent (resp. strongly consistent). Let , , and an arbitrary ordering of . Consider lexicographically ordered with respect to the orderings of and above. Consider now the partition such that for each , . We will show that this ordering and partition of are consistent (resp. strongly consistent). Let be three vertices appearing in that ordering in .
Case 1: . In this case, the three vertices are in different classes, so no restriction has to be satisfied.
Case 2: . In this case, and are in different classes. So suppose is proper -thin and belong to the same class, i.e., . Vertices and are adjacent in if and only if and . But then , a contradiction.
Case 3: . In this case, and are in different classes. So suppose is -thin and belong to the same class, i.e., . Vertices and are adjacent in if and only if and . But then , a contradiction.
Case 4: . Suppose first is -thin (resp. proper -thin) and belong to the same class, i.e., and , belong to the same class in . Vertices and are adjacent in if and only if and . But then and since the ordering and the partition are consistent (resp. strongly consistent) in , and so and are adjacent in . Now suppose that is proper -thin and belong to the same class, i.e., . Vertices and are adjacent in if and only if and . But then and since the ordering and the partition are strongly consistent in , and so and are adjacent in .
Corollary 20
If is (proper) -thin then is (proper) -thin. In particular, if is a (proper) interval graph then is (proper) -thin.
For a graph and an integer , we say that is a -rainbow dominating function if it assigns to each vertex a subset of such that for all with . Consider the following generalization of the dominating set problem.
-rainbow domination problem
Instance: A graph .
Find: a -rainbow dominating function that minimizes .
The -rainbow domination problem is equivalent to minimum dominating set of [6]. As a consequence of Corollary 20 and the last remark in Section 4, it can be solved in polynomial time on graphs with bounded thinness for fixed values of . This generalizes the polynomiality for interval graphs, recently proved by Hon, Kloks, Liu, and Wang in [20] (the algorithm for is claimed in [19]). The problem for proper interval graphs was stated as an open question by Brešar and Kraner Šumenjak in [6].
8 Conclusions and open problems
We described a wide family of combinatorial optimization problems that can be solved in polynomial time on classes of bounded thinness and bounded proper thinness. We think that some restrictions can be further generalized (specially the domination type ones), with more involved sets of parameters and transition rules. We tried to keep it as simpler as possible, yet including many of the classical combinatorial optimization problems in the literature.
We also proved a number of theoretical results, some of them related to the recognition problem for the classes, others relating the concept of thinness and proper thinness to other known graph parameters, and analyzing their behavior under the graph operations union, join, and Cartesian product.
Some open problems are the following.
Characterize (proper) -thin graphs by minimal forbidden induced subgraphs (or at least within some graph class, we did it for thinness in cographs).
- 2.
Find sufficient conditions, for instance a family subgraphs to forbid as induced subgraphs, for a graph to be (proper) -thin, even if these graphs are not necessarily forbidden induced subgraphs for (proper) -thin graphs. These kind of results have been obtained for MIM-width in [23].
- 3.
Study the behavior of thinness under other graph products or graph operators in general.
- 4.
What is the complexity of computing the thinness/proper thinness of a graph? Or deciding if it is at most for some fixed values ?
- 5.
Can we develop some randomized algorithm to test just a subset of vertex orderings and obtain with high probability an approximation of the thinness/proper thinness?
- 6.
Can we improve the complexity of the algorithms that are in XP to FPT? Or prove a hardness result?
- 7.
Given a partition of the vertex set into a fixed number of classes, what is the complexity of deciding if there is a (strongly) consistent order for the vertices w.r.t. that partition (and finding it)? (We have proved that for an arbitrary number of classes the problems are NP-complete, and we have solved in polynomial time the symmetric problem, i.e., given the ordering, find a minimum (strongly) consistent partition.)
Acknowledgements: This work was partially supported by UBACyT Grant 20020130100808BA, CONICET PIP 112-201201-00450CO, ANPCyT PICT 2012-1324 and 2015-2218 (Argentina). We want to thank Gianpaolo Oriolo for bringing our attention into the thinness parameter and for helpful discussions about it, Daniela Saban for the example of an interval graph with high proper thinness, Nicolas Nisse for pointing out the relation between proper thinness and other interval graphs invariants to us, Boštjan Brešar and Martin Milanič for pointing out the open problem on rainbow domination to us, and Yuri Faenza for his valuable help in the improvement of the manuscript. Last but not least, we want to thank the anonymous referees for their useful comments that help us to improve the paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Arne Telle. Complexity of domination-type problems in graphs. Nordic Journal of Computing , 1(1):157–171, 1994.
- 2[2] U. Bertelè and F. Brioschi. Nonserial Dynamic Programming . Academic Press, 1972.
- 3[3] B.V.S. Bharadwaj and L.S. Chandran. Bounds on isoperimetric values of trees. Discrete Mathematics , 309(4):834–842, 2009.
- 4[4] H.L. Bodlaender and K. Jansen. Restrictions of graph partition problems. Part I. Theoretical Computer Science , 148:93–109, 1995.
- 5[5] F. Bonomo, S. Mattia, and G. Oriolo. Bounded coloring of co-comparability graphs and the pickup and delivery tour combination problem. Theoretical Computer Science , 412(45):6261–6268, 2011.
- 6[6] B. Brešar and T. Kraner Šumenjak. On the 2-rainbow domination in graphs. Discrete Applied Mathematics , 155:2394–2400, 2007.
- 7[7] M.R. Cerioli, F. de S. Oliveira, and J.L. Szwarcfiter. On counting interval lengths of interval graphs. Discrete Applied Mathematics , 159(7):532–543, 2011.
- 8[8] S. Chandran, C. Mannino, and G. Oriolo. The indepedent set problem and the thinness of a graph. Manuscript, 2007.
