Dominating set

From HandWiki
Revision as of 19:57, 6 February 2024 by DanMescoff (talk | contribs) (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Subset of a graph's nodes such that all other nodes link to at least one


Three dominating sets of the same graph (in red). The domination number of this graph is 2: (b) and (c) show that there is a dominating set with 2 vertices, and there is no dominating set with only 1 vertex.

In graph theory, a dominating set for a graph G is a subset D of its vertices, such that any vertex of G is either in D, or has a neighbor in D. The domination number γ(G) is the number of vertices in a smallest dominating set for G.

The dominating set problem concerns testing whether γ(G) ≤ K for a given graph G and input K; it is a classical NP-complete decision problem in computational complexity theory.[1] Therefore it is believed that there may be no efficient algorithm that can compute γ(G) for all graphs G. However, there are efficient approximation algorithms, as well as efficient exact algorithms for certain graph classes.

Dominating sets are of practical interest in several areas. In wireless networking, dominating sets are used to find efficient routes within ad-hoc mobile networks. They have also been used in document summarization, and in designing secure systems for electrical grids.

Formal definition

Given an undirected graph G = (V, E), a subset of vertices [math]\displaystyle{ D\subseteq V }[/math] is called a dominating set if for every vertex [math]\displaystyle{ u\in V\setminus D }[/math], there is a vertex [math]\displaystyle{ v\in D }[/math] such that [math]\displaystyle{ (u,v)\in E }[/math].

Every graph has at least one dominating set: if [math]\displaystyle{ D=V= }[/math] the set of all vertices, then by definition D is a dominating set, since there is no vertex [math]\displaystyle{ u\in V\setminus D }[/math]. A more interesting challenge is to find small dominating sets. The domination number of G is defined as: [math]\displaystyle{ \gamma(G) := \min \{|D| : D \text{ is a dominating set of } G \} }[/math].

Variants

A connected dominating set is a dominating set that is also connected. If S is a connected dominating set, one can form a spanning tree of G in which S forms the set of non-leaf vertices of the tree; conversely, if T is any spanning tree in a graph with more than two vertices, the non-leaf vertices of T form a connected dominating set. Therefore, finding minimum connected dominating sets is equivalent to finding spanning trees with the maximum possible number of leaves.

A total dominating set (or strongly-dominating set) is a set of vertices such that all vertices in the graph, including the vertices in the dominating set themselves, have a neighbor in the dominating set.[2] That is: for every vertex [math]\displaystyle{ u\in V }[/math], there is a vertex [math]\displaystyle{ v\in D }[/math] such that [math]\displaystyle{ (u,v)\in E }[/math]. Figure (c) above shows a dominating set that is a connected dominating set and a total dominating set; the examples in figures (a) and (b) are neither. In contrast to a simple dominating set, a total dominating set may not exist. For example, a graph with one or more vertices and no edges does not have a total dominating set. The strong domination number of G is defined as: [math]\displaystyle{ \gamma^{strong}(G) := \min \{|D| : D \text{ is a strongly-dominating set of } G \} }[/math]; obviously, [math]\displaystyle{ \gamma^{strong}(G) \geq \gamma(G) }[/math].

A dominating edge-set is a set of edges (vertex pairs) whose union is a dominating set; such a set may not exist (for example, a graph with one or more vertices and no edges does not have it). If it exists, then the union of all its edges is a strongly-dominating set. Therefore, the smallest size of an edge-dominating set is at least [math]\displaystyle{ \gamma^{strong}(G) /2 }[/math].

In contrast, an edge-dominating set is a set D of edges, such that every edge not in D is adjacent to at least one edge in D; such a set always exists (for example, the set of all edges is an edge-dominating set).

A k-dominating set is a set of vertices such that each vertex not in the set has at least k neighbors in the set (a standard dominating set is a 1-dominating set). Similarly, a k-tuple dominating set is a set of vertices such that each vertex in the graph has at least k neighbors in the set (a total dominating set is a 1-tuple dominating set). An (1 + log n)-approximation of a minimum k-tuple dominating set can be found in polynomial time.[3] Every graph admits a k-dominating set (for example, the set of all vertices); but only graphs with minimum degree k − 1 admit a k-tuple dominating set. However, even if the graph admits k-tuple dominating set, a minimum k-tuple dominating set can be nearly k times as large as a minimum k-dominating set for the same graph;[4] An (1.7 + log Δ)-approximation of a minimum k-dominating set can be found in polynomial time as well.

A star-dominating set is a subset D of V such that, for every vertex v in V, the star of v (the set of edges adjacent to v) intersects the star of some vertex in D. Clearly, if G has isolated vertices then it has no star-dominating sets (since the star of isolated vertices is empty). If G has no isolated vertices, then every dominating set is a star-dominating set and vice versa. The distinction between star-domination and usual domination is more substantial when their fractional variants are considered.[5]

A domatic partition is a partition of the vertices into disjoint dominating sets. The domatic number is the maximum size of a domatic partition.

An eternal dominating set is a dynamic version of domination in which a vertex v in dominating set D is chosen and replaced with a neighbor u (u is not in D) such that the modified D is also a dominating set and this process can be repeated over any infinite sequence of choices of vertices v.

Dominating and independent sets

Dominating sets are closely related to independent sets: an independent set is also a dominating set if and only if it is a maximal independent set, so any maximal independent set in a graph is necessarily also a minimal dominating set.

Domination by independent sets

A dominating set may or may not be an independent set. For example, figures (a) and (b) above show independent dominating sets, while figure (c) illustrates a dominating set that is not an independent set.

The independent domination number i(G) of a graph G is the size of the smallest dominating set that is an independent set. Equivalently, it is the size of the smallest maximal independent set. The minimum in i(G) is taken over less elements (only the independent sets are considered), so γ(G) ≤ i(G) for all graphs G.

The inequality can be strict - there are graphs G for which γ(G) < i(G). For example, let G be the double star graph consisting of vertices [math]\displaystyle{ x_1, \ldots, x_p, a, b, y_1, \ldots, y_q }[/math], where p, q > 1. The edges of G are defined as follows: each xi is adjacent to a, a is adjacent to b, and b is adjacent to each yj. Then γ(G) = 2 since {a, b} is a smallest dominating set. If pq, then i(G) = p + 1 since [math]\displaystyle{ \{x_1, \ldots, x_p, b\} }[/math] is a smallest dominating set that is also independent (it is a smallest maximal independent set).

There are graph families in which γ(G) = i(G), that is, every minimum maximal independent set is a minimum dominating set. For example, γ(G) = i(G) if G is a claw-free graph.[6]

A graph G is called a domination-perfect graph if γ(H) = i(H) in every induced subgraph H of G. Since an induced subgraph of a claw-free graph is claw-free, it follows that every claw-free graphs is also domination-perfect.[7]

For any graph G, its line graph L(G) is claw-free, and hence a minimum maximal independent set in L(G) is also a minimum dominating set in L(G). An independent set in L(G) corresponds to a matching in G, and a dominating set in L(G) corresponds to an edge dominating set in G. Therefore a minimum maximal matching has the same size as a minimum edge dominating set.

Domination of independent sets

The independence domination number (G) of a graph G is the maximum, over all independent sets A of G, of the smallest set dominating A.[8] Dominating subsets of vertices requires potentially less vertices than dominating all vertices, so (G) ≤ γ(G) for all graphs G.

The inequality can be strict - there are graphs G for which (G) < γ(G). For example, for some integer n, let G be a graph in which the vertices are the rows and columns of an n-by-n board, and two such vertices are connected if and only if they intersect. The only independent sets are sets of only rows or sets of only columns, and each of them can be dominated by a single vertex (a column or a row), so (G) = 1. However, to dominate all vertices we need at least one row and one column, so γ(G) = 2. Moreover, the ratio between γ(G) / (G) can be arbitrarily large. For example, if the vertices of G are all the subsets of squares of an n-by-n board, then still (G) = 1, but γ(G) = n.[8]

The bi-independent domination number iγi(G) of a graph G is the maximum, over all independent sets A of G, of the smallest independent set dominating A. The following relations hold for any graph G: [math]\displaystyle{ \begin{align} i(G)&\geq \gamma (G) \geq i\gamma(G) \\ i(G)&\geq i\gamma i(G) \geq i\gamma(G) \end{align} }[/math]

History

The domination problem was studied from the 1950s onwards, but the rate of research on domination significantly increased in the mid-1970s. In 1972, Richard Karp proved the set cover problem to be NP-complete. This had immediate implications for the dominating set problem, as there are straightforward vertex to set and edge to non-disjoint-intersection bijections between the two problems. This proved the dominating set problem to be NP-complete as well.[9]

Algorithms and computational complexity

The set cover problem is a well-known NP-hard problem – the decision version of set covering was one of Karp's 21 NP-complete problems. There exist a pair of polynomial-time L-reductions between the minimum dominating set problem and the set cover problem.[10] These reductions (see below) show that an efficient algorithm for the minimum dominating set problem would provide an efficient algorithm for the set cover problem, and vice versa. Moreover, the reductions preserve the approximation ratio: for any α, a polynomial-time α-approximation algorithm for minimum dominating sets would provide a polynomial-time α-approximation algorithm for the set cover problem and vice versa. Both problems are in fact Log-APX-complete.[11]

The approximability of set covering is also well understood: a logarithmic approximation factor can be found by using a simple greedy algorithm, and finding a sublogarithmic approximation factor is NP-hard. More specifically, the greedy algorithm provides a factor 1 + log|V| approximation of a minimum dominating set, and no polynomial time algorithm can achieve an approximation factor better than c log|V| for some c > 0 unless P = NP.[12]

L-reductions

The following two reductions show that the minimum dominating set problem and the set cover problem are equivalent under L-reductions: given an instance of one problem, we can construct an equivalent instance of the other problem.[10]

From dominating set to set covering

Given a graph G = (V, E) with V = {1, 2, ..., n}, construct a set cover instance (U, S) as follows: the universe U is V, and the family of subsets is S = {S1, S2, ..., Sn} such that Sv consists of the vertex v and all vertices adjacent to v in G.

Now if D is a dominating set for G, then C = {Sv : vD} is a feasible solution of the set cover problem, with |C| = |D|. Conversely, if C = {Sv : vD} is a feasible solution of the set cover problem, then D is a dominating set for G, with |D| = |C|.

Hence the size of a minimum dominating set for G equals the size of a minimum set cover for (U, S). Furthermore, there is a simple algorithm that maps a dominating set to a set cover of the same size and vice versa. In particular, an efficient α-approximation algorithm for set covering provides an efficient α-approximation algorithm for minimum dominating sets.

Dominating-set-2.svg
For example, given the graph G shown on the right, we construct a set cover instance with the universe U = {1, 2, ..., 6} and the subsets S1 = {1, 2, 5}, S2 = {1, 2, 3, 5}, S3 = {2, 3, 4, 6}, S4 = {3, 4}, S5 = {1, 2, 5, 6}, and S6 = {3, 5, 6}. In this example, D = {3, 5} is a dominating set for G – this corresponds to the set cover C = {S3, S5}. For example, the vertex 4 ∈ V is dominated by the vertex 3 ∈ D, and the element 4 ∈ U is contained in the set S3C.

From set covering to dominating set

Let (S, U) be an instance of the set cover problem with the universe U and the family of subsets S = {Si : iI}; we assume that U and the index set I are disjoint. Construct a graph G = (V, E) as follows: the set of vertices is V = IU, there is an edge {i, j} ∈ E between each pair i, jI, and there is also an edge {i, u} for each iI and uSi. That is, G is a split graph: I is a clique and U is an independent set.

Now if C = {Si : iD} is a feasible solution of the set cover problem for some subset DI, then D is a dominating set for G, with |D| = |C|: First, for each uU there is an iD such that uSi, and by construction, u and i are adjacent in G; hence u is dominated by i. Second, since D must be nonempty, each iI is adjacent to a vertex in D.

Conversely, let D be a dominating set for G. Then it is possible to construct another dominating set X such that |X| ≤ |D| and XI: simply replace each uDU by a neighbour iI of u. Then C = {Si : iX} is a feasible solution of the set cover problem, with |C| = |X| ≤ |D|.

Dominating-set-reduction.svg
The illustration on the right show the construction for U = {a, b, c, d, e}, I = {1, 2, 3, 4}, S1 = {a, b, c}, S2 = {a, b}, S3 = {b, c, d}, and S4 = {c, d, e}.
In this example, C = {S1, S4} is a set cover; this corresponds to the dominating set D = {1, 4}.
D = {a, 3, 4} is another dominating set for the graph G. Given D, we can construct a dominating set X = {1, 3, 4} which is not larger than D and which is a subset of I. The dominating set X corresponds to the set cover C = {S1, S3, S4}.

Special cases

If the graph has maximum degree Δ, then the greedy approximation algorithm finds an O(log Δ)-approximation of a minimum dominating set. Also, let dg be the cardinality of dominating set obtained using greedy approximation then following relation holds, [math]\displaystyle{ d_g \le N+1 - \sqrt{2M+1} }[/math], where N is number of nodes and M is number of edges in given undirected graph.[13] For fixed Δ, this qualifies as a dominating set for APX membership; in fact, it is APX-complete.[14]

The problem admits a polynomial-time approximation scheme (PTAS) for special cases such as unit disk graphs and planar graphs.[15] A minimum dominating set can be found in linear time in series–parallel graphs.[16]

Exact algorithms

A minimum dominating set of an n-vertex graph can be found in time O(2nn) by inspecting all vertex subsets. (Fomin Grandoni) show how to find a minimum dominating set in time O(1.5137n) and exponential space, and in time O(1.5264n) and polynomial space. A faster algorithm, using O(1.5048n) time was found by (van Rooij Nederlof), who also show that the number of minimum dominating sets can be computed in this time. The number of minimal dominating sets is at most 1.7159n and all such sets can be listed in time O(1.7159n).[17]

Parameterized complexity

Finding a dominating set of size k plays a central role in the theory of parameterized complexity. It is the most well-known problem complete for the class W[2] and used in many reductions to show intractability of other problems. In particular, the problem is not fixed-parameter tractable in the sense that no algorithm with running time f(k)nO(1) for any function f exists unless the W-hierarchy collapses to FPT=W[2].

On the other hand, if the input graph is planar, the problem remains NP-hard, but a fixed-parameter algorithm is known. In fact, the problem has a kernel of size linear in k,[18] and running times that are exponential in k and cubic in n may be obtained by applying dynamic programming to a branch-decomposition of the kernel.[19] More generally, the dominating set problem and many variants of the problem are fixed-parameter tractable when parameterized by both the size of the dominating set and the size of the smallest forbidden complete bipartite subgraph; that is, the problem is FPT on biclique-free graphs, a very general class of sparse graphs that includes the planar graphs.[20]

The complementary set to a dominating set, a nonblocker, can be found by a fixed-parameter algorithm on any graph.[21]

See also

Notes

  1. Garey & Johnson (1979).
  2. West (2001), Section 3.1.
  3. Klasing & Laforest (2004).
  4. Förster (2013).
  5. Meshulam, Roy (2003-05-01). "Domination numbers and homology" (in en). Journal of Combinatorial Theory, Series A 102 (2): 321–330. doi:10.1016/S0097-3165(03)00045-1. ISSN 0097-3165. 
  6. Allan & Laskar (1978).
  7. Faudree, Flandrin & Ryjáček (1997).
  8. 8.0 8.1 Aharoni, Ron; Berger, Eli; Ziv, Ran (2007-05-01). "Independent systems of representatives in weighted graphs" (in en). Combinatorica 27 (3): 253–267. doi:10.1007/s00493-007-2086-y. ISSN 1439-6912. 
  9. Hedetniemi & Laskar (1990).
  10. 10.0 10.1 Kann (1992), pp. 108–109.
  11. Escoffier & Paschos (2006).
  12. Raz & Safra (1997).
  13. Parekh (1991).
  14. Papadimitriou & Yannakakis (1991).
  15. Crescenzi et al. (2000).
  16. Takamizawa, Nishizeki & Saito (1982).
  17. Fomin et al. (2008).
  18. Alber, Fellows & Niedermeier (2004).
  19. Fomin & Thilikos (2006).
  20. Telle & Villanger (2012).
  21. Dehne et al. (2006).

References

Further reading