
Citation: Saeed Kosari, Yongsheng Rao, Zehui Shao, Jafar Amjadi, Rana Khoeilar. Complexity of signed total k-Roman domination problem in graphs[J]. AIMS Mathematics, 2021, 6(1): 952-961. doi: 10.3934/math.2021057
[1] | Abel Cabrera Martínez, Iztok Peterin, Ismael G. Yero . Roman domination in direct product graphs and rooted product graphs. AIMS Mathematics, 2021, 6(10): 11084-11096. doi: 10.3934/math.2021643 |
[2] | Zepeng Li . A note on the bounds of Roman domination numbers. AIMS Mathematics, 2021, 6(4): 3940-3946. doi: 10.3934/math.2021234 |
[3] | Fu-Tao Hu, Xing Wei Wang, Ning Li . Characterization of trees with Roman bondage number 1. AIMS Mathematics, 2020, 5(6): 6183-6188. doi: 10.3934/math.2020397 |
[4] | Chang-Xu Zhang, Fu-Tao Hu, Shu-Cheng Yang . On the (total) Roman domination in Latin square graphs. AIMS Mathematics, 2024, 9(1): 594-606. doi: 10.3934/math.2024031 |
[5] | Rangel Hernández-Ortiz, Luis Pedro Montejano, Juan Alberto Rodríguez-Velázquez . Weak Roman domination in rooted product graphs. AIMS Mathematics, 2021, 6(4): 3641-3653. doi: 10.3934/math.2021217 |
[6] | Mingyu Zhang, Junxia Zhang . On Roman balanced domination of graphs. AIMS Mathematics, 2024, 9(12): 36001-36011. doi: 10.3934/math.20241707 |
[7] | Zhibin Du, Ayu Ameliatul Shahilah Ahmad Jamri, Roslan Hasni, Doost Ali Mojdeh . Maximal first Zagreb index of trees with given Roman domination number. AIMS Mathematics, 2022, 7(7): 11801-11812. doi: 10.3934/math.2022658 |
[8] | Jian Yang, Yuefen Chen, Zhiqiang Li . Some sufficient conditions for a tree to have its weak Roman domination number be equal to its domination number plus 1. AIMS Mathematics, 2023, 8(8): 17702-17718. doi: 10.3934/math.2023904 |
[9] | Ana Klobučar Barišić, Antoaneta Klobučar . Double total domination number in certain chemical graphs. AIMS Mathematics, 2022, 7(11): 19629-19640. doi: 10.3934/math.20221076 |
[10] | Bana Al Subaiei, Ahlam AlMulhim, Abolape Deborah Akwu . Vertex-edge perfect Roman domination number. AIMS Mathematics, 2023, 8(9): 21472-21483. doi: 10.3934/math.20231094 |
In this paper, G is a simple graph with finite vertex set V=V(G) and edge set E=E(G). Assume s∈V(G) and S={−1,1,2}, we will use the following notations.
name | symbol | definition |
order | n or n(G) | the vertex number of G |
the open neighborhood of s | N(s) | N(s)={u∈V(G)∣us∈E(G)} |
the closed neighborhood of s | N[s] | N[s]={s}∪N(s) |
the degree of s | degG(s) | degG(s)=|N(s)| |
a leaf of G | a vertex of degree 1 | |
a support vertex of G | a vertex adjacent to a leaf | |
a strong support vertex of G | a vertex adjacent to at least two leaves | |
leaf neighbors | Ls | the set of leaves adjacent to s |
the minimum degree of G | δ(G) | δ(G)=min{degG(s)∣s∈V(G)} |
If there is a function f meeting the following conditions: (i) each vertex y with f(y)=−1 has at least one neighbor t with f(t)=2, (ii) ∑t∈N(y)f(t)≥k for any vertex y∈V, and then f is called a signed total Roman k-dominating function (STRkDF). Let F(G) denote the set of all the STRkDFs of G. The weight of an STRkDF f, denoted by ω(f), is defined to be the value ∑y∈V(G)f(y). The signed total Roman k-domination number of G, denoted γkstR(G), is weight of an STRkDF f where ω(f)=min{ω(g)∣g∈F(G)}. An STRkDF of weight γkstR(G) is called a γkstR(G)-function. The signed total Roman k-domination number must exist if δ(G)≥k2. For an STRkDF f, let Vr={t∈V(G):f(t)=r} for r∈S. Because this partition determines f, we then write f=(V−1,V1,V2) equivalently. The signed total Roman domination number and signed total k-domination number was introduced and investigated in [12,14]. This parameter is introduced and investigated in a more general setting [9,11]. There are several works that considered the decision problems for the signed Roman domination parameters (see [1,2,3,13]). For more details on Roman domination and its variants, we refer the reader to the recent book chapters and surveys [4,5,6,7,8].
In this article, we will show that the decision problems for the signed total Roman k-domination numbers for k∈{1,2} are NP-hard. In other words, there are no polynomial algorithms to compute this parameter unless P = NP.
In this section we will give the NP-complete result for the signed total Roman k-domination problem on bipartite and chordal graphs for k∈{1,2}.
Signed total Roman k-domination problem(STRkDP) for k∈{1,2}:
Instance: A graph G and a positive integer ℓ≤|V(G)|.
Question: Does G have an STRkDF with weight at most ℓ?
We will prove that STRkDP is NP-complete by reducing the especial case of Exact Cover by 3-sets (X3C) to which we refer as X3C3. The NP-completeness of X3C3 was proven in 2008 by Hickey et al. [10].
X3C3
Instance: A set of elements X and a collection C of m 3-element subsets of X where ∣X∣=m=3q, with the condition that every element appears in exactly 3 members of C.
Question: Does there exist a subcollection C′⊂C with the condition that each element of X appears in exactly one member of C′?
Now we show that the problem above is NP-hard, even when restricted to the case k=1 and to bipartite and chordal graphs.
Theorem 1. Problem STR1DP is NP-Complete for bipartite and chordal graphs.
Proof. Clearly STR1DP is a member of NP since we can verify that a function f:V(G)→S has weight at most ℓ and determine whether f∈F(G) in polynomial time. Now let us transform any instance of X3C3 into an instance G of STR1DP satisfying that STR1DP has a solution if and only if X3C3 has a solution. Let X={x1,x2,…,x3q} and C={C1,C2,…,C3q} be an arbitrary instance of X3C3.
First we construct the bipartite graph G1. For each xi∈X, we create a single vertex xi to which we associate a copy of the graph Hi, obtained from a cycle uipiviyiui by adding two pendant edges at each of vertices ui,pi,vi, as shown in Figure 1 by adding the edge yixi. For each Cj, we create a vertex cj to which we associate a copy of the graph H′j as shown in Figure 1 by adding the edges cjzj and cjwj. Now to obtain the graph G1, we add edges cjxi if xi∈Cj. Since G1 has no cycle of odd length, G1 is a bipartite graph (see Figure 2). Now let A={c1,c2,…,c3q} and set ℓ=q.
To prove that this is indeed a transformation, we only need to show that γ1stR(G1)≤ℓ if, and only if, there is a truth assignment for X that satisfies all clauses in C. This aim can be obtained the following:
Suppose that C′ is a solution of X3C3. Define the signed total 1- Roman dominating function f on G1 of weight ℓ as follows: for every i∈{1,...,3q}, let f(ui)=f(vi)=f(pi)=f(zi)=f(wi)=f(ti)=2 and f(yi)=1; for every Cj∈C′, let f(cj)=2 and for every Cj∉C′ let f(cj)=1; and let f(xi)=−1. Note that since C′ exists, |C′|=q, and so the number of cj 's with weight 2 is q, having disjoint neighborhoods in {x1,x2,…,x3q}. Now it is straightforward to see that f is a signed total Roman 1- dominating function with weight ω(f)=q=ℓ.
Conversely, assume there exists a function h∈F(G1) with ω(h)≤ℓ. Among all these functions, let f=(V−1,V1,V2) be one such function that assigns smallest possible values to the leaves of G1. Clearly f assigns a positive value to each support vertex. We claim that f(x)=−1 for any leaf x of G1. Suppose, to the contrary, that f(x)≥1 for some leaf of G1. Without loss of generality that we may assume that x∈V(H1)∪V(H′1). First let x∈V(H1). If f(p11)≥1 and f(p21)≥1, then the function g defined by g(p1)=2,g(p11)=−1, g(p21)=1 and g(u)=f(u) otherwise, is a STR1DF of G1 of weight less than ω(f) which is a contradiction. Thus we may assume that f(p11)=−1. It follows that f(p1)=2. Likewise, we may assume that f(u11)=f(v11)=−1 implying that f(u1)=f(v1)=2. Since f has minimum weight, we deduce that f(p21)=−1. Hence x∈{u21,v21}. If f(y1)≥1, then similarly we have f(u21)=−1 and f(v21)=−1 which leads to a contradiction. Hence f(y1)=−1. Now the function g defined by g(x)=−1, g(y1)=1 and g(u)=f(u) otherwise, is a STR1DF of G1 of weight ω(f) contradicting the choice of f. Now let x∈V(H1). If f(ti1)≥1 and f(tk1)≥1 for some i≠k, then the function g defined by g(ti1)=−1,g(t1)=2 and g(u)=f(u) otherwise, is a STR1DF of G1 of weight less than ω(f) which is a contradiction. Thus we may assume without loss of generality that f(t11)=f(t21)=−1. It follows that f(t1)=2. Then we have f(t1)+f(c1)≥1. If f(z11)≥1 and f(z21)≥1, then the function g defined by g(z11)=−1,g(z1)=2 and g(u)=f(u) otherwise, is a STR1DF of G1 of weight less than ω(f) which is a contradiction again. Hence we assume that f(z11)=−1. Likewise, we may assume that f(w11)=−1. Since f is a STR1DF of G1, we must have f(z1)=f(w1)=2. Since f has minimum weight, we deduce that f(t31)=−1. Thus x∈{z21,w21}. If f(c1)≥1, then the function g defined by g(z21)=g(w21)=−1 and g(u)=f(u), otherwise is a STR1DF of G1 of weight less than ω(f) which is a contradiction again. Hence f(c1)=−1. Now the function g defined by g(x)=−1, g(c1)=1 and g(u)=f(u) otherwise, is a STR1DF of G1 of weight ω(f) contradicting the choice of f. This proves the claim. Thus f(y)=2 for every support vertex y of G1. Since ∑u∈N(zi)−{cj}f(u)=∑u∈N(wi)−{cj}f(u)=0, we must have f(cj)≥1 for every j. Also, we observe that ∑u∈N(ui)−{yi}f(u)=0 and ∑u∈N(vi)−{yi}f(u)=0, and thus we must have f(yi)≥1 for every i. It follows clearly that no xi needs to be assigned a positive value under f, and thus xi∈V−1 for every i. If yi∈V2 for some i, then we can reassign yi and any cr adjacent to xi the values 1 and 2, respectively. So we may assume that yi∈V1 for every i. Now, since f has weight at most ℓ=q, and every xi needs to be adjacent to a vertex assigned a 2, there must exist q vertices of A assigned a 2 under f and the remaining vertices of A belongs to V1. On the other hand, since each cj has exactly three neighbors in X, we conclude that C′={Cj:f(cj)=2} is an exact cover for C.
Now we construct the chordal graph G2. For each xi∈X, we create a single vertex xi to which we associate a copy of the graph Fi, obtained from a cycle uipiviyiui by adding the edge uivi, adding one pendant edge at pi and three pendant edges at ui and vi, as shown in Figure 2 by adding the edge yixi. For each Cj we create a vertex cj to which we associate a copy of the graph F′j as shown in Figure 2, by adding the edges cjzj and cjwj. Now to obtain the graph G2, we add edges cjxi if xi∈Cj and all edges between vertices c′js. Clearly, any cycle in G2 with length at least four has a chord and hence G2 is a chordal graph (see Figure 4). Let A={c1,c2,…,c3q} and set ℓ=q.
To prove that this is indeed a transformation, we only need to show that γ1stR(G2)≤ℓ if, and only if, there is a truth assignment for X that satisfies all clauses in C. This aim can be obtained the following: Suppose that C′ is a solution of X3C3. Define a signed total 1-Roman dominating function g on G2 of weight ℓ as follows: for every i∈{1,2,…,3q},g(ui)=g(vi)=g(zi)=g(wi)=g(pi)=2,g(yi)=1; if Cj∈C′, then let g(cj)=2 and if Cj∉C′, then let g(cj)=1; and let g(xi)=−1. Note that since C′ exists, |C′|=q, and so the number of cj 's with weight 2 is q, having disjoint neighborhoods in {x1,x2,…,x3q}. Now it is straightforward to see that g is a signed total Roman 1- dominating function with weight ω(g)=q=ℓ.
Conversely, assume there exists a function h∈F(G2) with ω(h)≤ℓ. Among all these functions, let g=(V−1,V1,V2) be one such function that assigns smallest possible values to the leaves of G2. As in the proof for bipartite graph, we can show that g(x)=−1 for any leaf x of G2, and thus g(y)=2 for every support vertex y of G2. Since ∑u∈N(zi)−{cj}g(u)=∑u∈N(wi)−{cj}g(u)=0, we must have g(cj)≥1 for every j. Also, for G2 we observe that ∑u∈N(ui)−{yi}g(u)=1 and∑u∈N(vi)−{yi}g(u)=1, and thus we must have g(yi)≥1 for every i. It follows clearly that no xi needs to be assigned a positive value under g and thus xi∈V−1 for every i. If yi∈V2 for some i, then we can reassign yi and any cr adjacent to xi the values 1 and 2, respectively. So we may assume that yi∈V1 for every i. Now, since g has weight at most ℓ=q, and every xi needs to be adjacent to a vertex assigned a 2, there must exist q vertices of A assigned a 2 under g and the remaining vertices of A belongs to V1. On the other hand, since each cj has exactly three neighbors in X, we conclude that C′={Cj:g(cj)=2} is an exact cover for C.
The case k=2
Theorem 2. Problem STR2DP is NP-Complete for bipartite and chordal graphs.
Proof. Similar as the proof of the Theorem 1, clearly STR2DP is a member of NP since we can verify that a function f:V(G)⟶S has weight at most ℓ and determine whether f∈F(G) in polynomial time. Now let us transform any instance of X3C3 into an instance G of STR2DP satisfying that STR2DP has a solution if and only if X3C3 has a solution. Let X={x1,x2,…,x3q} and C={C1,C2,…,C3q} be an arbitrary instance of X3C3. We now construct the bipartite graph G3 and the chordal graph G4, respectively.
For each xi∈X, we create a single vertex xi to which we associate a copy of the graph Ei as shown in Figure 5 by adding the edge yixi. For each Cj, we create a vertex cj to which we associate a copy of the graph E′j as shown in Figure 5 by adding the edges cjuj and cjvj. Now to obtain the graph G3, we add edges cjxi if xi∈Cj. It is clear that G3 has no cycle of odd length and so G3 is a bipartite graph (see Figure 6). Let A={c1,c2,…,c3q}, and set ℓ=q. To prove that this is indeed a transformation, we only need to show that γ2stR(G3)≤ℓ if, and only if, there is a truth assignment for X that satisfies all clauses in C. This aim can be obtained the following:
Suppose that C′ is a solution of X3C3. Define a signed 2-Roman dominating function f on G3 of weight ℓ as follows: for every i∈{1,2,…,3q} let
f(x)={2if x∈{ai,bi,di,ei,pi,ui,wi,zi,vi,ti}, 1 if x=yi,2 if x=cj and cj∈C′,1if x=cj and cj∉C′,−1otherwise. |
Note that since C′ exists and |C′|=q, the number of c′js with weight 2 is q, having disjoin neighborhoods in {x1,x2,…,x3q}. It is easy to see that f is signed total Roman 2-dominating function with weight ω(f)=q.
Conversely, first assume there exists a function h∈F(G3) with ω(h)≤ℓ. {Among all these functions, let f=(V−1,V1,V2) be one such function that assigns smallest possible values to the leaves of G3.} As in the proof of Theorem 2.1 for bipartite graph, we can show that f(x)=−1 for any leaf x of G3, and thus f(y)=2 for every support vertex y of G3. Since ∑u∈N(ui)−{cj}f(u)=∑u∈N(vi)−{cj}f(u)=2, we must have f(cj)≥1 for every j. Also, we observe that ∑u∈N(ai)−{yi}f(u)=1 and thus we must have f(yi)≥1 for every i. It follows clearly that no xi needs to be assigned a positive value under f, and thus xi∈V−1 for every i. If yi∈V2 for some i, then we can reassign yi and any cr adjacent to xi the values 1 and 2, respectively. So we may assume that yi∈V1 for every i. Now, since f has weight at most ℓ=q, and every xi needs to be adjacent to a vertex assigned a 2, there must exist q vertices of A assigned a 2 under f and the remaining vertices of A belongs to V1. Now since each cj has exactly three neighbors in X, we conclude that C′={Cj:f(cj)=2} is an exact cover for C.
Now we construct the chordal graph G4.
Similar as above, for each xi∈X, we create a single vertex xi to which we associate a copy of the graph Ki as shown in Figure 7 by adding the edge yixi. For each Cj, we create a vertex cj to which we associate a copy of the graph K′j as shown in Figure 7 by adding the edges cjuj and cjvj. Now to obtain the graph G4 we add edges cjxi if xi∈Cj and all edges between vertices c′js. Clearly, any cycle of G4 with length at least four has a chord and so G4 is a chordal graph (see Figure 8). Let A={c1,c2,…,c3q}, and set ℓ=q. To prove that this is indeed a transformation, we only need to show that γ2stR(G4)≤ℓ if, and only if, there is a truth assignment for X that satisfies all clauses in C. This aim can be obtained the following:
Suppose that C′ is a solution of X3C3. Define a signed 2-Roman dominating function g on G4 of weight ℓ as follows: for every i∈{1,2,…,3q} let
g(x)={2if x∈{qi,pi,zi,wi,ui,vi,ri}, 1 if x=yi,2 if x=cj and cj∈C′,1if x=cj and cj∉C′,−1otherwise. |
Note that since C′ exists and |C′|=q, the number of c′js with weight 2 is q, having disjoin neighborhoods in {x1,x2,…,x3q}. It is easy to see that g is signed total Roman 2-dominating function with weight ω(g)=q.
Conversely, first assume there exists a function h∈F(G4) with ω(h)≤ℓ. Among all these functions, let g=(V−1,V1,V2) be one such function that assigns smallest possible values to the leaves of G4. As in the proof of Theorem 2.1 for bipartite graph, we can show that g(x)=−1 for any leaf x of G4, and thus g(y)=2 for every support vertex y of G4. Since ∑u∈N(ui)−{cj}g(u)=∑u∈N(vi)−{cj}g(u)=2, we must have g(cj)≥1 for every j. Also, we observe that ∑u∈N(wi)−{yi}g(u)= and thus we must have g(yi)≥1 for every i. It follows clearly that no xi needs to be assigned a positive value under g, and thus xi∈V−1 for every i. If yi∈V2 for some i, then we can reassign yi and any cr adjacent to xi the values 1 and 2, respectively. So we may assume that yi∈V1 for every i. Now, since g has weight at most ℓ=q, and every xi needs to be adjacent to a vertex assigned a 2, there must exist q vertices of A assigned a 2 under g and the remaining vertices of A belongs to V1. Now since each cj has exactly three neighbors in X, we conclude that C′={Cj:g(cj)=2} is an exact cover for C.
This work was supported by the National Key R & D Program of China (Grant No. 2019YFA0706402), the Natural Science Foundation of Guangdong Province under grant 2018A0303130115 and Guangzhou Academician and Expert Workstation(No. 20200115-9).
The authors declare that there are no known conflicts of interest associated with this paper and there has been no significant financial support for this work that could have influenced its outcome.
[1] |
H. Abdollahzadeh Ahangar, M. Chellali, S. M. Sheikholeslami, Signed double Roman domination in graphs, Discrete Appl. Math., 257 (2019), 1-11. doi: 10.1016/j.dam.2018.09.009
![]() |
[2] | H. Abdollahzadeh Ahangar, R. Khoeilar, L. Shahbazi, S. M. Sheikholeslami, Signed total double Roman domination, Ars Combin., (to appear). |
[3] | H. Abdollahzadeh Ahangar, R. Khoeilar, L. Shahbazi, S. M. Sheikholeslami, Bounds on signed total double Roman domination, Commun. Comb. Optim., 5 (2020), 191-206. |
[4] | M. Chellali, N. Jafari Rad, S. M. Sheikholeslami, L. Volkmann, Roman domination in graphs. In: Topics in Domination in Graphs, (Eds), T. W. Haynes, S. T.Hedetniemi, M. A. Henning, Springer Nature Switzerland AG, 2020. |
[5] | M. Chellali, N. Jafari Rad, S. M. Sheikholeslami, L. Volkmann, Varieties of Roman domination. In: Structures of Domination in Graphs, (Eds), T. W. Haynes, S. T. Hedetniemi, M. A. Henning, Springer Nature Switzerland AG, 2020. |
[6] | M. Chellali, N. Jafari Rad, S. M. Sheikholeslami, L. Volkmann, Varieties of Roman domination II, AKCE Int. J. Graphs Comb., in press. |
[7] | M. Chellai, N. Jafari Rad, S. M. Sheikholeslami, L. Volkmann, The Roman domatic problem in graphs and digraphs: A survey, Discuss. Math. Graph Theory, in press. |
[8] | M. Chellai, N. Jafari Rad, S. M. Sheikholeslami, L. Volkmann, A survey on Roman domination parameters in directed graphs, J. Combin. Math. Combin. Comput., (to appear). |
[9] | N. Dehgardi, L. Volkmann, Signed total Roman k-domination in directed graphs, Commun. Comb. Optim., 1 (2016), 165-178. |
[10] | G. Hickey, F. Dehne, A. Rau-Chaplin, C. Blouin, SPR distance computation for unrooted trees, Evolutionary Bioinformics Online, 4 (2008), 17-27. |
[11] |
R. Khoeilar, L. Shahbazi, S. M. Sheikholeslami, Z. Shao, Bounds on the signed total Roman 2-domination in graphs, Discrete Math. Algorithms Appl., 12 (2020), 2050013. doi: 10.1142/S1793830920500135
![]() |
[12] |
L. Volkmann, Signed total Roman domination in graphs, J. Comb. Optim., 32 (2016), 855-871. doi: 10.1007/s10878-015-9906-6
![]() |
[13] |
L. Volkmann, On the signed total Roman domination and domatic numbers of graphs, Discrete Appl. Math., 214 (2016), 179-186. doi: 10.1016/j.dam.2016.06.006
![]() |
[14] | L. Volkmann, Signed total Roman k-domination in graphs, J. Combin. Math. Combin. Comput., 105 (2018), 105-116. |