• 沒有找到結果。

Algorithmic aspect of stratified domination in graphs

N/A
N/A
Protected

Academic year: 2022

Share "Algorithmic aspect of stratified domination in graphs"

Copied!
10
0
0

加載中.... (立即查看全文)

全文

(1)

PREPRINT

國立臺灣大學 數學系 預印本 Department of Mathematics, National Taiwan University

www.math.ntu.edu.tw/ ~ mathlib/preprint/2012- 02.pdf

Algorithmic aspect of stratified domination in graphs

Gerard Jennhwa Chang, Chan-Wei Changd, David Kuod, and Sheung- Hung Poon

March 21, 2012

(2)

Algorithmic aspect of

stratified domination in graphs

Gerard Jennhwa Chang

abc∗

Chan-Wei Chang

d†

David Kuo

d‡

Sheung-Hung Poon

aDepartment of Mathematics, National Taiwan University, Taipei 10617, Taiwan

bTaida Institute for Mathematical Sciences, National Taiwan University, Taipei 10617, Taiwan

cNational Center for Theoretical Sciences, Taipei Office, Taiwan

dDepartment of Applied Mathematics, National Dong Hwa University, Hualien 97401, Taiwan

eDepartment of Computer Science, National Tsing Hua University, Hsinchu, Taiwan

March 21, 2012

Abstract

Chartrand, Haynes, Henning and Zhang introduced a variation of domina- tion called stratified domination in graphs. This paper studies stratified domi- nation from an algorithmic point of view. A 2-stratified (or black-white) graph is a graph in which every vertex is colored black or white. Given a black-white graph F rooted at a white vertex v, an F-coloring coloring of a graph G is a black-white coloring of V(G) for which every white vertex v of G belongs to a copy of F (not necessarily induced in G) rooted at v. An F-dominating set of G is the set of all black vertices in an F-coloring. The F-domination number γF(G) of G is the minimum cardinality of an F-dominating set. We consider the 3-vertex black-white graph F3rooted at a white vertex v adjacent to another white ver- tex u, which adjacent to a black vertex w. We prove that the F3-domination problem is NP-complete for bipartite graphs, for planar graphs and for chordal graphs. We also give a linear-time algorithm for the F3-domination problem in trees.

Keywords: k-stratified graph, domination, F-domination, NP-complete, bipar- tite graph, planar graph, chordal graph, tree.

E-mail: gjchang@math.ntu.edu.tw. Supported in part by the National Science Council under grant NSC98-2115-M-002-013-MY3.

E-mail:d9411001@ems.ndhu.edu.tw.

E-mail:davidk@mail.am.ndhu.edu.tw. Supported in part by the National Science Council under grant NSC97-2115-M-259-002-MY3.

§E-mail: spoon@cs.nthu.edu.tw. Supported in part by the National Science Council under grants NSC97-2221-E-007-054-MY3 and NSC99-2218-E-007-016.

(3)

1 Introduction

The study of combining stratification and domination in graphs was started by Char- trand, Haynes, Henning and Zhang [5]. A k-stratified graph is a graph G together with a partition of its vertex set V(G) into k nonempty subsets, called strata or color classes. In this paper, we use black and white for colors in 2-stratified graphs.

Rashidi [22] studied a number of problems involving stratified graphs; while dis- tance in stratified graphs was investigated in [2, 3, 6].

In a graph G, a vertex v dominates itself and all neighbors which are vertices adjacent to v. A dominating set of G is a subset D⊆ V(G) for which every vertex of V(G)\ D is dominated by some neighbor in D. The domination number γ(G) is the minimum cardinality of a dominating set of G. A γ-set of G is a dominating set of cardinality γ(G). Domination in graphs and its variations have been well studied in the literature, see the books by Haynes, Hedetniemi and Slater [15, 16].

Among the variations of domination, we mention three. A total dominating set of G is a subset D ⊆ V(G) for which every vertex of V(G) is dominated by some neighbor in D. A restrained dominating set of G is a subset D ⊆ V(G) for which every vertex of V(G)\D is dominated by some neighbor in D and by some neighbor not in D. A k-dominating set is a subset D⊆ V(G) for which every vertex of V(G)\D is dominated by at least k neighbors in D. The total domination number γt(G), the restrained domination number γr(G) and the k-domination numbers γk(G) are the minimum cardinality of a total dominating set, a restrained dominating set and a k-dominating set, respectively. Total domination in graphs was introduced by Cock- ayne, Dawes and Hedetniemi [7], restrained domination by Telle and Proskurowski [23] and k-domination by Fink and Jacobson [8].

In [5] a new framework for studying domination was presented. Suppose F is a 2-stratified graph with a specified white vertex v, called the root of F. An F-coloring of a graph G is a black-white coloring of V(G) for which every white vertex v of G belongs to a copy of F (not necessarily induced in G) rooted at v. An F-dominating set of G is the set of all black vertices in an F-coloring. The F-domination number γF(G) of G is the minimum cardinality of an F-dominating set. If G has no copy of F, then γF(G) = |V(G)|. A γF-set is a γF-dominating set of cardinality γF(G). See [4, 10, 11, 12, 13, 14, 18, 19, 20, 21] for further study and [17] for a survey on F-domination.

An equivalent definition for F-domination is as follows. A subset D ⊆ V(G) corresponds to a black-white coloring fD of G for which D is the set of all black vertices. For the subset D, a vertex v of G is F-dominated itself and a black vertex in a copy of F rooted at v in G using the black-white coloring fD. Using this new term, an F-dominating set of G is then a subset D⊆ V(G) for which every vertex of

(4)

V(G)\ D is F-dominated by some vertex of D.

If F0 is a K2 rooted at a white vertex v adjacent to a black vertex, then F0- domination is the same as the usual domination. Hence, γF0(G) = γ(G). For the case when F is a P3, there are five 2-stratified graphs, see Figure 1.

ve

u

u

F1

ve

u

e

F2

ve

e

u

F3

ve







DD DD u DDe

F4

ve







DD DD u DDu

F5

Figure 1: The five 2-stratified graphs P3.

It was proved in [5] that for any connected graph G of at least three vertices, γF1 = γt(G), γF2 = γ(G), γF4 = γr(G) and γF5 = γ2(G). The parameter γF3

appears to be new. It then was studied in the literature. All the results so far are on upper and lower bounds and exact values for special graphs. The attempt of this paper is to study F3-domination from an algorithmic point of view. In particular, we prove that the F3-domination problem is NP-complete for bipartite graphs, for planar graphs and for chordal graphs. We also give a linear-time algorithm for the F3-domination problem in trees.

We remark that a subset D ⊆ V(G) is an F3-dominating set of G if every vertex v∈ V(G) \ D is dominated by some vertex u ∈ V(G) \ D and u in turn is dominated by some vertex w∈ D.

2 NP-completeness for the F

3

-domination problem

This section proves that the F3-domination problem is NP-complete on bipartite graphs, planar graphs and chordal graphs.

Theorem 1 The F3-domination problem is NP-complete on bipartite graphs and pla- nar graphs.

Proof. It is clear that the F3-domination problem is in NP. We shall show that the F3-domination problem is NP-hard on bipartite graphs (respectively, planar graphs) by reducing the vertex cover problem to it. For a given graph G, the vertex cover problem asks for a vertex cover, which is a subset C⊆ V(G) for which every edge of G has at least one end vertex in C, of size at most k in G. We may assume that

(5)

G has no isolated vertex. Let V(G) = {v1, v2, . . . , vn}. In the reduction, a bipartite graph G is constructed from G as follows. (In the case of G is planar, G is also planar.) For each edge e ={vi, vj} of G with i < j, we create a representative vertex ue and replace the edge e by a 2-path (vi, ue, vj). We further connect ue to a new degree-1 vertex xe and a new 5-path (pe, qe, re, se, te), see Figure 2.

e

vie ee vj

e

G

e

b b b b b b b

vie

xbe bue pbe qbe rbe sbe tbe vj e

b b b b b b b

e

G

Figure 2: The graph G constructed from G.

We claim that G has a vertex cover of size at most k if and only if G has an F3-dominating set of size at most k + 2|E(G)|.

Suppose that G has a vertex cover C of size at most k. Consider the vertex set D = C∪ {qe, te: e ∈ E(G)} in G. First, |D| = |C| + 2|E(G)| 6 k + 2|E(G)|. Next, for each e ∈ E(G), we have that re, se and ue are F3-dominated by te, qe and qe, respectively. Also for each e ∈ E(G), since C is a vertex cover, e has an end vertex in C which F3-dominates xe and pe. Finally, each vertex x ∈ V(G) is in an edge e and so one of its end vertices is in C and F3-dominates x. These show that D is an F3-dominating set of Gof size at most k + 2|E(G)|.

Conversely, suppose that G has an F3-dominating set D of size at most k + 2|E(G)|. Let C = (D ∩ V(G)) ∪ {vi: e = {vi, vj}, i < j, D ∩ {xe, pe} ̸= ∅}. For each e∈ E(G), since D contains at least two vertices in {qe, re, se, te}, it is the case that

|C| 6 k. Next, consider any edge e = {vi, vj} of G. Since xe is F-dominated by xe, pe, vi or vj, at least one of vi, vj is in C. These prove that C is a vertex cover of G of size at most k.

The NP-completeness of the F3-domination problem on bipartite (respectively, planar) graphs then follows from the NP-completeness of the vertex cover problem

on general (respectively, planar) graphs. 

Theorem 2 The F3-domination problem is NP-complete on chordal graphs.

Proof. It is clear that the F3-domination problem is in NP. We shall show that the F3-domination problem is NP-hard on chordal graphs by reducing the domination problem on chordal graphs to it. For a given chordal graph G, the domination

(6)

problem asks for a dominating set of size at most k in G. In the reduction, a chordal graph G is constructed from G as follows. For each vertex v of G, we create two new adjacent vertices vand v′′both adjacent to v. For each edge e ={u, v} of G, we create two new adjacent vertices ue and ve both adjacent to u and v, see Figure 3.

e

ue ee v

e

G

e b```b b

HHHb

@u@e b```b

uebHHHb@ve

@e

e bv

```bv′′

bv

HHHb

@@e b```b

G

Figure 3: The graph G constructed from G.

We claim that G has a dominating set of size at most k if and only if G has an F3-dominating set of size at most k.

Suppose that G has a dominating set D of size at most k. We shall check that D is an F3-dominating set of G. We first consider v and v′′ for v ∈ V(G). If v ∈ D, then vand v′′are F3-dominated by v. If v /∈ D, then it is dominated by some u ∈ D, which F3-dominates v and v′′. We next consider ue and ve for e = {u, v} ∈ E(G).

Since v∈ D or v /∈ D but is dominated by a neighbor w, one of them F3-dominates ue and ve. Finally, each v ∈ V(G) is dominated by v or a neighbor w, so one of them F3-dominates v. These show that D is an F3-dominating set of G.

Conversely, suppose that G has an F3-dominating set D of size at most k. Let D ={v: {v, v, v′′, ve: v∈ e} ∩ D ̸= ∅}. Then |D| 6 |D| 6 k. We shall check that D is a dominating set of G. For any vertex v ∈ V(G) \ D, we have that v, v, v′′, ve ∈ D/ and so v is F3-dominated by a neighbor u or ue of v. Then u∈ D and dominates v.

Hence, D is a dominating set of G of size at most k.

The NP-completeness of the F3-domination problem on chordal graphs then fol- lows from the NP-completeness of the domination problem on chordal graphs.  While the domination problem is NP-complete on split graphs, the F3-domination problem is polynomially solvable for split graphs, which are graphs whose vertex set can be partitioned into a stable set and a clique.

(7)

3 Algorithm for trees

This section establishes a linear-time algorithm for the F3-domination problem on trees by using a dynamic algorithm.

In a graph G, a subset D⊆ V(G) F3-dominates another subset S⊆ V(G) if every vertex v∈ S \ D is F-dominated by some vertex u ∈ D.

We consider the graph G rooted at a specified vertex v and denote it by Gv. The composition of two disjoint rooted graphs Gv and Hu is the graph Gv⊕ Hu rooted at v obtained from the union of Gv and Hu by adding an edge{v, u}, see Figure 4.

Iv

u u

u u

uu



 BB

BBB

Hu

vu



 BB

BBB PPPPP

Gv

Figure 4: Iv = Gv⊕ Hu.

A tee can be obtained from isolated vertices by a sequences of the⊕ operations.

Hence, to establish an algorithm for trees, we only need to establish formula for γF3(Gv ⊕ Hu) in terms of γF3(Gv) and γF3(Hu). To do so, we in fact solve more variant problems with boundary conditions. More precisely, we consider γF3(Gv, ij) for ij ∈ {1, 0, 0, 11, 10, 01, 01, 00, 00, 00, 00}, where i ∈ {1, 0, 0} and j ∈ {1, 0, 0, NIL}. An ij-F3-dominating set of a rooted graph Gv is a subset D ⊆ V(G) satisfying the following three conditions. Recall that N(v) is the set of all neighbors of v and N[v] ={v} ∪ N(v). We write NG(v) and NG[v] when the graph G is relevant.

C1. v∈ D when i ∈ {1, 1} and v /∈ D when i ∈ {0, 0}.

C2. N(v)∩ D ̸= ∅ when j ∈ {1, 1} and N(v) ∩ D = ∅ when j ∈ {0, 0}.

C3. D F3-dominates S, where S = V(G)\ N[v] for ij = 00, S = V(G) \ N(v) for i ̸= 0 but j = 0, S = V(G) \ {v} for i = 0 but j ̸= 0, and S = V(G) otherwise.

Notice that we don’t need to consider 1j, 01 or 01 as it in fact is the same as 1j, 01 or 01, respectively. We also don’t need 11 and 10 in the recursive formula. The ij-F3-domination number γF3(G, ij) of a rooted graph Gv is the minimum cardinality of an ij-F3-dominating set.

(8)

Theorem 3 If Gv and Hu are two disjoint rooted trees whose composition is Iv, then the following holds.

(1) γF3(Iv) =min{γF3(Iv, 1), γF3(Iv, 0)}.

(2) γF3(Iv, i) = min{γF3(Iv, i1), γF3(Iv, i0)} for i ∈ {1, 0, 0}.

(3) γF3(Iv, 11) = min{γF3(Gv, 11) + γF3(Hu, 1), γF3(Gv, 11) + γF3(Hu, 01), γF3(Gv, 11) + γF3(Hu, 00), γF3(Gv, 10) + γF3(Hu, 1)}.

(4) γF3(Iv, 10) = min{γF3(Gv, 10) + γF3(Hu, 01), γF3(Gv, 10) + γF3(Hu, 00)}.

(5) γF3(Iv, 01) = min{γF3(Gv, 01) + γF3(Hu, 1), γF3(Gv, 00) + γF3(Hu, 1), γF3(Gv, 01) + γF3(Hu, 01), γF3(Gv, 01) + γF3(Hu, 00)}.

(6) γF3(Iv, 01) = min{γF3(Gv, 01) + γF3(Hu, 1), γF3(Gv, 00) + γF3(Hu, 1), γF3(Gv, 01) + γF3(Hu, 0)}.

(7) γF3(Iv, 0j) = min{γF3(Gv, 0j) + γF3(Hu, j1), γF3(Gv, 0j) + γF3(Hu, j0)} for j ∈ {0, 0}.

(8) γF3(Iv, 0j) = γF3(Gv, 0j) + γF3(Hu, j) for j∈ {0, 0}.

Proof. (1) and (2) are obvious. In the proofs of the following cases, we write a subset D⊆ V(Iv)as the union D∪ D′′, where D ⊆ V(Gv)and D′′⊆ V(Hu).

(3) For v∈ D and NIv(v)∩D ̸= ∅, there are four cases: v ∈ Dand NGv(v)∩D ̸=

∅ with u ∈ D′′; v ∈ D and NGv(v)∩ D ̸= ∅ with u /∈ D′′ and NHu(u)∩ D′′ ̸= ∅;

v ∈ D and NGv(v)∩ D ̸= ∅ with NHu[u]∩ D′′ = ∅; v ∈ D and NGv(v)∩ D = with u∈ D′′. The formula then follows from that D is a 11-F3-dominating set of Iv

if and only if D is a 11-F3-dominating set of Gv with D′′ a 1-F3-dominating set of Hu, or Dis a 11-F3-dominating set of Gv with D′′a 01-F3-dominating set of Hu, or D is a 11-F3-dominating set of Gv with D′′ a 00-F3-dominating set of Hu, or D is a 10-F3-dominating set of Gv with D′′ a 1-F3-dominating set of Hu.

(4) For v∈ D and NIv(v)∩D = ∅, there are two cases: v ∈ Dand NGv(v)∩D =

∅ with u /∈ D′′ and NHu(u)∩ D′′ ̸= ∅; v ∈ D and NGv(v)∩ D=∅ with u /∈ D and NHu[u]∩ D′′ =∅. The formula then follows from that D is a 10-F3-dominating set of Iv if and only if D is a 10-F3-dominating set of Gv with D′′ a 01-F3-dominating set of Hu, or D is a 10-F3-dominating set of Gv with D′′ a 00-F3-dominating set of Hu.

(5) For v /∈ D and NIv(v)∩D ̸= ∅, there are four cases: v /∈ Dand NGv(v)∩D ̸=

∅ with u ∈ D′′; NGv[v]∩ D = ∅ with u ∈ D′′; v /∈ D and NGv(v)∩ D ̸= ∅ with u /∈ D′′and NHu(u)∩ D′′ ̸= ∅; v /∈ D and NGv(v)∩ D̸= ∅ with NHu[u]∩ D′′ =∅.

The formula then follows from that D is a 01-F3-dominating set of Iv if and only if D is a 01-F3-dominating set of Gv with D′′ a 1-F3-dominating set of Hu, or D is a 00-F3-dominating set of Gv with D′′ a 1-F3-dominating set of Hu, or D is a

(9)

01-F3-dominating set of Gv with D′′ a 01-F3-dominating set of Hu, or D is a 01-F3- dominating set of Gv with D′′ a 00-F3-dominating set of Hu.

(6) For v /∈ D and NIv(v)∩D ̸= ∅, there are three cases: v /∈ Dand NGv(v)∩D ̸=

∅ with u ∈ D′′; NGv[v]∩ D = ∅ with u ∈ D′′; v /∈ D and NGv(v)∩ D ̸= ∅ with u /∈ D′′. The formula then follows from that D is a 01-F3-dominating set of Iv if and only if D is a 01-F3-dominating set of Gv with D′′ a 1-F3-dominating set of Hu, or D is a 00-F3-dominating set of Gv with D′′ a 1-F3-dominating set of Hu, or D is a 01-F3-dominating set of Gv with D′′ a 0-F3-dominating set of Hu.

(7) For NIv[v] ∩ D = ∅, there are two cases: NGv[v]∩ D = ∅ with u /∈ D′′

and NHu(u)∩ D′′ ̸= ∅; NGv[v]∩ D = ∅ with NHu[u]∩ D′′ = ∅. The formula then follows from that D is a 0j-F3-dominating set of Iv for j ∈ {0, 0} if and only if D is a 0j-F3-dominating set of Gv with D′′ a j1-F3-dominating set of Hu, or D is a 0j-F3-dominating set of Gv with D′′ a j0-F3-dominating set of Hu.

(8) The formula follows from that D is a 0j-F3-dominating set of Iv for j∈ {0, 0}

if and only if D is a 0j-F3-dominating set of Gv with D′′ a j-F3-dominating set of

Hu. 

The above theorem together with the following initial conditions gives a linear- time algorithm for the F3-domination in trees:

γ(K1, 1) = 1, γ(K1, 0) = γ(K1, 00) = γ(K1, 00) = 0 and γ(K1, ij) =∞ for other ij.

References

[1] G. J. Chang, Algorithmic aspects of domination in graphs, in: Handbook of Combinatorial Optimization (D.-Z. Du and P. M. Pardalos eds.), Vol. 3 (1998) 339-405.

[2] G. Chartrand, L. Eroh, R. Rashidi, M. Schultz and N. A. Sherwani, Distance, stratified graphs, and greatest stratified subgraphs, Congr. Numer. 107 (1995) 81-86.

[3] G. Chartrand, H. Gavlas, M. A. Henning and R. Rashidi, Stratidistance in strat- ified graphs, Math. Bohem. 122 (1997) 337-347.

[4] G. Chartrand, T. W. Haynes, M. A. Henning and P. Zhang, Stratified claw domination in prisms, J. Combin. Math. Combin. Comput. 33 (2000) 81-96.

[5] G. Chartrand, T. W. Haynes, M. A. Henning and P. Zhang, Stratification and domination in graphs, Discrete Math. 272 (2003) 171-185.

[6] G. Chartrand, L. Holley, R. Rashidi and N. A. Sherwani, Distance in stratified graphs, Czechoslovak Math. J. 50 (2000) 35-46.

(10)

[7] E. J. Cockayne, R. M. Dawes and S. T. Hedetniemi, Total domination in graphs, Networks 10 (1980) 211-219.

[8] J. F. Fink and M. S. Jacobson, n-domination in graphs, in: Y. Alavi, A.J.

Schwenk (Eds.), Graph Theory with Applications to Algorithms and Computer Science, (Kalamazoo, MI 1984), Wiley, New York, 1985, pp. 283-300.

[9] M. R. Garey and D. S. Johnson, Computer and Intractability, A Guide to the Theory of NP-Completeness, 1979.

[10] R. Gera and P. Zhang, Bounds for the F-domination number of a graph, Congr.

Numer. 166 (2004) 131-144.

[11] R. Gera and P. Zhang, Realizable triples for stratified domination in graphs, Math. Bohem. 130 (2005) 185-202.

[12] R. Gera and P. Zhang, On stratified domination in oriented graphs, Congr.

Numer. 173 (2005) 175-192.

[13] R. Gera and P. Zhang, On stratification and domination in graphs, Discuss.

Math. Graph Theory 26 (2006) 249-272.

[14] R. Gera and P. Zhang, Stratified domination in oriented graphs, J. Combin.

Math. Combin. Comput. 60 (2007) 105-125.

[15] T. W. Haynes, S. T. Hedetniemi and P. J. Slater, Fundamentals of Domination in Graphs, Marcel Dekker, New York, 1998.

[16] T. W. Haynes, S. T. Hedetniemi and P. J. Slater (Eds.), Domination in Graphs:

Advanced Topics, Marcel Dekker, New York, 1998.

[17] T. W. Haynes, M. A. Henning and P. Zhang, A survey of stratified domination in graphs, Discrete Math. 309 (2009) 5806-5819.

[18] M. A. Henning and J. E. Maritz, Stratification and domination in graphs II, Discrete Math. 286 (2004) 203-211.

[19] M. A. Henning and J. E. Maritz, Stratification and domination in graphs with minimum degree two, Discrete Math. 301 (2005) 175-194.

[20] M. A. Henning and J. E. Maritz, Stratification and domination in prisms, Ars Combin. 81 (2006) 343-358.

[21] M. A. Henning and J. E. Maritz, Simultaneous stratification and domination in graphs with minimum degree two, Quaest. Math. 29 (2006) 1-16.

[22] R. Rashidi, The Theory and Applications of Stratified Graphs, Ph.D. Disserta- tion, Western Michigan University (1994).

[23] J. A. Telle and A. Proskurowski, Algorithms for vertex partitioning problems on partial k-trees, SIAM J. Discrete Math. 10 (1997) 529-550.

參考文獻

相關文件

In this section we define a general model that will encompass both register and variable automata and study its query evaluation problem over graphs. The model is essentially a

Set up and evaluate the definite integral that yields the total loss of value of the machine over the first 3 years

Primal-dual approach for the mixed domination problem in trees Although we have presented Algorithm 3 for finding a minimum mixed dominating set in a tree, it is still desire to

In particular, we present a linear-time algorithm for the k-tuple total domination problem for graphs in which each block is a clique, a cycle or a complete bipartite graph,

Wang and Lih proved the 4-choosability of planar graphs without 5-cycles, or without 6-cycles, or without intersecting 3-cycles in [10, 9, 11]5. Farzad [3] proved the 4-choosability

Lih and Liu [14] proved that the strong chromatic index of a cubic Halin graph, other than two special graphs, is 6 or 7.. It remains an open problem to determine which of such

Con- cerning the complexity of the k-power domination problem, we first show that deciding whether a graph admits a k-power dominating set of size at most t is NP-complete for

Breu and Kirk- patrick [35] (see [4]) improved this by giving O(nm 2 )-time algorithms for the domination and the total domination problems and an O(n 2.376 )-time algorithm for