Fine-Grained Classification of Detecting Dominating Patterns
Abstract
We consider the following generalization of dominating sets: Let be a host graph and be a pattern graph . A dominating -pattern in is a subset of vertices in that (1) forms a dominating set in and (2) induces a subgraph isomorphic to . The graph theory literature studies the properties of dominating -patterns for various patterns , including cliques, matchings, independent sets, cycles and paths. Previous work (Kunnemann, Redzic 2024) obtains algorithms and conditional lower bounds for detecting dominating -patterns particularly for being a -clique, a -independent set and a -matching. Their results give conditionally tight lower bounds if is sufficiently large (where the bound depends the matrix multiplication exponent ). We ask: Can we obtain a classification of the fine-grained complexity for all patterns ?
Indeed, we define a graph parameter such that if , then
is the optimal running time assuming the Orthogonal Vectors Hypothesis, for all patterns except the triangle . Here, the host graph has vertices and edges, where .
The parameter is closely related (but sometimes different) to a parameter studied in (Alon 1981) to tightly quantify the maximum number of occurrences of induced subgraphs isomorphic to . Our results stand in contrast to the lack of a full fine-grained classification of detecting an arbitrary (not necessarily dominating) induced -pattern.
Keywords and phrases:
fine-grained complexity theory, domination in graphs, subgraph isomorphism, classification theorem, parameterized algorithmsCopyright and License:
2012 ACM Subject Classification:
Theory of computation Graph algorithms analysis ; Theory of computation Parameterized complexity and exact algorithms ; Theory of computation Problems, reductions and completenessFunding:
Research supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – 462679611.Editors:
Anne Benoit, Haim Kaplan, Sebastian Wild, and Grzegorz HermanSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Among the most intensively investigated graph problems is the dominating set problem: Given a graph , find a (small) vertex subset that dominates all vertices, i.e., for each , we have or there is some with . In many scenarios, one might not merely want to find any dominating set, but rather a dominating set satisfying some additional requirements. Possibilities include forming a connected subgraph, admitting a perfect matching, or more generally being connected by a prescribed topology (e.g., rings or cliques) or even being fully disconnected (i.e., forming an independent set). In this work, we study a general form of such problems: For any pattern graph , the (Non-induced) Dominating -Pattern problem asks to determine, given a graph , whether there exists a (non-)induced copy of in that dominates all vertices of .
Indeed, for various patterns , the structural properties of Dominating -Patterns have been well investigated, e.g., Dominating Cliques [5, 7, 12, 15, 26, 27, 28], Dominating Independent Sets111We remark that a Dominating Independent Set is equivalent to the well-studied notion of a Maximal Independent Set. [8, 9, 10, 29, 34], Dominating (Induced) Matchings [22, 37, 38], Dominating Cycles [17, 18] or Dominating Paths [19, 20, 42]. Recently, the algorithmic complexity of detecting Dominating -Patterns in general graphs has been performed by Künnemann and Redzic, focusing on cliques, independent sets and perfect matchings [30] (see below for further details). In this work, we set out to understand the fine-grained complexity of this problem for all patterns .
Note that the Dominating -Pattern problem is the natural combination of two classic problems which are heavily studied in isolation: Dominating Set and -Pattern Detection.
-
-Dominating Set: Dominating set is a notoriously difficult problem. When parameterized by the solution size (i.e., , it is the arguably most natural W[2]-complete problem and hard even to approximate within factors [6, 24]. The best known algorithm is based on fast matrix multiplication and solves it in time for all sufficiently large [16]. This is tight in the sense that an -time algorithm for any and would refute the -Orthogonal Vectors Hypothesis (-OVH) and thus the Strong Exponential Time Hypothesis [36] (see Section 2 for details). Taking the graph sparsity (i.e., the number of edges) into account as well, a recent result [21] gives upper and conditional lower bounds establishing a tight time complexity of if the matrix multiplication exponent is equal to .
-
-Pattern Detection (aka Induced -Subgraph Isomorphism): The complexity of -Pattern Detection for general is sensitive to the considered pattern . The probably most notable special case is -Clique Detection. It is the most natural -complete problem and also resists good approximations [6, 31, 23]. Its best known algorithm solves it in time essentially [33]222If is divisible by 3. and is conjectured to be optimal, see, e.g., [1]. For other (classes of) patterns , however, only partial results are known: While for any -node pattern , the problem can be reduced to -Clique Detection, this approach is not necessarily optimal. E.g., all 4-node patterns except clique and independent set can be detected polynomially faster than the conjectured time for clique and independent set, see in particular [25, 16, 39, 13]. Despite significant effort (see [25, 16, 39, 14, 13] for a selection), the task of finding matching upper and conditional lower bounds appears far from completed. Let us remark that also for Non-induced -Pattern Detection a fine-grained classification of all patterns remains open (see, e.g., [32, 13]).
We ask: How does the time complexity of Dominating -Pattern relate to the complexity of -Pattern Detection versus to the complexity of -Dominating Set? Can we, despite the lack of a complete classification for -Pattern Detection classify the fine-grained complexity of all dominating patterns?
Previous work appears to indicate that the complexity should be governed by the domination aspect: By adapting the conditional lower bound of Patrascu and Williams for -Dominating Set [36] (see also [21, 30]) it is not too difficult to obtain a conditional lower bound of in dense graphs for any pattern , based on -OVH. However, the situation becomes much more interesting for sparse graphs. Here, it has already been observed that the fine-grained time complexity is highly sensitive to the specific pattern . Specifically, Künnemann and Redzic [30] give some curious insights into selected patterns: (Here, to simplify the presentation, we assume that and that -OVH holds.)
-
If is the -star (a tree with a root and leaves), the tight time complexity is , i.e., even in very sparse graphs with , we only save a linear factor in compared to the complexity in dense graphs.
-
In contrast, if is the clique with vertices or the independent set with vertices, we obtain a particularly simple case with tight time complexity of . In very sparse graphs with , the resulting running time of is less than the square root of the running time of in dense graphs.
-
Finally, the substantially different pattern of a perfect matching on vertices achieves the only slightly worse time complexity of .
We remark that the above results suggest that in sparse graphs, Dominating -Pattern shares an additional flavor with the -Pattern Enumeration problem: It is not too difficult to obtain an algorithm whose running time is roughly bounded by the time required to list all occurrences of the pattern . However, it turns out that this number alone cannot fully explain the time complexity: While for the case of perfect matchings, the time complexity coincides precisely with the maximum number of occurrences of the pattern, for others (e.g., independent sets or cliques), the time complexity is polynomially less than the maximum number of occurrences of the pattern. This begs the question: which other parameter of the pattern captures the time complexity of Dominating -Pattern?
Our results.
To state the time complexity for any pattern , we introduce the following graph parameter . Here for any graph and , we let denote the (open) neighborhood of the vertices , where .333For any graph , we will always denote by and its set of vertices and edges, respectively.
Definition 1.1.
Let be an arbitrary pattern graph, and denote by the set of isolated nodes of . Choose an independent set maximizing ; if is not uniquely defined, take any choice maximizing . We define
and set
These quantities turn out similar (but sometimes different) to the maximum number of occurrences of the pattern graph for patterns without isolated nodes (i.e., ). Specifically, if and , the maximum number of induced copies of in an -vertex -edge graph is . Indeed, for connected graphs and patterns , Alon [3] defines the parameter and establishes as the maximum number of induced copies of in whenever has edges (which generalizes to arbitrary ).444To clarify the correspondence, we remark that already Alon (see [3, proof of Lemma 8]) observed that in the definition of , one may without loss of generality let range only over independent sets: for any set maximizing , the set is an independent set with . Thus, whenever a nonempty set maximizes , we have . Alon proves that a connected -edge graph has a maximum number of induced copies of , where is any connected pattern. The generalization to an arbitrary trade-off between and is implicit in our proofs. Note that and may only differ for some patterns with , in which case . In contrast, if contains isolated nodes (e.g., the case of Dominating Independent Set), the number of occurrences of and may differ vastly (e.g., between and ).
Our results determine that for all patterns (possibly except the triangle ), is the conditionally tight time complexity of detecting a Dominating -Pattern if . Put differently, for any pattern (except , we can easily determine the conditionally optimal running time (assuming )! Specifically, we obtain the following algorithmic result:
Theorem 1.2 (Upper Bound).
For any pattern graph with at least vertices, there is an algorithm solving Dominating -Pattern problem in time . Further, if , this algorithm exists for all patterns except .
We remark that our algorithms have a running time close to even under current values of and small pattern sizes – the small polynomial overhead depends on and vanishes if (except for the triangle ). Further, we complement our algorithmic result by a corresponding conditional lower bound of based on the -Orthogonal Vectors Hypothesis (and thus the Strong Exponential Time Hypothesis).
Theorem 1.3 (Conditional Lower Bound).
For any pattern graph with at least vertices, there is no algorithm solving the -Dominating Set problem in time for any unless the -Orthogonal Vectors Hypothesis fails.
The only pattern for which we do not obtain an algorithm matching the lower bound of Theorem 1.3 is the triangle . For this pattern, our best algorithm only leaves a time overhead of if , yielding a bound of in this case.
Theorem 1.4.
We can solve Dominating Triangle in time .
Technical Outline and Overview.
In Section 3, we obtain our algorithmic results: We first study sufficiently large connected patterns (different from and ), which we call basic patterns. We argue that there are only sets that might form a Dominating -Pattern (using similar arguments to Alon [3]). Moreover, we show how to enumerate all such candidate sets in time in such a way that allows us to reduce to fast matrix multiplication to perform a dominance check as in Eisenbrand and Grandoni [16]. Notably, this approach introduces a polynomial overhead for and , as the created matrices are too large compared to the lower bound. We handle these cases separately: Using a careful combination of ideas from sparse Triangle Counting [4] and sparse 2-Dominating Set [21], we are able to improve the algorithms for and ; if , this completely eliminates the overhead for and reduces the overhead for to . Finally, we extend our algorithm beyond connected patterns by showing how to handle isolated nodes: We can no longer enumerate all candidate sets, as this number becomes too large. Instead, we apply a recursive approach similar to the algorithm for Dominating Independent Sets given in [30]. Here, particularly the case of a single isolated node requires great care.
Due to space reasons, our conditional lower bounds had to be deferred to the full version of the paper. Our conditional lower bound construction generalizes the ones in [30] (which in turn are based on [36, 21]): Specifically, we reduce from a version of the -OV problem with carefully chosen set sizes. Intuitively, the parameter spells out how to choose these sizes: (1) for every vertex , we have a set of vectors, (2) for every vertex , we have a set of vectors, and (3) for every vertex , we have a set of vectors. The precise construction requires care; in particular if , we need to use an alternative choice of a single set of vectors and sets of vectors.
We additionally study variants of Dominating -Pattern where we are given a set of patterns rather than a single pattern. The corresponding problem Dominating -Pattern asks to detect a dominating set that induces a subgraph isomorphic to some . A notable special case is the Non-Induced Dominating -Pattern problem in which the task is to detect a dominating set such that contains as a subgraph. Combining the following theorem with Theorems 1.2 and 1.3, our results settle the fine-grained complexity of Non-Induced Dominating -Pattern for any pattern except (assuming ).
Theorem 1.5 (Dominating -Pattern, Informal version).
Let be a finite set of patterns of identical order. The fine-grained complexity of Dominating -Pattern is dominated by the pattern with the highest time complexity.
Due to the space restrictions, the proof of this theorem is provided only in the full version of the paper.
2 Preliminaries
For a , denotes the set . For a set , its power set is denoted by and the set of all subsets of size by . For two sets , by we denote a set of unordered pairs, i.e. . For a pattern graph and a host graph , we use and , respectively, to denote their order, i.e., number of vertices. As a shorthand for , the notation denotes an edge between and . The set is the neighborhood of . The closed neighborhood of is . For a set of vertices , by (resp. ), we denote the set (resp. ). Moreover, the subgraph of induced by is denoted by . For a vertex , the graph denotes the graph with the vertex deleted. Likewise, for a set , we use . A set of vertices dominates the graph if every vertex of is either in or has a neighbor in .
The matrix multiplication exponent is the smallest constant such that there is an algorithm multiplying any two matrices in time. For two rectangular matrices of size and , denotes the time complexity of multiplying these matrices. Similarly, for matrix of size and , denotes the time complexity of multiplying them. Further, is the largest constant such that . The best known bounds for and are [2], and [41].
3 Algorithm for Pattern Dominating Set
In this section we develop the algorithms for Dominating -Pattern problem for different choices of patterns and prove the following main theorem as stated in the Introduction. See 1.2 In order to prove this theorem, we proceed in three steps. We first develop algorithms for a class of patterns we call basic: all patterns that contain no isolated vertices and are not isomorphic to a or . We then handle patterns with isolated vertices and the remaining small cliques separately. An important ingredient that we use to speed up the dominance check is an approach via fast matrix multiplication due to Eisenbrand and Grandoni [16].
Lemma 3.1.
Let be the sets of vertices and be a predicate such that for any we can check in constant time. Let be sets of subsets of such that any subset that satisfies can be written as a union of two sets and . Then in time we can enumerate all subsets of that satisfy and dominate .
We remark that in the -Dominating Set algorithm [16], the predicate from the previous lemma is true if and false otherwise. In our case, for a fixed pattern , the predicate will be true if the subgraph of induced by is isomorphic to (i.e. ).555Note that verifying takes time, for constant size patterns. Recall also our definition of the parameter , which will be relevant in this section. See 1.1 Let be a (possibly empty) independent set of non-isolated vertices in that maximizes the value as in Definition 1.1. We define the remainder set to be . The following observation follows directly from the fact that is an independent set.
Observation 3.2.
Let be a pattern on vertices and be as defined above. Then form a partition of .
Before proceeding with the algorithm, we state another observation, that gives us a nice way to think about the value of depending on whether set is empty or not.
Observation 3.3.
Let be a pattern on vertices and be the partition of as defined above.
-
If , then .
-
If , then .
If we consider a partition into sets and similar as above, intuitively we have some structure on the parts (independent set in ) and (there exists a maximal matching that matches each vertex in to a vertex in ), but we have very little structure on how the remainder set looks like. In the following lemma we show that we can decompose the remainder set into much simpler subgraphs (disjoint edges and cycles).
Lemma 3.4.
Let , and be a partition of as defined above and assume that the induced subgraph contains no isolated vertices. Then the following holds.
-
There exists a spanning subgraph of that is isomorphic to a disjoint union of edges and odd cycles.
-
For any vertex , there exists a spanning subgraph of that is isomorphic to a disjoint union of edges and odd cycles.
The proof follows from a structural theorem proved in [11] together with the choice of the set in Definition 1.1. For details we refer the reader to the full version of the paper. We are now equipped with all the tools we need to construct the algorithm for the first family of patterns that we call basic patterns.
3.1 Basic Patterns
In this section we construct an algorithm that solves the -Dominating Set problem in the (conditionally) optimal time for most of the patterns. More precisely, we say a pattern graph is basic if: 1) it has at least three vertices; 2) it has no isolated vertices; 3) it is neither isomorphic to a nor a . We prove the following theorem for basic patterns.
Theorem 3.5.
For any basic pattern on at least 16 vertices, there exists an algorithm solving the Dominating -Pattern problem in time . Moreover, if , this time complexity can be achieved for all basic patterns.
The high level idea is to first decompose the pattern into (not necessarily induced) odd cycles, edges and isolated vertices, and then enumerate all possible valid choices for each of those parts efficiently, and then use Lemma 3.1 to check if the union of guessed parts induces a subgraph isomorphic to , and if it dominates . We first show that we can enumerate all subgraphs isomorphic to the remainder set efficiently. Let and . We say a vertex is heavy if . We prove the following lemma in the full version of the paper.
Lemma 3.6.
Let be a basic pattern. Let be a partition of as defined in Definition 1.1. Then the following holds.
-
1.
We can enumerate all subgraphs of that are isomorphic to in time .
-
2.
We can enumerate all subgraphs of that are isomorphic to and contain a heavy vertex in time .
We now use the lemma above to handle the case when the decomposition into , and as in Definition 1.1 yields . Due to space constraints, we only sketch the proof here. The details can be found in the full version.
Lemma 3.7.
Let be a basic pattern and be a partition of as defined in Definition 1.1, such that . If the basic pattern has at least vertices, then there exists an algorithm solving Dominating -Pattern in time . If , this time complexity can be achieved for all basic patterns .
Proof (sketch).
If , then and Lemma 3.6 applies to all of . Recall that any dominating set of size contains a heavy vertex (a vertex of degree at least ), hence we can first guess this vertex in time . By Lemma 3.4, there is a spanning subgraph of that is isomorphic to a disjoint union of edges and odd cycles and we can find such a spanning subgraph in time. Assume that this decomposition yields odd cycles and disjoint edges. If , we show that we can decompose further into two graphs such that they satisfy the following conditions:
-
Each is a disjoint union of independent ’s (paths of length two) and ’s (independent edges), such that each copy of will correspond to a subgraph of that is isomorphic to and whose all vertices either have degree at most , or one of the endpoints has degree at least . 666Hence in we will be able to enumerate all subgraphs isomorphic to that fulfill this degree requirement in time .
-
is a spanning subgraph of .
-
(Without loss of generality) .
-
We can enumerate all copies of isomorphic to that satisfy the degree constraints of in time .
In particular, for , we have , and combining this with the inequality above, we can conclude that . Using that the rectangular matrix multiplication constant , and that , we for the exponent
| (1) |
and hence we obtain for all :
| (Eq. 1) | ||||
If on the other hand (i.e. the decomposition contains only copies of odd cycles), we proceed similarly, but the best bound on the size difference between and is , which is not good enough in general. To get around this issue, we distinguish between two cases. If there exists a vertex in that is mapped to a vertex of degree in , we can make sure that there exists a copy of whose one endpoint will be mapped to a vertex in that has degree at least . We can decompose this further into an edge and a vertex of degree , and intuitively use these components to “re-balance” the sets and as above. If on the other hand all vertices in are mapped to vertices in that have degree at most , we then know that if , there is no valid solution. If on the other hand , by Lemma 3.1, we can find any such solution in time bounded by . Similarly as in previous case, for , we get that and again since , we obtain . Hence, we can bound the time complexity as
The second case for basic patterns is that the decomposition into , and as in Definition 1.1 yields . Intuitively this case is simpler than the one above, since we can use the sets to simulate , even if and “balance” the sets and . We only sketch the proof, as the details are quite similar to the ones above.
Lemma 3.8.
Let be a basic pattern and be a partition of as defined in Definition 1.1, such that . If the basic pattern has at least vertices, then there exists an algorithm solving Dominating -Pattern in time . If , this time complexity can be achieved for all basic patterns .
Proof (sketch).
Similarly as above, construct the sets and by finding a spanning subgraph of that consists of union of independent ’s and ’s and distributing the connected components as equally as possible. Clearly, we have that , and (without loss of generality) . Since , also (by definition contains no isolated vertices), hence we can distribute the edges from a perfect matching between the set and some subset of of size (such perfect matching always exists by Hall’s marriage theorem) between the sets and similarly as in previous lemma to obtain graphs . Clearly, it holds that and (without loss of generality) . We then define the graphs that consist of and isolated vertices respectively. Similarly as above, we can enumerate all subgraphs of isomorphic to in time . Also, by similar arguments as above, we have that for , the matrices are “thin enough” that rectangular matrix multiplication techniques can be used to obtain the tight running time of
3.2 Small Cliques
In this section, we deal with the remaining small patterns, i.e., the cliques of size at most 4. We note that in [30] the was already settled, so it remains to settle the cliques of size and . In particular, this section is dedicated to proving the following two main theorems.
Theorem 3.9.
For a Dominating Triangle, there exists a deterministic -time algorithm and a randomized -time algorithm.
Theorem 3.10.
There is a randomized algorithm solving -Dominating Set in time . If , this is .
We start with the simple deterministic algorithm for Dominating Triangle problem that uses a reduction to the All-Edges-Triangle-Counting problem. This problem asks for a given tripartite graph to determine, for every edge in , how many triangles in contain . It is well known that this problem can be solved in time (see e.g. [4]). We remark that any -time algorithm would refute the -SUM and the APSP Hypothesis [35, 40], giving matching lower bounds if .
Lemma 3.11 (All-Edge Triangle Counting, see [4]).
There is an algorithm solving All-Edges-Triangle-Counting in time .
By using this lemma, we are able to solve the problem in , which evaluates to if . By a more careful approach, we are able to construct a randomized algorithm that uses a bloom-filter inspired approach similar to the one in [21], to achieve , which is better whenever with current value of and if , giving us the second part of the Theorem 3.9. We remark that although this value can be slightly improved by using a more careful analysis, it seems that in order to match the lower bound, a new technique will be required. We now sketch the approach of the deterministic algorithm and give the details to both algorithms in the full version of the paper.
Proposition 3.12.
There exists a deterministic algorithm solving Dominating Triangle in time . If , this equals .
Proof (sketch).
We first guess a heavy vertex (a vertex satisfying ). We then run a breadth-first-search from and let be the obtained BFS layering. Note that for any , if is non-empty, we can conclude that there is no dominating clique that contains and we can proceed with the next choice of the heavy vertex. Otherwise, finding any dominating triangle in that contains is equivalent to finding an edge in that dominates all vertices in . For any vertex , we write . Using the principle of inclusion-exclusion, we can write . We note that for any pair of vertices the value corresponds to the number of triangles containing the edge . Hence, by employing the algorithm from Lemma 3.11, we obtain the desired time. On the other hand, by coming up with a more involved argument, we are able to construct a randomized algorithm that matches the lower bound (up to resolving the matrix multiplication exponent ) for the remaining small pattern, namely Dominating -Clique. The algorithm starts similarly as above. That is, we first guess a heavy vertex in time , and then we partition the vertices into two sets and based on the distance from and thus reduce to detecting a triangle in that dominates . We then consider two cases based on the size of . If , this turns out to be quite easy, and boils down to using standard matrix multiplication algorithms (with a bit more careful analysis). If on the other hand , we then either reduce to counting cliques (triangles and ’s) in a certain restricted setting, or use the randomized bloom-filter based approach of [21] (with a finer-grained analysis) to achieve the desired running time. This approach gives us the proof of Theorem 3.10 and we provide the detailed proof in the full version of the paper.
3.3 Handling Isolated Vertices
In the last two subsections we considered the graphs that have no isolated vertices. It remains to prove that we can obtain a tight classification even for patterns with isolated vertices. In particular, we prove the following theorem.
Theorem 3.13.
Let be any pattern graph with vertices and isolated vertices. There is a randomized algorithm that enumerates all dominating -patterns in time with high probability. If , this is .
We again consider two cases separately, namely when and . In the first (simpler) case of , we aim to reduce to the Maximal -Independent Set problem, which is known to have efficient algorithm in sparse graphs (see [30]). We enumerate all subgraphs of that correspond to the induced subgraph of that does not contain isolated vertices, and then after removing the closed neighborhood of the enumerated subgraph, we run the Maximal -Independent Set algorithm on the remaining part. By a careful analysis, we obtain the desired time. We provide a sketch of the proof here, for the full proof, see the full version of the paper.
Lemma 3.14.
Let be a pattern with isolated vertices. Then there exists a randomized algorithm solving -Dominating Set in time with high probability. If , this is equal to .
Proof (sketch).
If , then this problem is precisely the Maximal -Independent Set problem, and by [30] can be solved in the time bounded by , as desired. Hence, we may assume that (if contains at least one edge, then at least two vertices have degree ). Let and be the set of non-isolated and isolated vertices in respectively. Let be the partition of as in Definition 1.1. We can enumerate all induced subgraphs of isomorphic to in some time (the ratio of the size of this set to depends only on whether the set is empty or not). For each enumerated subgraph , we appeal to the randomized Dominating -Independent Set algorithm from [30] on the graph that runs in (depends on which vertex from is mapped to a heavy vertex). It is straightforward to see that this algorithm is correct. We conclude the proof by showing that the product of and is in all cases bounded by (see the full version of the paper for details).
Things get slightly more complicated when dealing with patterns that only have one isolated vertex. In particular, the preprocessing part of the algorithm above takes in the worst case , while for pattern graphs with only one isolated vertex, we have . To circumvent this overhead, we employ a more careful analysis and use a hashing-based approach similar to that in Section 3.2. We first provide an algorithm for two special cases of some of the smallest patterns that exhibit this structure and then the idea is to reduce any pattern to one of these special cases.
Lemma 3.15.
Let be a graph with vertices and edges, and let be a subset of vertices of . Then we can construct an algorithm that w.h.p. enumerates all choices of three vertices in time , such that the following is satisfied.
-
The vertex is contained in and satisfies .
-
Vertices and are adjacent in and both of them are non-adjacent to in (i.e. the induced subgraph is isomorphic to an edge and an isolated vertex).
-
.
Proof.
Without loss of generality, assume that . Let be such that . Assume first that . Then each vertex has degree bounded by and so, if there exists a valid triple that dominates , the size of must also be bounded by . Hence by Lemma 3.1 we can enumerate all valid triples in time , as desired.777Since vertices are adjacent, there are at most choices for this pair, and is by assumption in , and For the rest of this proof we assume that . We now proceed to enumerate all valid triples such that . To this end, we run the following routine. For each of the valid choices for the vertex , construct the tripartite graph , where corresponds to a copy of , while and each correspond to a copy of the set . The set of edges is constructed naturally, that is, for each pair for we add an edge if and only if the edge between the corresponding vertices is present in (we assume that each vertex is adjacent to itself in ). It is easy to see that for any fixed , any valid choice of corresponds precisely to a choice of and such that the following two conditions are satisfied: 1) and 2) . Now, since we are only enumerating triples where both have degrees at most , if for a fixed the set contains more than vertices, we can conclude that no pair satisfies both conditions and proceed with the next choice of . On the other hand, if , by Lemma 3.1, for any fixed , we can enumerate all the valid pairs of non-adjacent vertices that dominate in time
Repeating this for each of the possible many choices of vertex yields the desired time. It remains to enumerate the triples of vertices where . Recall also that and . Hence, since by the first condition of the Lemma, we are only interested in the triples with , if the set contains more than vertices, we can conclude that no triple satisfies . Hence, we can assume that . Let be a matrix whose rows correspond to adjacent pairs of vertices with and and whose columns correspond to the set . We set the entry to if either or are adjacent to and to otherwise. Similarly, we construct a matrix whose columns correspond to the set of vertices such that and the rows correspond to . Set the entry to if and are adjacent (we understand that each vertex is adjacent to itself) and otherwise. Notice that dominate if and only if (each vertex that is not dominated by the pair is dominated by ). Also notice that the matrix is an and is an matrix with at most non-zeros. Hence by a Lemma from [21] (see full version for details), we can enumerate with high probability all valid triples in time , as desired. We remark that we enumerate all valid triples for any fixed in the claimed time. To enumerate all the valid triples, simply run the previous algorithm times, once for each , setting . An almost identical argument as in previous lemma can also be used to show that we can efficiently enumerate the solutions that are isomorphic to .
Lemma 3.16.
Let be a graph with vertices and edges, and let be a subset of vertices of . Then we can construct an algorithm that w.h.p. enumerates all choices of vertices in time , such that the following is satisfied.
-
The vertex is contained in and satisfies .
-
Vertices form a cycle in (not necessarily induced) and is not adjacent to any of the vertices in .
-
.
The idea for any pattern with precisely one isolated vertex is to decompose the pattern into sets as in Definition 1.1, and then depending on whether the set is empty or not, we either directly reduce to the setting of Lemma 3.15, or first apply Lemma 3.4 to decompose into edges and odd cycles, and then reduce to either the setting of Lemma 3.15, or that of Lemma 3.16. For the lack of space, we give the detailed proof in the the full version of the paper.
Proposition 3.17.
Let be a pattern with one isolated vertex. Then there exists a randomized algorithm solving -Dominating Set in time .
References
- [1] Amir Abboud, Arturs Backurs, and Virginia Vassilevska Williams. If the current clique algorithms are optimal, so is Valiant’s parser. SIAM Journal on Computing, 47(6):2527–2555, 2018. doi:10.1137/16M1061771.
- [2] Josh Alman, Ran Duan, Virginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, and Renfei Zhou. More asymmetry yields faster matrix multiplication. In Yossi Azar and Debmalya Panigrahi, editors, Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025, pages 2005–2039. SIAM, 2025. doi:10.1137/1.9781611978322.63.
- [3] Noga Alon. On the number of subgraphs of prescribed type of graphs with a given number of edges. Israel Journal of Mathematics, 38(1):116–130, March 1981. doi:10.1007/BF02761855.
- [4] Noga Alon, Raphael Yuster, and Uri Zwick. Finding and counting given length cycles. Algorithmica, 17(3):209–223, 1997. doi:10.1007/BF02523189.
- [5] Alkida Balliu, Sebastian Brandt, Fabian Kuhn, and Dennis Olivetti. Distributed maximal matching and maximal independent set on hypergraphs. In Nikhil Bansal and Viswanath Nagarajan, editors, Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023, pages 2632–2676. SIAM, 2023. doi:10.1137/1.9781611977554.CH100.
- [6] Parinya Chalermsook, Marek Cygan, Guy Kortsarz, Bundit Laekhanukit, Pasin Manurangsi, Danupon Nanongkai, and Luca Trevisan. From gap-eth to fpt-inapproximability: Clique, dominating set, and more. In Chris Umans, editor, 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017, pages 743–754. IEEE Computer Society, 2017. doi:10.1109/FOCS.2017.74.
- [7] Victor Chepoi. A note on -dominating cliques. Discrete mathematics, 183(1-3):47–60, 1998. doi:10.1016/S0012-365X(97)00076-9.
- [8] Eun-Kyung Cho, Ilkyoo Choi, Hyemin Kwon, and Boram Park. A tight bound for independent domination of cubic graphs without -cycles. Journal of Graph Theory, 104(2):372–386, 2023. doi:10.1002/JGT.22968.
- [9] Eun-Kyung Cho, Ilkyoo Choi, and Boram Park. On independent domination of regular graphs. Journal of Graph Theory, 103(1):159–170, 2023. doi:10.1002/JGT.22912.
- [10] Eun-Kyung Cho, Jinha Kim, Minki Kim, and Sang-il Oum. Independent domination of graphs with bounded maximum degree. Journal of Combinatorial Theory, Series B, 158:341–352, 2023. doi:10.1016/J.JCTB.2022.10.004.
- [11] Gérard Cornuéjols and William R. Pulleyblank. Critical graphs, matching and tours or a hierarchy of relaxations for the traveling salesman problem. Comb., 3(1):35–52, 1983. doi:10.1007/BF02579340.
- [12] Margaret B Cozzens and Laura L Kelleher. Dominating cliques in graphs. Discrete Mathematics, 86(1-3):101–116, 1990. doi:10.1016/0012-365X(90)90353-J.
- [13] Mina Dalirrooyfard and Virginia Vassilevska Williams. Induced cycles and paths are harder than you think. In 63rd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2022, Denver, CO, USA, October 31 - November 3, 2022, pages 531–542. IEEE, 2022. doi:10.1109/FOCS54457.2022.00057.
- [14] Mina Dalirrooyfard, Thuy-Duong Vuong, and Virginia Vassilevska Williams. Graph pattern detection: Hardness for all induced patterns and faster noninduced cycles. SIAM J. Comput., 50(5):1627–1662, 2021. doi:10.1137/20M1335054.
- [15] Feodor F Dragan and Andreas Brandstädt. Dominating cliques in graphs with hypertree structure. In STACS 94: 11th Annual Symposium on Theoretical Aspects of Computer Science Caen, France, February 24–26, 1994 Proceedings 11, pages 735–746. Springer, 1994. doi:10.1007/3-540-57785-8_186.
- [16] Friedrich Eisenbrand and Fabrizio Grandoni. On the complexity of fixed parameter clique and dominating set. Theor. Comput. Sci., 326(1-3):57–67, 2004. doi:10.1016/J.TCS.2004.05.009.
- [17] Yibin Fang and Liming Xiong. Circumference of a graph and its distance dominating longest cycles. Discrete Mathematics, 344(2):112196, 2021. doi:10.1016/j.disc.2020.112196.
- [18] Yibin Fang and Liming Xiong. On the dominating (induced) cycles of iterated line graphs. Discrete Applied Mathematics, 325:43–51, 2023. doi:10.1016/j.dam.2022.09.025.
- [19] Jill R. Faudree, Ralph J. Faudree, Ronald J. Gould, Paul Horn, and Michael S. Jacobson. Degree sum and vertex dominating paths. J. Graph Theory, 89(3):250–265, 2018. doi:10.1002/JGT.22249.
- [20] Ralph J. Faudree, Ronald J. Gould, Michael S. Jacobson, and Douglas B. West. Minimum degree and dominating paths. J. Graph Theory, 84(2):202–213, 2017. doi:10.1002/JGT.22021.
- [21] Nick Fischer, Marvin Künnemann, and Mirza Redzic. The effect of sparsity on -dominating set and related first-order graph properties. In David P. Woodruff, editor, Proc. 2024 ACM-SIAM Symposium on Discrete Algorithms (SODA 2024), pages 4704–4727. SIAM, 2024. doi:10.1137/1.9781611977912.168.
- [22] Teresa W Haynes and Peter J Slater. Paired-domination in graphs. Networks: An International Journal, 32(3):199–206, 1998. doi:10.1002/(SICI)1097-0037(199810)32:3\%3C199::AID-NET4\%3E3.0.CO;2-F.
- [23] Karthik C. S. and Subhash Khot. Almost polynomial factor inapproximability for parameterized k-clique. In Shachar Lovett, editor, 37th Computational Complexity Conference, CCC 2022, July 20-23, 2022, Philadelphia, PA, USA, volume 234 of LIPIcs, pages 6:1–6:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPICS.CCC.2022.6.
- [24] Karthik C. S., Bundit Laekhanukit, and Pasin Manurangsi. On the parameterized complexity of approximating dominating set. J. ACM, 66(5):33:1–33:38, 2019. doi:10.1145/3325116.
- [25] Ton Kloks, Dieter Kratsch, and Haiko Müller. Finding and counting small induced subgraphs efficiently. Inf. Process. Lett., 74(3-4):115–121, 2000. doi:10.1016/S0020-0190(00)00047-8.
- [26] Ekkehard Köhler. Connected domination and dominating clique in trapezoid graphs. Discret. Appl. Math., 99(1-3):91–110, 2000. doi:10.1016/S0166-218X(99)00127-4.
- [27] Dieter Kratsch. Finding dominating cliques efficiently, in strongly chordal graphs and undirected path graphs. Discrete mathematics, 86(1-3):225–238, 1990. doi:10.1016/0012-365X(90)90363-M.
- [28] Dieter Kratsch, Peter Damaschke, and Anna Lubiw. Dominating cliques in chordal graphs. Discrete Mathematics, 128(1-3):269–275, 1994. doi:10.1016/0012-365X(94)90118-X.
- [29] Kirsti Kuenzel and Douglas F Rall. On independent domination in direct products. Graphs and Combinatorics, 39(1):7, 2023. doi:10.1007/S00373-022-02600-0.
- [30] Marvin Künnemann and Mirza Redzic. Fine-grained complexity of multiple domination and dominating patterns in sparse graphs. In Édouard Bonnet and Pawel Rzazewski, editors, Proc. 19th International Symposium on Parameterized and Exact Computation (IPEC 2024), volume 321 of LIPIcs, pages 9:1–9:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS.IPEC.2024.9.
- [31] Bingkai Lin, Xuandi Ren, Yican Sun, and Xiuhan Wang. Improved hardness of approximating k-clique under ETH. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 285–306. IEEE, 2023. doi:10.1109/FOCS57990.2023.00025.
- [32] Dániel Marx. Can you beat treewidth? Theory Comput., 6(1):85–112, 2010. doi:10.4086/TOC.2010.V006A005.
- [33] Jaroslav Nešetřil and Svatopluk Poljak. On the complexity of the subgraph problem. Commentationes Mathematicae Universitatis Carolinae, 26(2):415–419, 1985.
- [34] Shiwei Pan, Yiming Ma, Yiyuan Wang, Zhiguo Zhou, Jinchao Ji, Minghao Yin, and Shuli Hu. An improved master-apprentice evolutionary algorithm for minimum independent dominating set problem. Frontiers of Computer Science, 17(4):174326, 2023. doi:10.1007/S11704-022-2023-7.
- [35] Mihai Pătraşcu. Towards polynomial lower bounds for dynamic problems. In Leonard J. Schulman, editor, Proceedings of the 42nd ACM Symposium on Theory of Computing, STOC 2010, Cambridge, Massachusetts, USA, 5-8 June 2010, pages 603–610. ACM, 2010. doi:10.1145/1806689.1806772.
- [36] Mihai Pătraşcu and Ryan Williams. On the possibility of faster SAT algorithms. In Moses Charikar, editor, Proc. 21st Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2010), pages 1065–1075. SIAM, 2010. doi:10.1137/1.9781611973075.86.
- [37] Justin Southey and Michael A Henning. A characterization of graphs with disjoint dominating and paired-dominating sets. Journal of combinatorial optimization, 22(2):217–234, 2011. doi:10.1007/S10878-009-9274-1.
- [38] Daniel S Studer, Teresa W Haynes, and Linda M Lawson. Induced-paired domination in graphs. Ars Combinatoria, 57:111–128, 2000.
- [39] Virginia Vassilevska Williams, Joshua R. Wang, Richard Ryan Williams, and Huacheng Yu. Finding four-node subgraphs in triangle time. In Piotr Indyk, editor, Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA, January 4-6, 2015, pages 1671–1680. SIAM, 2015. doi:10.1137/1.9781611973730.111.
- [40] Virginia Vassilevska Williams and Yinzhan Xu. Monochromatic triangles, triangle listing and APSP. In Sandy Irani, editor, 61st IEEE Annual Symposium on Foundations of Computer Science, FOCS 2020, Durham, NC, USA, November 16-19, 2020, pages 786–797. IEEE, 2020. doi:10.1109/FOCS46700.2020.00078.
- [41] Virginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, and Renfei Zhou. New bounds for matrix multiplication: from alpha to omega. In David P. Woodruff, editor, Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024, pages 3792–3835. SIAM, 2024. doi:10.1137/1.9781611977912.134.
- [42] Henk Jan Veldman. Existence of dominating cycles and paths. Discret. Math., 43(2-3):281–296, 1983. doi:10.1016/0012-365X(83)90165-6.
