Independence and Domination
on Bounded-Treewidth Graphs:
Integer, Rational, and Irrational Distances
Abstract
The distance- variants of Independent Set and Dominating Set problems have been extensively studied from different algorithmic viewpoints. In particular, the complexity of these problems are well understood on bounded-treewidth graphs [Katsikarelis, Lampis, and Paschos, Discret. Appl. Math 2022][Borradaile and Le, IPEC 2016]: given a tree decomposition of width , the two problems can be solved in time and , respectively. Furthermore, assuming the Strong Exponential-Time Hypothesis (SETH), the base constants are best possible in these running times: they cannot be improved to and , respectively, for any . We investigate continuous versions of these problems in a setting introduced by Megiddo and Tamir [SICOMP 1983], where every edge is modeled by a unit-length interval of points. In the -Dispersion problem, the task is to find a maximum number of points (possibly inside edges) that are pairwise at distance at least from each other. Similarly, in the -Covering problem, the task is to find a minimum number of points (possibly inside edges) such that every point of the graph (including those inside edges) is at distance at most from the selected point set. We provide a comprehensive understanding of these two problems on bounded-treewidth graphs.
-
1.
Let with and being coprime. If , then -Dispersion is polynomial-time solvable. For , given a tree decomposition of width , the problem can be solved in time , and, assuming SETH, there is no time algorithm for any .
-
2.
Let with and being coprime. If , then -Covering is polynomial-time solvable. For , given a tree decomposition of width , the problem can be solved in time , and, assuming SETH, there is no time algorithm for any .
-
3.
For every fixed irrational number satisfying some mild computability condition, both -Dispersion and -Covering can be solved in time on graphs of treewidth . We show a very explicitly defined irrational number such that -Dispersion and -Covering are W[1]-hard parameterized by the treewidth of the input graph, and, assuming ETH, cannot be solved in time .
As a key step in obtaining these results, we extend earlier results on distance- versions of Independent Set and Dominating Set: We determine the exact complexity of these problems in the special case when the input graph arises from some graph by subdividing every edge exactly times.
Keywords and phrases:
Independence, Domination, Irrationals, Treewidth, SETHCopyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Discrete optimization ; Mathematics of computing Graph algorithms ; Theory of computation Problems, reductions and completeness ; Theory of computation Parameterized complexity and exact algorithmsEditors:
Olaf Beyersdorff, Michał Pilipczuk, Elaine Pimentel, and Nguyễn Kim ThắngSeries and Publisher:

1 Introduction
An independent set of a graph is a subset of vertices that have pairwise distance at least . A well-known generalization to higher distance is the notion of -independent set for some integer , which is a subset of vertices that have pairwise distance at least . Receiving extensive attention in the literature, e.g. [12, 29, 13, 4, 32, 21], the problem seems reasonably well understood. The dual notion of distance- dominating set, which is a set of vertices such that every vertex of the graph is at distance at most from , was also similarly well studied. In this paper, we present an extensive study of both problems, focusing on their complexity on subdivided and bounded-treewidth graphs. Furthermore, we explore the generalization of these problems to noninteger (even irrational!) distances in an appropriate continuous model [8, 33] that received renewed attention lately [16, 17, 18, 14].
Independent Set and Dispersion
Integer distances.
Finding a maximum -independent set is NP-hard for (as it is the same as the classic Independent Set problem) and it is not difficult to show that it remains NP-hard for any fixed . In contrast, there are polynomial time algorithms for when the input is a -subdivided graph, that is a graph that resulted from a graph by replacing every edge by a path of length two.
Theorem 1.1 (Grigoriev et al. [14]).
For , a maximum -independent set on a -subdivided graph can be found in linear time.111 The original statement is about a continuous dispersion problem, but can be put as above using a connection of these two problem which we mention later.
Due to an important connection to the dispersion problem (see later in this section), we are particularly interested in the complexity of finding a maximum -independent set on subdivided graphs, where every edge is replaced by a path of length . Formally, let be the maximum cardinality of an -independent set of a graph . For a graph class , let - be the corresponding decision problem, which is, given a graph and integer , deciding whether . Let be class of graphs that are -subdivisions, meaning results from a graph by replacing every edge by a path of length .
As a first contribution, for every fixed integer , we settle the NP-hardness and the parameterized complexity of finding a maximum -independent set when parameterized by the solution size (as color-coded in Figure 1). If the ratio is smaller than , then the problem is FPT, and otherwise it is W[1]-hard unless it is a polynomial time solvable case.
Theorem 1.2 (Section 4).
- is
-
polynomial time solvable if or if and is even for some integer ; and NP-hard for all other integers ; and is
-
fixed-parameter tractable for the solution size as parameter if or if , even; and W[1]-hard for all other integers .
Next, we consider the problem parameterized by treewidth. Intuitively, the -Independent Set problem is harder for larger . Indeed, for all , there is a matching upper and lower bound with in the base of an exponential run time for graphs of bounded treewidth, assuming the Strong Exponential Time Hypothesis (SETH).
Theorem 1.3 (Katsikarelis et al. [20]).
For , given a tree decomposition of width of an vertex input graph, a maximum -independent set can be found in time . Assuming SETH, there is no time algorithm for any , even for graphs without a cycle of length .222The restriction to graphs without short cycles is not explicitly given, but easily observed. We will rely on this restriction later.
We refine Theorem 1.3 by restricting the -Independent Set problem to -subdivided graphs and determining the optimal base of the exponent for all integers and . We expect that larger makes the problem harder (as in Theorem 1.3) and larger makes the problem easier (as the graphs become more restricted), but it turns out that the optimal base depends on and in a very subtle way. Let denote the greatest common divisor of integers and .
Theorem 1.4 (Section 5).
Let integers with , and . Assume SETH, an and that a tree decomposition of width is part of the input.
-
If is odd: If , - is in P, else - can be solved in time but not in .
-
If is even: If , - is in P, else - can be solved in time but not in .

The proof heavily uses hidden symmetries of -independent sets on -subdivided graphs for different values of and . Such symmetries were explored first for a continuous version of -independent set, in a series of work [14, 17, 15]. We show that these results hold in similar form for -independent sets as well.
Rational distances.
As the distance between any two vertices in a graph is an integer, it makes no sense to consider -independent sets for noninteger . However, noninteger distances can be highly relevant if we consider the complexity of the said continuous version of -independent. The continuous version, introduced by Dearing and Francis [8], is known as -dispersion for a positive real distance . In this setting, instead of requiring a selection of vertices of a graph , we allow the selection of points that may be on a vertex or somewhere on the continuum of an edge. We fix the length of the edges to , which defines a distance relation of the points in the graph . A -dispersed set then is a subset of points where every distinct points have distance at least ; as studied for example in [35, 14, 17]. The problem -Dispersion is the decision version asking for a -dispersed set of size at least , for some budget given in the input. It turns out that the notion of -dispersed sets is similar to -independent sets on -subdivided graphs. Indeed, a crucial connection between the two types of sets is that -dispersed sets are in one-to-one correspondence to -independent sets on the -subdivided graph, as follows from a discretization argument by Grigoriev et al. [14]. Particularly, the polynomial time solvable case of -independent set, as stated in Theorem 1.1, follow from this discretization argument and a characterization of the polynomial time solvable cases of -dispersion. Finding a maximum -dispersed set is polynomial time solvable if is a twice a unit-fraction (including and ), and all other cases are NP-hard [14]. Further, -dispersion when parameterized by the solution size is FPT when and otherwise W[1]-hard, as shown by Hartmann et al. [17].
With such connections and Theorem 1.4 at our hands, we can turn the results on -independent set on -subdivided graphs into tight results for -Dispersion on bounded treewidth graphs for every fixed rational .
Theorem 1.5 (Section 5).
Let coprime define . If , then -Dispersion is in P. For , given a tree decomposition of width , the problem can be solved in time , and, assuming SETH, there is no time algorithm for any .
Irrational distances.
By Theorem 1.5, for a fixed rational , finding a maximum size -dispersed set is fixed-parameter tractable in the treewidth of the input graph. This is not necessarily the case for irrational . Deciding -Dispersion can be as hard as outputting the digits of , which for some is not even computable. Consider, for example, a path of length . Then there is a dispersed set of size if and only if . Hence it is reasonable to consider the question of efficient algorithms only if is efficiently comparable to rationals, meaning that there is an algorithm that, given , decides whether in time polynomial in .
For every fixed efficiently comparable , it is possible to find a maximum -dispersed set in an -vertex graph in time , i.e., there is an XP algorithm parameterized by treewidth. This follows from a rounding procedure by Hartmann et al. [17], by which for an -vertex graph the dispersion number of equals to the dispersion number of the smallest rational where with . Using that is efficiently comparable, we can find this rational in polynomial time since and is in the order of for a fixed . Then it remains to apply the algorithm of Theorem 1.5 to find a maximum -dispersed set.
In contrast, the above algorithm cannot be improved to a fixed-parameter tractable under standard complexity assumptions. As we show, there is a very explicitly defined and efficiently comparable irrational , for which computing the -dispersion number is W[1]-hard parameterized by the treewidth (in fact even for pathwidth), and an according lower bound holds under the Exponential Time Hypothesis (ETH).
Theorem 1.6 (Section 6).
There is an efficiently comparable irrational for which -Dispersion is W[1]-hard in the pathwidth of the -vertex input graph and, assuming ETH, cannot be solved in time for any computable function .
Domination Problems
In addition to distance -independent set, we perform a similar study of the dual domination problems. As we show, the results for -independence hold quite similarly for according domination problems. We use a definition that unifies several concepts such as that of a dominating set and a vertex cover.
A distance- dominating set is a subset of vertices such that every other vertex is at distance at most to a vertex in . The literature contains several more distance domination-like problems, which are often quite well understood on bounded treewidth graphs. A well-studied example is mixed dominating set, for example [38, 19, 25, 37, 10] and under the name total covering [1, 11, 28, 2, 31], which is (even though not directly phrased as such) equivalent to a distance- dominating set of the -subdivision of a graph . Similarly, a vertex-edge dominating set is a subset of vertices such that every edge has one of its end vertices in distance at most to a vertex in , as studied in [23, 40, 39]. More generally, a distance- vertex cover (not to be confused with a -path vertex cover) is a subset of vertices such that every edge has one of its end vertices in distance at most to a vertex in , as studied in [3, 7].
We unify all above concepts by the notion of an -walk dominating set for an integer , which is a subset of vertices such that for every edge , there are (possibly identical) vertices and a -walk of length at most containing edge .
Observation 1.7.
For a graph without isolated vertices, the following notions coincide:
-
a vertex cover and a -walk dominating set,
-
a dominating set and a -walk dominating set,
-
a vertex-edge dominating set and a -walk dominating set,
-
a distance- dominating set and a -walk dominating set, for every ,
-
a mixed dominating set in and a -walk dominating set in the -subdivision , and
-
a distance- vertex cover and a -walk dominating set, for every .
Integer distances.
Finding a minimum -walk dominating set is NP-hard for (i.e., finding minimum vertex cover) and it is not difficult to show that it remains NP-hard for any fixed . In some cases, the hardness also extends to when we restrict the input to -subdivided graphs: Finding a minimum mixed dominating set, i.e., a -walk dominating set of -subdivided graphs, is NP-hard, as shown by Majumdar [26]. In contrast, there are polynomial time algorithms for when the input is a -subdivided graph.
Theorem 1.8 (Hartmann et al. [18]).
For , a minimum -walk dominating set on a -subdivided graph can be found in linear time.333 The original statement is about a continuous covering problem, but can be phrased as here by using a discretization argument given in the same work.
These examples give a glimpse into the complexity of finding an -walk dominating set of a -subdivided graphs for integers . This work settles, for every fixed integer , whether finding a minimum -walk dominating set of a -subdivided graph is polynomial time solvable or NP-hard, and additionally settles the parameterized complexity for the solution size as parameter (as color-coded in Figure 2). Formally, let be the minimum cardinality of an -walk dominating set of a graph . For a graph class , let - be the according decision problem, which is, given a graph and an integer , deciding whether .

Theorem 1.9 ().
- is
-
polynomial time solvable if or if and is even for some integer ; and is NP-hard for all other integers ; and is
-
fixed-parameter tractable for the parameter solution size if ; and W[2]-hard for all other integers .
We note that - is polynomial time solvable for the same set of integers where - is polynomial time solvable. In contrast, the threshold which separates the fixed-parameter tractable cases from the W[1]-hard/W[2]-hard cases is shifted, which should be expected as Vertex Cover and Dominating Set are to be separated by this threshold.
Further, we study the problem parameterized by treewidth. Again, intuitively, the -walk dominating set problem is harder for larger . Indeed, for many cases the notion of an -walk dominating set corresponds to a known problem (as in 1.7) where the literature knows a matching upper and lower bound with in the base of an exponential run time for graphs of bounded treewidth, assuming SETH. This is also the case for on -subdivided graphs, as this corresponds to a mixed dominating set.
Theorem 1.10 ([30, 36, 5, 24, 10]).
For , given a tree decomposition of width of an vertex input graph, a minimum -walk dominating set can be found in time , and, assuming SETH, there is no time algorithm for any . Moreover, for this even holds when the input graph is restricted to -subdivided graphs.
We refine Theorem 1.10 by including also even distances and by considering the restriction of -Walk Dominating Set to -subdivided graphs, beyond the case and . We determine the optimal base of the exponent for all integers and . As it turns out, the optimal base depends on and in a very subtle way.
Theorem 1.11 ().
Let integers with and and . Assume SETH, , and that a tree decomposition of width is part of the input.
-
If is odd: If , - is in P, else - can be solved in time but not in .
-
If is even: If , - is in P, else - can be solved in time but not .
The proof of Theorem 1.11 heavily uses hidden symmetries of -walk dominating sets on -subdivided graphs, which are of similar nature as for independent sets. Such symmetries were explored first for a continuous version of -walk dominating set [18]. We show that these results hold in similar form for -walk dominating set as well.
Regarding distance- domination, our results so far imply the following.
Corollary 1.12.
Finding a minimum distance- dominating set in -subdivided graphs
-
is polynomial time solvable if is a multiple of , otherwise is NP-hard;
-
if is not a multiple of , with can be solved in time if a tree decomposition of width is part of the input, and, assuming SETH, cannot be solved in time ; and
-
fixed-parameter tractable for the parameter solution size if ; and W[2]-hard for all other values of .
Rational distances.
The continuous version of -walk dominating set, as introduced by Shier [33], is known as -covering for a positive real distance . Similarly to -dispersion, we allow the selection of points that may be on a vertex or somewhere on the continuum of an edge. We fix the length of the edges to , which defines a distance relation of the points in the graph . A -cover is a set of points that covers every point in the graph, that is there is a point such that have distance at most ; as studied for example in [27, 34] and receiving renewed attention lately [16, 18]. The problem -Covering is the decision version asking for a -cover of size at most , for some budget given in the input. The notion of a -cover is quite similar to an -walk dominating set of a -subdivided graph; though the connection is more subtle compared to the independence problems. Based on a discretization argument by Hartmann et al. [18] we show that -covers are in one-to-one correspondence to -walk dominating sets on -subdivided graphs, if is even; while if is odd, -covers are in one-to-one correspondence to -walk dominating sets on -subdivided graphs. Particularly, we obtain the polynomial time solvable cases of -covering based on this connection. Finding a minimum -cover is polynomial time solvable if is a unit-fraction and otherwise NP-hard [18]. By the same work, -Covering parameterized by the solution size is FPT in case an otherwise W[2]-hard. (We observe a similar dichotomy for -independent sets on -subdivided graphs, as stated in Theorem 1.9.)
With such connections and Theorem 1.11 at our hands, we can turn the results on -independent set on -subdivided graphs into tight results for -Covering on bounded treewidth graphs for every fixed rational .
Theorem 1.13 ().
Let integers with and and . Assume SETH, , and that a tree decomposition of width is part of the input.
-
-Covering for is in P; if and is odd, can be solved in time but not in ; if and is even, can be solved in time but not in .
Irrational distances.
By Theorem 1.13, for every fixed rational , finding a minimum -cover is fixed-parameter tractable parameterized by the treewidth of the input graph. As is the case for -covering, this is not necessarily true for irrational . Deciding -Covering can be as hard as outputting the digits of , which for some is not even computable. For a path of length , there is a covering set of size if and only if . Hence it is reasonable to consider only which are efficiently comparable.
For every fixed efficiently comparable , it is possible to find a minimum -cover in time , i.e., there is an XP algorithm parameterized by treewidth. This follows from a rounding procedure by Tamir [34], by which for an -vertex graph the covering number of equals to the covering number of the largest rational with . Using that is efficiently comparable, we can find this rational in polynomial time since and is in the order of for a fixed . Then it remains to apply the algorithm of Theorem 1.13 to find a minimum -covering set.
In contrast, the above algorithm cannot be improved to a fixed-parameter tractable under standard complexity assumptions. As we show, there is a very explicitly defined and efficiently comparable irrational , for which computing the -covering number is W[1]-hard parameterized by the treewidth (in fact even for pathwidth), and an according lower bound under ETH.
Theorem 1.14 ().
There is an efficiently comparable irrational such that -Covering is W[1]-hard in the pathwidth of the -vertex input graph and, assuming ETH, cannot be solved in time for any computable function .
2 Preliminaries
All our graphs are simple and undirected. Usually we assume that our graphs as input do not contain isolated vertices, as they can easily be preprocessed for the studied problems.
-Subdivision.
For a graph and an integer , the -subdivision of , denoted as , results from by replacing every edge by a -path of length . For example, . For an edge and , let be the unique vertex on the unique shortest -path in with distance to and distance to . Let be the class of every graph that is the -subdivision of a graph .
Point space.
For a graph , we assume that its edges have unit length. Let , for an edge and a real , denote the point on the edge with distance to and distance to . Hence coincides with , and the point coincides with the vertex . By we denote the set of points of a graph . Let , for two points , denote the distance of of the underlying metric space on .
Graph parameters.
We use the following well known relation of graph parameters. By we denote the maximum size of a matching in a graph . A tree decomposition of consists of a tree and a mapping from the vertices of (referred to as nodes) to subsets of (referred to as bags), such that (1) , (2) implies a node with , and (3) for nodes where lies on the path from to , we have . The width of a tree decomposition is the maximum of for all . A path decomposition of is a tree decomposition where is a path. We let denote the path decomposition using a path . The treewidth of a graph is the minimum width of a tree decomposition, and likewise the pathwidth is the minimum width of a path decomposition.
It is well known that . Hence a parameterized algorithm with the treewidth as parameter is more general result than using the pathwidth (assuming a respective decomposition is given in the input). On the other hand, a lower bound for the parameter pathwidth also holds for the parameter treewidth.
Efficiently comparable real.
A real is efficiently comparable if there is an algorithm that, given , decides whether in time polynomial in .
3 Independent and Dispersed Sets
This section explores the close relationship between -independent sets and -dispersed sets. Our goal is to establish the following two transformations of -dispersed sets also for independent sets. The first relates the dispersion number to the subdividing the graph.
Lemma 3.1 ([14]).
For every real and integer , .
The second relates the dispersion number of the same graph but of different distances. For certain distances the solution size differs by exactly one point for every edge.
In a key result later, we will apply Lemma 3.2 multiple time, stated as follows. (The proof thereof and of other statements marked with can be found in the full version of this paper.)
Corollary 3.3 ().
for an integer , real and graph without cycles of length .
To obtain Lemma 3.1 and Lemma 3.2 in terms of -independent sets, we consider certain normalized dispersed sets. To that end, recall that a point is -simple if is a multiple of . Further, let be -simple if all its points are -simple. The good news is that there is a direct correspondence of -simple -dispersed sets in a graph and -independent sets in the -subdivision .
Observation 3.4.
Let . There is an -independent set of size in , if and only if there is a -simple -dispersed set of size in .
Proof.
The vertex for an edge and corresponds to the -simple point and vice versa. The distance between vertices corresponds to the same distance of corresponding points multiplied by the factor .
Unfortunately, there may be no minimum -dispersed set that is -simple. On the positive side, a minimum -dispersed set can be modified to a -simple dispersed set of same size. Actually, one can observe that is not -simple only because of certain points in .
Lemma 3.5 ([14]).
For an -dispersed set , the following set is -simple and -dispersed. For each point with for some integer , let ; for all other , let .
Corollary 3.6.
for every and graph .
This already implies a subdivision argument almost as for -independent sets (Lemma 3.1).
Lemma 3.7.
For every graph , if is odd, or are even.
Proof.
First consider that and are even. Then for some integers . Then , because of Corollary 3.6.
Now consider that is odd. Clearly, an -independent set in corresponds to a -independent set in . For the reverse direction, let be a -independent set of . Consider the corresponding -dispersed set in , which is -simple. We apply the construction of Lemma 3.5. As is odd, there is no point with edge position . Hence the construction only produces points with edge position or . That is, the constructed set is -simple, and hence corresponds to an -independent set in .
Next, we obtain the second connection (Lemma 3.2) quite similarly for dispersed sets. That is, we relate -independent sets in the subdivided graphs and . The basic idea is to translate the independent set to a dispersed set and apply Lemma 3.2. However, the construction of Lemma 3.2 does not preserve simplicity. Hence we adapt the construction slightly such that it always maps -simple inputs to -simple outputs. As we show in the appendix, the correctness follows with almost the same proof as for Lemma 3.2.
Lemma 3.8 ().
Let be a graph without a cycle of length . A -simple -dispersed set implies an -simple -dispersed set of size . Further, an -simple -dispersed set implies a -simple -dispersed set of size .
Theorem 3.9.
if graph contains no cycle of length .
Proof.
Let be an -independent set in . Then corresponds to a -simple -dispersed set in , by 3.4. Lemma 3.8 maps to an -simple -dispersed set in of size . This construction is applicable since contains no cycle of length , and hence contains no cycle of length . Then the -simple set corresponds to an -independent set in of size , by 3.4. That means .
Vice versa, let be an -independent set in . Then corresponds to an -simple -dispersed set in of size , by 3.4. Lemma 3.8 maps to an -simple -dispersed set in of size . Then the -simple set corresponds to an -independent set in of size , by 3.4. That means .
Now with these two relation of independent sets established (Corollary 3.6 and Theorem 3.9), we easily obtain the the integers for which finding a maximum -independent set on -subdivided graphs is polynomial time solvable. A simple case is, that is odd and is a multiple of . By Lemma 3.7, this is equivalent to finding a maximum -independent set on a -subdivided graph, which trivially consist of all vertices. In the case that is even and is a multiple of , and that is even and is a multiple of , Lemma 3.7 and Theorem 3.9 allow to reduce the problem to a polynomial time solvable case from Theorem 1.2. Theorem 3.9 is applicable as in above cases .
Theorem 3.10.
-Independent Set on -subdivided graph is polynomial time solvable if is a multiple of , or is even and is an odd multiple of .
4 Independent Set with Parameter Solution Size
This section settles the parameterized complexity of finding a maximum -independent set on -subdivided graphs with the solution size as parameter, for every integer . These results are also color-coded in Figure 1 and summarized as follows.
Theorem 4.1 (Theorem 1.2 restated).
- is
-
polynomial time solvable if or if and is even for some integer ; and NP-hard for all other integers ; and is
-
fixed-parameter tractable for the solution size as parameter if or if , even; and W[1]-hard for all other integers .
The polynomial time solvable cases are already settled by Theorem 3.10. As is well-known, -Independent Set (on general graphs, hence -subdivided graphs) is W[1]-hard [9]. This also puts all cases where and odd to W[1]-hard, by applying Lemma 3.7; while all over cases with are polynomial time solvable. The fixed-parameter tractable cases rely on bounding the solution size below by the size of a maximum matching in a graph , denoted as ; similarly as for the covering problem [17].
Lemma 4.2.
for every graph and integers with .
Proof.
If , then is an -independent set in . Since , the statement follows for . Otherwise, consider a maximum matching . Then the two vertices and for distinct matching edges have distance at least . The last inequality holds since otherwise in contradiction to . In conclusion is an -independent set of , where is an arbitrary ordering of .
As the maximum size of a matching in a graph upper bounds the treewidth, an FPT-algorithm results from a win-win situation. Either the input asks for an independent set that is relatively large compared to and hence also compared to the treewidth, in which case we can use Theorem 1.3, or the answer is trivially “yes”.
Lemma 4.3 ().
For every with , - is FPT for the parameter solution size.
It remains to show W[1]-hardness if , which follows from two parameter preserving reductions from Independent Set showing W[1]-hardness, the first for , the second for ; similarly as for the covering problem [17].
Lemma 4.4 ().
For integers where , - is W[1]-hard.
5 Dispersion for Rational Distances
This section derives the upper and lower bounds under SETH for finding a minimum -independent set on -subdivided graphs for the parameter treewidth, for all integers . All lower bounds follow from the mere lower bound for even distance .
Theorem 5.1 ().
Let be even. Assuming SETH, -Independent Set has no time algorithm for any , even when the input is restricted to -subdivided graphs without a cycle of length .
In fact, we show this lower bound assuming the Primal Pathwidth SETH, recently introduced by Lampis [22]. We provide the details in the full version.
Theorem 5.2 (Theorem 1.4, Theorem 1.5 combined).
Let integers define and and . Assume SETH, an and that a tree decomposition of width is part of the input.
-
If is odd: If , - is in P, else - can be solved in time but not in .
-
If is even: If , - is in P, else - can be solved in time but not in .
-
If , -Dispersion is in P; while if can be solved in time but not in time .
Proof.
First, we consider that is odd. Then - is equivalent to - by Lemma 3.7. In case , then - has the trivial -independent set . Otherwise, - can be solved in time using Theorem 1.3.
For the lower bound we use that for some integers . Assume SETH. Then we know from Theorem 1.3 that - has no time algorithm for any . Particularly, this lower bound relies on graphs without a cycle of length . Then Theorem 3.9 applied times yields that -, and equivalently -, also has no time algorithm for any . Thus especially - has no time algorithm. This settles the cases for independent set with odd .
Next, we consider that is even, hence that for some integer . Then - is equivalent to -, by Lemma 3.7. Again, by Theorem 1.3, - can be solved in time .
If , then -Dispersion is polynomial time solvable, by Theorem 1.1. Further, as , applying Lemma 3.2 yields that also -Dispersion is polynomial time solvable (as also observed in [14]). By Corollary 3.6, - is equivalent to -Dispersion, hence polynomial time solvable.
In case , and assuming SETH, Theorem 5.1 provides that - has no time algorithm for any . Particularly, this lower bound does not rely on graphs with a cycle of length . Since are co-prime, again Theorem 3.9 applies, and we obtain that - has no for any . This settles the cases for independent set with even .
Finally, -Dispersion is equivalent to -Dispersion by definition. Then -Dispersion is equivalent to - by Corollary 3.6. Since are co-prime, have greatest common devisor . By the discussion for an greatest common devisor which is even, we follow that -Dispersion has an time algorithm, and, assuming SETH, has no time algorithm for any .
6 Dispersion for Irrational Distance
This section derives the hardness result for computing a maximum -dispersed set for the efficiently comparable irrational .
Theorem 6.1 (Theorem 1.6 restated).
There is an efficiently comparable irrational for which -Dispersion is W[1]-hard in the pathwidth of the -vertex input graph and, assuming ETH, cannot be solved in time for any computable function .
Our proof is based on two main reductions. The first one is fairly standard: It is a reduction from a colorful clique problem to -Dispersion, where is a sufficiently large integer (polynomially bounded in the number of vertices of the colorful clique problem). The reduction is robust in the sense that it is simultaneously a reduction to -Dispersion as well, i.e., the yes/no answer does not change if we reduce the radius by 1. The second reduction is the main nontrivial part of the proof: We reduce -Dispersion to -Dispersion for some rational in a robust way. That is, the reduction can be interpreted also as a reduction from -Dispersion to -Dispersion for some . Thus if the source instance has the same yes/no answer for radius and , then the target problem has the same answer for any radius . We manage to define in such a way that there is an irrational that is in for every . Thus for every , the problem can be reduced to -Dispersion.
Our main tools so far are subdividing (using Lemma 3.1), and translating (using Lemma 3.2). Translating only applies to instances where the graph contains no cycle of length . Hence, for convenience, let be the Dispersion problem restricted to instances where the graph contains no cycle of length .
The starting point is Colorful Clique where, given a graph and an integer and a proper -coloring of , the task is to decide whether contains a -clique that contains exactly one vertex of each color. It is known [6] that Colorful Clique is W[1]-hard parameterized by the solution size and, assuming ETH, has no time algorithm for any computable function .
The first reduction is based on a reduction from Colorful Clique to the task of finding a maximum -independent set with as part of the input, as given by Katsikarelis et al. [20]. We output a graph with enough leeway such that the -dispersion number does not change for in the interval for some integer . Doing so, our construction constitutes a reduction from Colorful Clique to -Dispersion and, at the same time, a reduction from Colorful Clique to -Dispersion. Further, we make sure that the construction does not introduce any short cycles.
Lemma 6.2 ().
There is a polynomial time reduction that, given a Colorful Clique-instance with color classes of size , outputs a graph of pathwidth and integer , such that: is a yes-instance of Colorful Clique if and only if is a yes-instance of - if and only if is a yes-instance of -.
Next, let us define in an abstract sense. Distance is approximated by values and from below and above with increasing precision. The idea is to define distance by a fraction that results from applying translation (Lemma 3.2) and subdivision (Lemma 3.1) to a (quite large) distance . Later, our second reduction then reduces to -Dispersion and to -Dispersion by applying the according translation and subdivision.
Definition 6.3.
Let be an increasing integer sequence. Then and, for ,
This defines .
The sequence is decreasing and bounded from below, hence the limit is well defined.
Lemma 6.4 ().
For , and , , as defined in Definition 6.3, we have
We obtain nice computational properties if we use the double-exponential sequence for .
Lemma 6.5.
Using sequence for Definition 6.3, integers are polynomial-time computable given , and is polynomial in . Further, is efficiently comparable.
Proof.
We observe that , hence that is polynomial-time computable given and is polynomial in . Further, . Hence is polynomial-time computable given , by at most multiplications and additions of integers that are polynomial in .
Let us determine . We let . Then
This yields
We show that is efficiently comparable, that is there is an algorithm that, given a rational , decides whether in time polynomial in . Our algorithm first checks whether , and if not can conclude that or . Instead of comparing with , we compare their inverses and , and output the negated answer. In base , we obtain that , which is that the -th digit succeeds the -st digit in steps. Hence the first digits (after the dot) of can be output in time polynomial in . We may also output the first digits (after the dot) of in time polynomial in . If there is a position where the digits differ, we can conclude whichever is larger. It remains to show that there will be a difference in the first digits of and , hence that comparing the first digits suffices. Indeed, the digits of as a string cannot contain the substring after the dot. Otherwise contains the substring after the dot, and by induction contains the substring after the dot, in contradiction that is integer. In contrast, the first digits of do include the substring . Thus it suffices to compare the fist digits of and , which concludes the proof.
The following lemma lies at the heart of our result: the definition of the sequences , , allows us to reduce -Dispersion to -Dispersion and, at the same time, -Dispersion to -Dispersion with the same reduction.
Lemma 6.6.
Let sequence be as in Definition 6.3. There is a polynomial-time reduction that, given integers and a graph , outputs a subdivision of and integer , such that: is a yes-instance of -, if and only if the output is a yes-instance of -. Also, is a yes-instance of -, if and only if the output is a yes-instance of -.
Proof.
Let and sequence be defined as in Definition 6.3. Our algorithm begins by addressing some border cases. If , we output a trivial simultaneous yes-instance of - and -. Else, if exceeds and , we output a trivial simultaneous no-instance. Else, we output an -subdivision of the input graph as and as budget . Hence and have the same pathwidth up to subdividing the edges. Any number of subdivisions of edges may increase the pathwidth only by a total of one. To compute with as part of the input, we use Lemma 6.5 to compute and in polynomial time. In particular, is polynomial in and hence polynomial in , such that we may output , the -subdivision of , in polynomial time.
We have by Lemma 3.2 and as contains no cycle of length . Applying this translation not only once but times, by Corollary 3.3, we obtain . Then by an -subdivision of the input graph we have by Lemma 3.1. Thus the input is a yes-instance of -, if and only if the output is a yes-instance of -.
The analogous transformations yields that . We observe that the numerator of the latter is , while the denominator is . Hence this rational is equal to . Thus is a yes-instance of -, if and only if the output is a yes-instance of -.
Proof of Theorem 6.1.
Let be defined by integer sequence for . Then is efficient comparable by Lemma 6.5. Consider a Colorful Clique-instance with color classes of size . Let be such that , hence . We note that , for , and hence . Thus and are polynomial-time computable, and are polynomial in . We extend the color-classes of with isolated vertices each, resulting in color classes of size . Next, we apply the reduction of Lemma 6.2 on , now with color classes, which outputs . In turn, we apply the reduction of Lemma 6.6 on which outputs , forming our final output.
We note that the reductions of Lemma 6.2 and Lemma 6.6 are polynomial-time computable. The former outputs a graph of pathwidth , the latter does not change the pathwidth up to a constant. Hence overall we output a graph of pathwidth .
By Lemma 6.2 and Lemma 6.6, is a yes-instance of Colorful Clique, if and only if is a yes-instance of -Dispersion, if and only if is a yes-instance of -Dispersion. Since , by Lemma 6.4, the dispersion numbers satisfy . Thus the output is a yes-instance of -Dispersion, if and only if is a yes-instance of Colorful Clique.
Since Colorful Clique is W[1]-hard parameterized by , also -Dispersion is W[1]-hard parameterized by the pathwidth of the input graph. For the lower bound under ETH, assume an time algorithm for -Dispersion for a computable function . Then using the above reduction on a Colorful Clique-instance yields an time algorithm for Colorful Clique, in contradiction to ETH.
7 Domination and Covering
Finally, we turn to the domination problems and covering as their continuous counterpart. This section outlines the connection of -walk dominating set and -covers. We establish tools that relate -walk dominating set on -subdivided graphs for different values of , similarly as we did for the independent set problem. These tools then allow to derive the complexity results for -Walk Dominating Set on -subdivided graphs and -Covering as stated in the introduction. The details thereof are deferred to the full version.
The notion of an -walk dominating set can be defined in three different ways, (D1), (D2) and (D3), which are useful for different kind of proofs. Let be a graph without isolated vertices. For an integer , a subset -walk dominates some subset of edges , defining , if:
-
D1 For every edge , there are (possibly identical) vertices and a -walk in of length at most that contains ; or
-
D2 Every vertex has , and the set vertices where forms an independent set.
-
D3 -dominates in the -subdivision of (when identifiying an edge with the vertex with neighborhood in ). That is, for every vertex , there is a vertex with .
An -walk dominating set of is a subset that -walk dominates .
Lemma 7.1 ().
Conditions (D1), (D2), (D3) are equivalent.
We have the following two transformation of -dispersed sets for different values of , as shown by Hartmann et al. [18].
Lemma 7.2 ([18]).
For every real and integer , .
Lemma 7.3 ([18]).
.
Aiming to translate these modifications to the realm of -walk dominating set on -subdivided graphs, we observe the following connection.
Observation 7.4 ().
Let . There is a -simple -covering set of size of a graph without isolated vertices, if and only if there is an -walk dominating set of of size .
A minimum -cover can be assumed to be -simple [18]. Actually, if is even, we observation can be improved. For example, a -covering set implies a -simple -covering set of same size.
Lemma 7.5 ().
Let be an -cover of a graph for integers . Then there is an -cover of of size that is -simple and, if is a multiple of , is -simple.
Assuming that contains no point at a position for , then is -simple, and, if additionally is a multiple of , is -simple.
With this connection at hand, we can state a refined connection of minimum -covers of a graph and minimum -walk dominating set on -subdivided graphs.
Corollary 7.6.
; , for any and graph without isolated vertices.
Now we can put the earlier stated transformation of -dispersed sets in terms of -walk dominating on -subdivided graphs.
Theorem 7.7 ().
when is odd, or are even.
Theorem 7.8 ().
.
These two transformation lay the groundwork for show Theorem 1.11, Theorem 1.13 and Theorem 1.14. For details, we refer to the full version.
References
- [1] Yousef Alavi, M. Behzad, Linda M. Lesniak-Foster, and E. A. Nordhaus. Total matchings and total coverings of graphs. Journal of Graph Theory, 1(2):135–140, 1977. doi:10.1002/jgt.3190010209.
- [2] Yousef Alavi, Jiuqiang Liu, Jianfang Wang, and Zhongfu Zhang. On total covers of graphs. Discret. Math., 100(1-3):229–233, 1992. doi:10.1016/0012-365X(92)90643-T.
- [3] José D. Alvarado, Simone Dantas, and Dieter Rautenbach. Distance k-domination, distance k-guarding, and distance k-vertex cover of maximal outerplanar graphs. Discret. Appl. Math., 194:154–159, 2015. doi:10.1016/J.DAM.2015.05.010.
- [4] Gábor Bacsó, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Zsolt Tuza, and Erik Jan Van Leeuwen. Subexponential-time algorithms for maximum independent set in -free and broom-free graphs. Algorithmica, 81:421–438, 2019.
- [5] Glencora Borradaile and Hung Le. Optimal dynamic program for r-domination problems over tree decompositions. In Jiong Guo and Danny Hermelin, editors, 11th International Symposium on Parameterized and Exact Computation, IPEC 2016, August 24-26, 2016, Aarhus, Denmark, volume 63 of LIPIcs, pages 8:1–8:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2016. doi:10.4230/LIPIcs.IPEC.2016.8.
- [6] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [7] Clément Dallard, Mirza Krbezlija, and Martin Milanic. Vertex cover at distance on H-free graphs. In Paola Flocchini and Lucia Moura, editors, Combinatorial Algorithms – 32nd International Workshop, IWOCA 2021, Ottawa, ON, Canada, July 5-7, 2021, Proceedings, volume 12757 of Lecture Notes in Computer Science, pages 237–251. Springer, 2021. doi:10.1007/978-3-030-79987-8_17.
- [8] Perino M. Dearing and Richard L. Francis. A minimax location problem on a network. Transportation Science, 8(4):333–343, 1974.
- [9] Rodney G. Downey and Michael R. Fellows. Fixed-parameter tractability and completeness II: on completeness for W[1]. Theor. Comput. Sci., 141(1&2):109–131, 1995. doi:10.1016/0304-3975(94)00097-3.
- [10] Louis Dublois, Michael Lampis, and Vangelis T. Paschos. New algorithms for mixed dominating set. Discret. Math. Theor. Comput. Sci., 23(1), 2021. doi:10.46298/DMTCS.6824.
- [11] Paul Erdős and Amram Meir. On total matching numbers and total covering numbers of complementary graphs. Discret. Math., 19(3):229–233, 1977. doi:10.1016/0012-365X(77)90102-9.
- [12] Hiroshi Eto, Fengrui Guo, and Eiji Miyano. Distance- independent set problems for bipartite and chordal graphs. J. Comb. Optim., 27(1):88–99, 2014. doi:10.1007/s10878-012-9594-4.
- [13] Hiroshi Eto, Takehiro Ito, Zhilong Liu, and Eiji Miyano. Approximation algorithm for the distance-3 independent set problem on cubic graphs. In Sheung-Hung Poon, Md. Saidur Rahman, and Hsu-Chun Yen, editors, WALCOM: Algorithms and Computation, 11th International Conference and Workshops, WALCOM 2017, Hsinchu, Taiwan, March 29-31, 2017, Proceedings, volume 10167 of Lecture Notes in Computer Science, pages 228–240. Springer, 2017. doi:10.1007/978-3-319-53925-6_18.
- [14] Alexander Grigoriev, Tim A. Hartmann, Stefan Lendl, and Gerhard J. Woeginger. Dispersing obnoxious facilities on a graph. Algorithmica, 83(6):1734–1749, 2021. doi:10.1007/s00453-021-00800-3.
- [15] Tim A. Hartmann. Facility location on graphs. Dissertation, RWTH Aachen University, Aachen, 2022. doi:10.18154/RWTH-2023-01837.
- [16] Tim A. Hartmann and Tom Janßen. Approximating -covering (to appear). In Approximation and Online Algorithms – 22nd International Workshop, WAOA 2024, Egham, United Kingdom, September 5-6, 2024, Proceedings, Lecture Notes in Computer Science. Springer, 2024.
- [17] Tim A. Hartmann and Stefan Lendl. Dispersing obnoxious facilities on graphs by rounding distances. In Stefan Szeider, Robert Ganian, and Alexandra Silva, editors, 47th International Symposium on Mathematical Foundations of Computer Science, MFCS 2022, August 22-26, 2022, Vienna, Austria, volume 241 of LIPIcs, pages 55:1–55:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPICS.MFCS.2022.55.
- [18] Tim A. Hartmann, Stefan Lendl, and Gerhard J. Woeginger. Continuous facility location on graphs. Math. Program., 192(1):207–227, 2022. doi:10.1007/s10107-021-01646-x.
- [19] Pallavi Jain, Jayakrishnan Madathil, Fahad Panolan, and Abhishek Sahu. Mixed dominating set: A parameterized perspective. In Hans L. Bodlaender and Gerhard J. Woeginger, editors, Graph-Theoretic Concepts in Computer Science – 43rd International Workshop, WG 2017, Eindhoven, The Netherlands, June 21-23, 2017, Revised Selected Papers, volume 10520 of Lecture Notes in Computer Science, pages 330–343. Springer, 2017. doi:10.1007/978-3-319-68705-6_25.
- [20] Ioannis Katsikarelis, Michael Lampis, and Vangelis T. Paschos. Structurally parameterized d-scattered set. Discret. Appl. Math., 308:168–186, 2022. doi:10.1016/j.dam.2020.03.052.
- [21] Ioannis Katsikarelis, Michael Lampis, and Vangelis T. Paschos. Improved (in-)approximability bounds for d-scattered set. J. Graph Algorithms Appl., 27(3):219–238, 2023. doi:10.7155/JGAA.00621.
- [22] Michael Lampis. The primal pathwidth SETH. CoRR, abs/2403.07239, 2024. doi:10.48550/arXiv.2403.07239.
- [23] Jason Lewis, Stephen T. Hedetniemi, Teresa W. Haynes, and Gerd H. Fricke. Vertex-edge domination. Utilitas mathematica, 81:193–213, 2010.
- [24] Daniel Lokshtanov, Dániel Marx, and Saket Saurabh. Known algorithms on graphs of bounded treewidth are probably optimal. ACM Trans. Algorithms, 14(2):13:1–13:30, 2018. doi:10.1145/3170442.
- [25] Jayakrishnan Madathil, Fahad Panolan, Abhishek Sahu, and Saket Saurabh. On the complexity of mixed dominating set. In René van Bevern and Gregory Kucherov, editors, Computer Science – Theory and Applications – 14th International Computer Science Symposium in Russia, CSR 2019, Novosibirsk, Russia, July 1-5, 2019, Proceedings, volume 11532 of Lecture Notes in Computer Science, pages 262–274. Springer, 2019. doi:10.1007/978-3-030-19955-5_23.
- [26] Aniket Majumdar. Neighborhood hypergraphs: A framework for covering and packing parameters in graphs. Dissertation, Clemson University, 1992.
- [27] Nimrod Megiddo and Arie Tamir. New results on the complexity of -center problems. SIAM J. Comput., 12(4):751–758, 1983. doi:10.1137/0212051.
- [28] Amram Meir. On total covering and matching of graphs. J. Comb. Theory B, 24(2):164–168, 1978. doi:10.1016/0095-8956(78)90017-5.
- [29] Pedro Montealegre and Ioan Todinca. On distance-d independent set and other problems in graphs with “few” minimal separators. In Pinar Heggernes, editor, Graph-Theoretic Concepts in Computer Science – 42nd International Workshop, WG 2016, Istanbul, Turkey, June 22-24, 2016, Revised Selected Papers, volume 9941 of Lecture Notes in Computer Science, pages 183–194, 2016. doi:10.1007/978-3-662-53536-3_16.
- [30] Rolf Niedermeier. Invitation to Fixed-Parameter Algorithms. Oxford University Press, 2006. doi:10.1093/ACPROF:OSO/9780198566076.001.0001.
- [31] Uri N. Peled and Feng Sun. Total matchings and total coverings of threshold graphs. Discret. Appl. Math., 49(1-3):325–330, 1994. doi:10.1016/0166-218X(94)90216-X.
- [32] Michal Pilipczuk and Sebastian Siebertz. Kernelization and approximation of distance-r independent sets on nowhere dense graphs. Eur. J. Comb., 94:103309, 2021. doi:10.1016/J.EJC.2021.103309.
- [33] Douglas R. Shier. A min-max theorem for -center problems on a tree. Transportation Science, 11(3):243–252, 1977. URL: http://www.jstor.org/stable/25767877.
- [34] Arie Tamir. On the solution value of the continuous -center location problem on a graph. Math. Oper. Res., 12(2):340–349, 1987. doi:10.1287/moor.12.2.340.
- [35] Arie Tamir. Obnoxious facility location on graphs. SIAM J. Discret. Math., 4(4):550–567, 1991. doi:10.1137/0404048.
- [36] Johan M. M. van Rooij, Hans L. Bodlaender, and Peter Rossmanith. Dynamic programming on tree decompositions using generalised fast subset convolution. In Amos Fiat and Peter Sanders, editors, Algorithms – ESA 2009, 17th Annual European Symposium, Copenhagen, Denmark, September 7-9, 2009. Proceedings, volume 5757 of Lecture Notes in Computer Science, pages 566–577. Springer, 2009. doi:10.1007/978-3-642-04128-0_51.
- [37] Mingyu Xiao and Zimo Sheng. Improved parameterized algorithms and kernels for mixed domination. Theor. Comput. Sci., 815:109–120, 2020. doi:10.1016/J.TCS.2020.02.014.
- [38] Yancai Zhao, Liying Kang, and Moo Young Sohn. The algorithmic complexity of mixed domination in graphs. Theor. Comput. Sci., 412(22):2387–2392, 2011. doi:10.1016/J.TCS.2011.01.029.
- [39] Radosław Ziemann and Paweł Żyliński. Vertex-edge domination in cubic graphs. Discret. Math., 343(11):112075, 2020. doi:10.1016/J.DISC.2020.112075.
- [40] Paweł Żyliński. Vertex-edge domination in graphs. Aequationes mathematicae, 93(4):735–742, 2019.