Next Article in Journal
Generalized Polynomials and Their Unification and Extension to Discrete Calculus
Next Article in Special Issue
On Laplacian Eigenvalues of Wheel Graphs
Previous Article in Journal
The Chen Autoregressive Moving Average Model for Modeling Asymmetric Positive Continuous Time Series
Previous Article in Special Issue
Convex Polygon Triangulation Based on Symmetry
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Total Perfect Roman Domination

Department of Mathematics and Statistics, College of Science, King Faisal University, P.O. Box 400, Al-Ahsa 31982, Saudi Arabia
Symmetry 2023, 15(9), 1676; https://doi.org/10.3390/sym15091676
Submission received: 4 August 2023 / Revised: 24 August 2023 / Accepted: 25 August 2023 / Published: 31 August 2023
(This article belongs to the Special Issue Symmetry and Graph Theory)

Abstract

:
A total perfect Roman dominating function (TPRDF) on a graph G = ( V , E ) is a function f from V to { 0 , 1 , 2 } satisfying (i) every vertex v with f ( v ) = 0 is a neighbor of exactly one vertex u with f ( u ) = 2 ; in addition, (ii) the subgraph of G that is induced by the vertices with nonzero weight has no isolated vertex. The weight of a TPRDF f is v V f ( v ) . The total perfect Roman domination number of G, denoted by γ t R p ( G ) , is the minimum weight of a TPRDF on G. In this paper, we initiated the study of total perfect Roman domination. We characterized graphs with the largest-possible γ t R p ( G ) . We proved that total perfect Roman domination is NP-complete for chordal graphs, bipartite graphs, and for planar bipartite graphs. Finally, we related γ t R p ( G ) to perfect domination γ p ( G ) by proving γ t R p ( G ) 3 γ p ( G ) for every graph G, and we characterized trees T of order n 3 for which γ t R p ( T ) = 3 γ p ( T ) . This notion can be utilized to develop a defensive strategy with some properties.

1. Introduction

Roman domination was sparked by defensive measures taken to defend the Roman dynasty. Constantine, who was born in 272 and died in 337 AD, decreed that every city in the empire should be stationed by at most two legions. Furthermore, every city without a legion must be close to a city with two armies, so if a city with no army was attacked, then the city with two armies could send one of its armies to the city under attack. Stewart [1] and ReVelle and Rosing [2,3] discussed Roman domination as a mathematical concept, which was developed later by Cockayne et al. [4]. It is clear that the above defending strategy is not enough to protect the empire if more than one attack occurs at the same time. This raised the need to a stronger and more-efficient defending strategy, and it motivated researchers to introduce and investigate different variants of Roman domination. Since then, over 100 papers on Roman domination and its variants have been published. Perfect Roman domination [5,6], Italian domination [7,8], perfect Italian domination [9], double-Roman domination [10], perfect double-Roman domination [11], double-Italian domination [12], total Roman domination [13,14], vertex–edge Roman domination [15], and vertex–edge perfect Roman domination [16] are a few examples of Roman domination variants.
This work was motivated by two previously introduced variants, namely perfect Roman domination and total Roman domination. Our variant, total perfect Roman domination, combines those two variants, and it gives a stronger defending strategy than perfect Roman domination does with less than the expected extra cost. Total perfect Roman domination gives extra security compared to what perfect Roman domination does by requiring every vertex (city) to be secured by a neighbor with a legion, so if multiple attacks occur on the city, then its neighbor can send a legion to it.
All graphs in this work are finite, simple, and undirected. We say that the vertex v is a neighbor of a vertex u or v and u are adjacent if v u E . For v V ( G ) and a subset X V ( G ) , we denote the set of all edges v x with x X by E ( v , X ) . The open neighborhood of a vertex v V ( G ) is the set N ( v ) : = { u V | v u E ( G ) } , and the closed neighborhood of v is the set N [ v ] : = N ( v ) { v } . The degree of a vertex v V ( G ) is | N ( v ) | , and it is denoted by d G ( v ) or d ( v ) if G is known. The maximum degree of G is Δ ( G ) : = max v V ( G ) d ( v ) . The minimum degree of G is denoted by δ ( G ) and defined as the minimum degree of a vertex in G, i.e., δ ( G ) = min v V ( G ) d ( v ) . The length of a path P is | E ( P ) | . A graph is connected if, for any two vertices in the graph, there exists a path between them. The length of a shortest path between two vertices u and v in a connected graph G is the distance between them, and it is denoted by dist G ( u , v ) . Let G be a connected graph. The diameter of G is diam ( G ) : = max { dist ( u , v ) | ( u , v ) V ( G ) × V ( G ) } . A path P in G is called a diametral path if it is a shortest path between its ends and the length of P is equal to diam ( G ) .
A vertex v V ( G ) is a leaf if it is a neighbor for exactly one vertex in G. A vertex in G is called a support vertex if it is adjacent to a leaf. A vertex in G is called a strong support vertex if it is a support vertex and adjacent to at least two leaves, and it is called a weak support vertex if it is a support vertex and adjacent to exactly one leaf. An edge u v is a pendant edge if u or v is a leaf. An isolated vertex vertex v is a vertex with d ( v ) = 0 . A cycle with n edges is denoted by C n . A graph is called a star if it is connected and contains exactly one non-leaf vertex. A subdivided star is a graph obtained from a star graph by subdividing each edge once. A double-star is a connected graph with exactly two vertices with degree greater than one (those two vertices are necessarily adjacent). The graph that is obtained from a graph G by adding a pendant edge to each vertex in G is called the corona of G, and it is denoted by corona ( G ) . A cycle C in a graph G has a chord if there is an edge joining non-consecutive vertices of C. A graph G is chordal if every cycle of length four or more has a chord. A subset A V ( G ) is called a clique if, for every v , u A , v u E ( G ) . The chromaticnumber of a graph G is the minimum number of colors needed to color the vertices of G such that no adjacent vertices receive the same color. A graph G is called perfect if the chromatic number equals the cardinality of a maximum clique for every induced subgraph of G. A subset A V ( G ) is called packing if dist G ( u , v ) 3 for any distinct vertices u , v A .
Any function f from V ( G ) to { 0 , 1 , 2 } is represented by the ordered partition ( V 0 f , V 1 f , V 2 f ) , where V j f = { u V | f ( u ) = j } , j { 0 , 1 , 2 } . We sometimes omit f and write ( V 0 , V 1 , V 2 ) if f is known from the context. The weight w ( f ) of the function f is the sum v V ( G ) f ( v ) . If H is a subgraph of G, we denote the sum v V ( H ) f ( v ) by f ( H ) , and it is called the restriction of f on H.
A function f : V { 0 , 1 , 2 } is a Roman dominating function on G, abbreviated as the RD-function, if for every v V 0 , N ( v ) V 2 Ø . The Roman domination number of G is γ R ( G ) : = min { w ( f ) | f is an RD - function on   G } .
A set B V ( G ) is called a perfect dominating set, abbreviated as PDS, of G, if for every v V ( G ) B , | N ( v ) B | = 1 . The perfect domination number of G is γ p ( G ) : = min { | B | B is a PDS of G } . A PDS S of G with | S | = γ p ( G ) is denoted by the γ p ( G ) -set. Perfect domination was investigated under a variety of terminology. Perhaps Biggs [17] was the first one who studied perfect domination in graphs, which Biggs called perfect code.
A function f from V ( G ) to { 0 , 1 , 2 } is a perfect Roman dominating function on G, abbreviated as the PRD-function, if for all vertices v V 0 , | N ( v ) V 2 | = 1 . The perfect Roman domination number of G, introduced in [5], is γ R p ( G ) : = min { w ( f ) | f is a PRD - function on G } . We refer the reader to [18,19] for recent work on perfect Roman domination.
A function f from V ( G ) to { 0 , 1 , 2 } is a total Roman dominating function on G, abbreviated as the TRD-function, if for all v V 0 , N ( v ) V 2 Ø and δ ( G [ V 1 V 2 ] ) 1 . The total Roman domination number of G is γ t R ( G ) : = min { w ( f ) | f is a TRD - function on G } . Total Roman domination was introduced in [13] as a special case of the more general setting introduced in [20]. For recent work on total Roman domination, we refer the reader to [21,22,23].
Definition 1.
Let  G = ( V , E )  be a graph with no vertexvwith  d ( v ) = 0  . A function  f : V { 0 , 1 , 2 }  is a total perfect Roman dominating function, abbreviated as TPRDF, if every vertex  v V 0  is adjacent to exactly one neighbor  u V 2  and the induced subgraph  G [ V 1 V 2 ]  has no vertexv with  d ( v ) = 0  . The total perfect Roman domination number of G is  γ t R p ( G ) : = min { w ( f ) | f is a TPRDF on G } .
This paper includes several symmetrical graphs; some symmetrical graphs, such as paths, cycles, and some corona graphs, attain the largest possible total perfect Roman domination number. Other symmetrical graphs, namely the complete multipartite graphs with a big enough number of vertices, are used to show that the inequality γ t R ( G ) < γ R p ( G ) < γ t R p ( G ) is valid for some graphs. Due to the importance of symmetrical graphs in practical problems, we believe that this work will attract researchers who investigate different graph parameters on symmetrical graphs. See, for example, [24,25].
In Figure 1, the Roman Empire regions are shown along with two labeling functions, one in blue and the other in red. Formally, let f be the map defined by setting f ( B r i t a i n ) = f ( G a u l ) = f ( R o m e ) = f ( N o r t h A f r i c a ) = f ( C o n s t a n t i n o p l e ) = f ( E g y p t ) = 0 and f ( I b e r i a ) = f ( A s i a M i n o r ) = 2 ; let g be the map defined by setting g ( B r i t a i n ) = g ( I b e r i a ) = g ( N o r t h A f r i c a ) = g ( E g y p t ) = g ( A s i a M i n o r ) = 0 , g ( R o m e ) = 1 and g ( C o n s t a n t i n o p l e ) = g ( G a u l ) = 2 . Then f is a RD-function, which is also an PRD-function, but it is not a TPRDF. The map g is a TPRDF.
It is clear that γ t R p ( G ) n for any graph G of order n, as the function that assigns a value of 1 to every vertex in G is a TPRDF on G. It is also clear that every TPRDF on G is a PRD-function and a TRD-function.
Proposition 1.
Let G be a graph. Then:
(1)
γ R p ( G ) γ t R p ( G ) ;
(2)
γ t R ( G ) γ t R p ( G ) .
If G = C n , where n = 3 k and k Z + , then γ R p ( C n ) = 2 n 3 = 2 n 3 [26], and γ t R ( C n ) = n [13]. As γ t R ( C n ) γ t R p ( C n ) n , γ t R p ( C n ) = n . Thus, γ R p ( C n ) < γ t R p ( C n ) .
We will give an example of a graph G such that γ t R ( G ) < γ R p ( G ) < γ t R p ( G ) , but we first need the following proposition.
Let K m 1 , m 2 , , m r be the complete r-partite graph with parts A 1 , A 2 , , A r . Fix the notation so that m 1 m 2 m r .
Proposition 2.
Let   G = K m 1 , m 2 , , m r and r ≥ 2.
(1)
If m 1 = 1 , then γ t R p ( K m 1 , m 2 , , m r ) = 2 when n = 2 and γ t R p ( K m 1 , m 2 , , m r ) = 3 otherwise.
(2)
If m 1 2 , then
γ t R p ( G ) = 4 , if r = 2 , m 1 + 2 , if r 3 .
Proof. 
(1) If n = 2 , then G = P 2 and γ t R p ( P 2 ) = 2 . Otherwise, assign 2 to the unique vertex in A 1 , assign 1 to one vertex in A 2 , and assign 0 to the other vertices. Therefore, γ t R p ( K m 1 , m 2 , , m r ) 3 . It is straightforward to check that γ t R p ( K m 1 , m 2 , , m r ) 3 . Thus, the equality holds.
(2) Assume that r = 2 . Assign 2 to one vertex in A 1 ; assign 2 to one vertex in A 2 ; assign 0 to the other vertices of G. This is a TPRDF of weight 4, so γ t R p ( G ) 4 . Assume there is a TPRDF f on G with w ( f ) 3 . Then, there exists a vertex v V ( G ) such that f ( v ) = 0 . We can assume that v A 1 . Then, there is u A 2 with f ( u ) = 2 . Let x be a vertex in A 2 { u } . This vertex exists as 2 m 1 m 2 . If f ( x ) = 0 , then there exists a vertex in A 1 labeled 2, which contradicts the assumption that w ( f ) < 4 . Thus, f ( x ) 1 . As w ( f ) < 4 , all vertices in A 1 are labeled 0. Thus, G [ V 1 V 2 ] has a vertex v with d ( v ) = 0 , a contradiction. Therefore, γ t R p ( G ) = 4 .
Assume that r 3 . Assign 2 to one vertex in A 1 ; assign 1 to the other vertices in A 1 ; assign 1 to one vertex in A 2 ; assign 0 to the other vertices of G. This is a TPRDF of weight m 1 + 2 . Thus, γ t R p ( G ) m 1 + 2 . Assume that there exists a TPRDF f with w ( f ) < m 1 + 2 . As | G | > m 1 + 2 , there exists a vertex v A i with f ( v ) = 0 for some i [ r ] . Therefore, there exists u A j , with f ( u ) = 2 for some j i . Assume that A j contains a vertex x with f ( x ) = 0 , then there exists l [ r ] { j } and y A l for which f ( y ) = 2 . If l = i , then for all z V ( G ) ( A i A j ) , f ( z ) 1 , a contradiction with the assumption that w ( f ) < m 1 + 2 . Therefore, l i , a contradiction, as v is adjacent to two vertices labeled 2. Thus, for all x A j , f ( x ) 1 , but this is a contradiction with the assumption that w ( f ) < m 1 + 2 . Hence, γ t R p ( G ) = m 1 + 2 . □
Proposition 3.
There are graphs G for which γ t R ( G ) < γ R p ( G ) < γ t R p ( G ) .
Proof. 
Let G be the complete tripartite graph K m , m , m where m 5 . Denote the parts of G by A , B , and C; see Figure 2. Define a TRD-function f on G by assigning 2 to an arbitrary vertex in A, assigning 2 to an arbitrary node in B, and assigning 0 to other nodes of G. One can check that f gives the best-possible weight, so γ t R ( G ) = 4 . Define a PRD-function f on G by assigning 2 to an arbitrary vertex in A, assigning 1 to the other vertices in A, and assigning 0 to all vertices in B C . Then, γ R p ( G ) m + 1 . Assume there exists a PRD-function g on G with w ( g ) < m + 1 . Assume that every part contains a vertex labeled 0, say a 1 A , b 1 B , c 1 C . Then, a 1 is adjacent to a vertex in B C , say in B, labeled 2. Similarly, b 1 has a neighbor in A C , say in A, labeled 2. Now, c 1 is adjacent to at least two vertices labeled 2, a contradiction. Thus, V 0 g D = 0 for some D { A , B , C } . As w ( g ) < m + 1 , g ( v ) = 1 for every v D and g ( v ) = 0 to every v V D , a contradiction. Thus, γ R p ( G ) = m + 1 . We show in Proposition 2 that γ t R p ( G ) = m + 2 . □
Proposition 4.
For any connected graph G of order n 2 , we have γ R p ( G ) γ t R p ( G ) 2 γ R p ( G ) 1 . Moreover, for a graph G of order n 3 , γ t R p ( G ) = 2 γ R p ( G ) 1 if and only if Δ ( G ) = n 1 .
Proof. 
The lower bound follows from Proposition 1. Let f be a PRD-function with w ( f ) = γ R p ( G ) . Choose f such that | V 2 f | is the maximum possible. If V 2 f = Ø , then V 0 f = Ø , and thus, V ( G ) = V 1 f and γ R p ( G ) = n . Therefore, γ t R p ( G ) = n 2 n 2 = 2 γ R p 2 as n 2 . Now, assume that V 2 f Ø . Starting with the vertex set V 1 f , if v is an isolated vertex in G [ V 1 f V 2 f ] , perform the following. Pick an arbitrary neighbor u of v in V 0 f . Let f 1 be the mapping obtained from f by changing the labeling of u to 1. Repeat if G [ V 1 f 1 V 2 f 1 ] has a vertex v with d ( v ) = 0 . This procedure will stop after a finite number of steps, and the output is a TPRDF g. Now,
γ t R p ( G ) w ( g ) w ( f ) + | V 1 f | + | V 2 f | < w ( f ) + | V 1 f | + 2 | V 2 f | = 2 γ R p ( G ) .
Therefore, γ t R p ( G ) 2 γ R p ( G ) 1 . Assume that γ t R p ( G ) = 2 γ R p ( G ) 1 , then | V 2 f | = 1 . Let V 2 f = { w } . Therefore, all vertices in V 0 f are dominated by w. If V 1 f = Ø , then d ( w ) = n 1 = Δ ( G ) . Assume V 1 f Ø , and let x V 1 f . We claim that x is a neighbor for a vertex in V 0 f , so assume not. As G is connected, x is a neighbor for a vertex y V 1 f V 2 f ; if y = w , we can change the labeling of x to 0 and obtain a PRD-function h with w ( h ) < w ( f ) , a contradiction; thus, x w E ( G ) for all x V 1 f , if y V 1 f , then we can reassign a value of 2 to x and reassign a value of 0 to y to obtain a PRD-function q with w ( q ) = w ( f ) and | V 2 q | > | V 2 f | , a contradiction. Thus, the claim holds. Therefore, every v V 1 f is a neighbor of some u V 0 f . Now, γ t R p ( G ) w ( g ) w ( f ) + | V 1 f | = 2 w ( f ) 2 = 2 γ R p 2 < 2 γ R p 1 , a contradiction. Thus, if γ t R p ( G ) = 2 γ R p ( G ) 1 , then Δ ( G ) = n 1 . Conversely, assume that n 3 and Δ ( G ) = n 1 . Then, γ R p ( G ) = 2 and γ t R p ( G ) = 3 . Therefore, γ t R p ( G ) = 2 γ R p ( G ) 1 . □

2. Graphs with Largest-Possible γ t R p ( G )

In this section, we characterize graphs G with the greatest-possible γ t R p ( G ) . It is clear that γ t R p ( G ) n as we can simply assign a value of 1 to every vertex in the graph. We characterize graphs attaining this upper bound.
Theorem 1.
Let G be a graph. Then, γ t R p ( G ) = | G | if and only if γ t R ( G ) = | G | .
Proof. 
The sufficient condition is a direct as γ t R ( G ) γ t R p ( G ) n for any graph G. Now, assume that γ t R p ( G ) = n , and assume for contradiction that γ t R ( G ) < n . Let f be a TRD-function on G such that | V 0 | is as minimum as possible. As γ t R p ( G ) = n , f is not a TPRDF. Therefore, there exists v V ( G ) such that f ( v ) = 0 and | N ( v ) V 2 | 2 , say N ( v ) V 2 = { u 1 , , u k } , k 2 . Observe that N ( u i ) ( V 1 V 2 ) Ø as f is a TRD-function. □
Claim 1.
For all i [ k ] , | N ( u i ) V 0 | 3 .
Proof. 
Let i [ k ] . Assume that | N ( u i ) V 0 | = 1 . Then, N ( u i ) V 0 = { v } . Define a TRD-function g by setting g ( u i ) = 1 and g ( x ) = f ( x ) for every x V { u i } . Then, w ( g ) < w ( f ) , which is a contradiction. Thus, | N ( u i ) V 0 | 2 .
Assume that | N ( u i ) V 0 | = 2 . Then, N ( u i ) V 0 = { v , y i } for some y i V { v } . Define a TRD-function h by setting h ( u i ) = h ( y i ) = 1 and h ( x ) = f ( x ) for every x V { u i , y i } . Then, h and f have the same weight and | V 0 h | < | V 0 | , a contradiction. Thus, | N ( u i ) V 0 | 3 . □
Fix any i [ k ] . Define a TPRDF q on G by setting q ( u i ) = f ( u i ) = 2 and q ( x ) = f ( x ) = 0 for every x N ( u i ) V 0 f , and set q ( x ) = 1 for the other vertices of G. Now, every vertex in V 0 q is adjacent to exactly one neighbor in V 2 q , and G [ V 1 q V 2 q ] has no vertex v with d ( v ) = 0 . Therefore, w ( q ) < n , a contradiction. Therefore, γ t R ( G ) = n , as desired.
Remark 1.
We proved in Claim 1 that | N ( u i ) V 0 | 3 for all i [ k ] , but it is enough to show that | N ( u i ) V 0 | 2 .
Let G be the family of graphs that is obtained from a four-cycle v 1 v 2 v 3 v 4 v 1 by adding k 1 leaves to v 3 and k 2 leaves to v 4 , where k 1 + k 2 1 , then subdividing each pendant edge one time. Let H be the family of graphs that is obtained from a double-star by subdividing the non-pendant edge t 0 times and subdividing each pendant edge once. Let C be the family of graphs that satisfy one of the following conditions:
(1)
G is a cycle or a path;
(2)
G = corona ( F ) for some graph F;
(3)
G is a subdivided star;
(4)
G G H .
Theorem 2
([13]). Let G be a connected graph of order n 2 . Then, γ t R ( G ) = n if and only if G C .
From Theorem 2 and Theorem 1, we obtain the following result.
Theorem 3.
Let G be a connected graph of order n 2 . Then, γ t R p ( G ) = n if and only if G C .
We give examples of classes of graphs where the tight upper bound of γ t R p ( G ) is n.
A subset A V ( G ) is called an independent set if no two vertices in A are adjacent. A graph G is called a split graph if its vertices can be partitioned into a clique and an independent set.
Corollary 1.
For every positive even integer n, there exists a split graph G of order n such that γ t R p ( G ) = n .
Proof. 
Let k : = n 2 . Let G be the split graph obtained from the disjoint union of a complete graph with the set of vertices { v 1 , v 2 , , v k } and an empty graph with the set of vertices { u 1 , u 2 , , u k } by adding the set of edges { v i u i | i [ k ] } . Observe that G = corona ( K k ) . From Theorem 3, γ t R p ( G ) = n . □
Since split graphs are chordal and the latter graph is perfect, n is a tight upper bound for split graphs, chordal graphs, and perfect graphs.

3. Complexity

In this section, we prove that total perfect Roman domination for chordal graphs and that for planar bipartite graphs are NP-complete. We define the following decision problem.
TPRD
  • Instance: Graph G = ( V , E ) and a positive integer k | V | .
  • Question: Does G have a TPRDF f with w ( f ) k ?
The following decision problem is a well-known NP-complete problem [27].
Exact cover (XC)
  • Instance: A set X of size q and a collection C of subsets of X.
  • Question: Is there a sub-collection C´ of C such that every element of X appears in exactly one element of C´?
We transform the XC to TPRD.
Theorem 4.
TPRD is NP-complete for chordal graphs.
Proof. 
If f : V ( G ) { 0 , 1 , 2 } is a function and k | V | is an integer, we can check in polynomial time if f is a TPRDF and w ( f ) k . Therefore, the TPRD problem is in the NP class.
Let ( X , C ) be an arbitrary instance of the XC, where X = { x 1 , , x q } and C = { C 1 , , C t } . Let H be a clique graph with V ( H ) = X . Let Q i be the graph obtained from the cycle s i t i c i s i by adding a leaf c i adjacent to c i and a leaf t i adjacent to t i . Let Q be the disjoint union of Q i , i [ t ] . Finally, let G be the graph obtained from H and Q by adding the set of edges c i x j if x j C i ; see Figure 3. It is simple to see that G is a chordal graph. Let k = 4 t . We show that ( X , C ) has an exact cover if and only if G admits a TPRDF f with w ( f ) k .
Assume that ( X , C ) has an exact cover C . Define f : V ( G ) { 0 , 1 , 2 } as follows. Set f ( x i ) = 0 for every i [ q ] ; if C i C ; set f ( c i ) = 2 , f ( t i ) = f ( t i ) = 1 , and f ( s i ) = f ( c i ) = 0 ; if C i C , set f ( c i ) = f ( c i ) = 1 , f ( t i ) = 2 , and f ( t i ) = f ( s i ) = 0 . Since C is an exact cover, each vertex x i is adjacent to exactly one vertex labeled 2, and it easy to check that every vertex u Q with f ( u ) = 0 is adjacent to exactly one vertex labeled 2, while G [ V 1 V 2 ] has no vertex v with d ( v ) = 0 . Thus, f is a TPRDF on G with w ( f ) = k .
Now, assume that G admits a TPRDF f with w ( f ) k . Observe that f ( Q i ) 4 for all i [ t ] , so f ( Q ) 4 t . as w ( f ) 4 t , then w ( f ) = 4 t and f ( Q i ) = 4 for all i [ t ] , so f ( x i ) = 0 . Thus, for every i [ q ] , x i is adjacent to exactly one vertex labeled 2, and this neighbor is obviously in the set { c 1 , , c t } . Let C = { C i C | f ( c i ) = 2 } . Then, C is an exact cover. □
Theorem 5.
TPRD is NP-complete for bipartite graphs.
Proof. 
We have seen that TPRD is in the NP class. Let X = { x 1 , , x q } be a set and C = { C 1 , , C t } be a collection of subsets of X. Let H be the graph with V ( H ) = { x 1 , , x q , b 1 , , b q , d 1 , , d 4 , a } , and E ( H ) = { x i b i , b i a , d j a | i [ q ] , j [ 4 ] } . For every i [ t ] , let Q i be the graph with V ( Q i ) = { c i , s i , s i , t i , u i } and E ( Q i ) = { c i s i , s i s i , s i t i , t i u i , u i c i } . Let Q be the disjoint union of Q i , i [ t ] . Let G be the graph obtained from H and Q by adding the set of edges x i c j if and only if x i C j ; see Figure 4. It is simple to see that G is a bipartite graph. Set k = 4 t + 3 . We show that ( X , C ) has an exact cover if and only if G admits a TPRDF f with w ( f ) k .
Assume that ( X , C ) has an exact cover C . Define a TPRDF f on G by setting f ( x i ) = f ( b i ) = 0 for all i [ q ] ; set f ( a ) = 2 , set f ( d 4 ) = 1 , and set f ( d i ) = 0 for all i [ 3 ] . If C i C , set f ( c i ) = f ( s i ) = 2 and set f ( s i ) = f ( t i ) = f ( u i ) = 0 . If C i C , set f ( c i ) = f ( s i ) = 0 , set f ( s i ) = 2 , and set f ( t i ) = f ( u i ) = 1 . Since C is an exact cover, every vertex x i , i [ q ] , is adjacent to exactly one neighbor labeled 2. It easy to check that every vertex labeled 0 is adjacent to exactly one neighbor labeled 2, and G [ V 1 V 2 ] has no vertex v with d ( v ) = 0 . Thus, f is a TPRDF of weight w ( f ) = 4 t + 3 = k .
Conversely, assume that G admits a TPRDF f with w ( f ) k . Observe that f ( H ) 3 and f ( Q i ) 4 for all i [ t ] , so w ( f ) k . Then, w ( f ) = k , and therefore, f ( H ) = 3 and f ( Q i ) = 4 for all i [ t ] . As 4 > 3 , there exists i [ 4 ] such that f ( d i ) = 0 , so f ( a ) = 2 . As G [ V 1 V 2 ] has no vertex v with d ( v ) = 0 , a is adjacent to a vertex labeled 1. Therefore, f ( x i ) = 0 for all i [ q ] and f ( b i ) 2 for all i [ q ] . Thus, for all i [ q ] , x i is adjacent to exactly one vertex labeled 2, and this vertex is in the set { c 1 , , c t } . Then, C : = { C i C | f ( c i ) = 2 } is a solution. □
Exact Three-Cover (X3C)
  • Instance: A set X of size 3 q and a collection C of three-element subsets of X.
  • Question: Is there a sub-collection C´ of C such that every element of X appears in exactly one element of C´?
The exact three-cover is NP-complete [28].
Every instance of X3C corresponds to a bipartite graph B with the parts X and C, where x i C j E ( B ) if and only if x i C j . The instance ( X , C ) is called planar if B is a planar graph. The Planar Exact Three-Cover ( P-X3C) is NP-complete [29].
P-X3C
  • Instance: A set X of size 3 q , a collection C of three-element subsets of X; the associated graph B is planar.
  • Question: Is there a sub-collection C´ of C such that every element of X appears in exactly one element of C´?
If we use an instance of P-X3C in the proof of Theorem 5, the constructed graph G is a planar bipartite graph. A similar argument can be used to show that the instance of P-X3C has an exact cover if and only if G admits a TPRDF f with w ( f ) 4 t + 3 . Thus, we have the following corollary.
Corollary 2.
TPRD is NP-complete for planar bipartite graphs.

4. γ t R p ( G ) and γ p ( G )

In this section, we relate γ t R p ( G ) to γ p ( G ) , and we characterize trees T for which γ t R p ( T ) = 3 γ p ( T ) .
Proposition 5.
Let G be a graph with δ ( G ) 1 . Then, γ t R p ( G ) 3 γ p ( G ) . Moreover, if γ t R p ( G ) = 3 γ p ( G ) , then every PDS D with | D | = γ p ( G ) is a packing in G.
Proof. 
Let D be a PDS with | D | = γ p ( G ) . Assign a value of 2 to every vertex in D. For every vertex v D with d ( v ) = 0 , assign a value of 1 to an arbitrary neighbor u V ( G ) D of v, and assign a value of 0 to the other vertices of G. The result is a TPRDF f with w ( f ) 2 | D | + | D | = 3 γ p ( G ) . Thus, γ t R p ( G ) 3 γ p ( G ) .
Now, assume γ t R p ( G ) = 3 γ p ( G ) and D is not a packing in G. Then, there exist distinct vertices u , v D such that dist G ( u , v ) 2 . Choose u , v D such that dist G ( u , v ) is as small as possible. If dist G ( u , v ) = 2 , then the common neighbor of u and v is not in D and it is dominated by two vertices in D, a contradiction. Therefore, u and v are neighbors, and thus, u and v are not isolated vertices in D. We can use the same argument in the above paragraph to find a TPRDF f with w ( f ) 2 | D | + | D | 2 < 3 γ p ( G ) , which contradicts the assumption. Thus, the second statement holds. □
The upper bound in Proposition 5 is sharp. If G is a star graph K 1 , t with t 2 , then γ t R p ( G ) = 3 = 3 γ p ( G ) .
Let D : = { v 1 , , v k } be a PDS of a graph G with | D | = γ p ( G ) . For every i [ k ] , let V i = N G [ v i ] . Every vertex in V D is adjacent to exactly one vertex in D, and from Proposition 5, D is a packing in G. Thus, { V 1 , , V k } is a partition of V. We call it the partition associated with D.
Theorem 6.
Let G be a connected graph of order n 3 with δ ( G ) 1 . If γ t R p ( G ) = 3 γ p ( G ) and D is a PDS with | D | = γ p ( G ) , then the partition { V 1 , V 2 , , V k } associated with D satisfies the following statements:
(a)
For all i [ k ] ,   | V i | 3 ;
(b)
If a vertex v in V i is adjacent to parts V 1 , V m , where m 2 , | V j | = 3 for all j [ m ] and V i { V 1 , , V m } , then ( | E ( v , V j ) | 1 ) m 1 , where the sum is taken over all parts V j satisfying | E ( v , V j ) | 2 and | V j | 4 .
Proof. 
Assume that γ t R p ( G ) = 3 γ p ( G ) , and assume that D is a perfect domination set with | D | = γ p ( G ) . Observe that, for every i [ k ] ,   | V i | 1 as G is connected. Therefore, | V i | 2 for all i [ k ] . Assume that there exists i [ k ] such that | V i | = 2 . We define a TPRDF f on G. For each i [ k ] with | V i | = 2 , assign 1 to every vertex in V i . For each i [ k ] with | V i | 3 , assign 2 to v i , assign 1 to an arbitrary neighbor of v i , and assign 0 to the other vertices in V i . Thus, γ t R p ( G ) w ( f ) 2 + 3 ( k 1 ) < 3 | D | = 3 γ p ( G ) , a contradiction. Therefore, | V i | 3 for all i [ k ] , and thus, the first condition holds.
For the second condition, assume that there exists a vertex v in V i such that v is adjacent to u 1 V 1 , ⋯, u m V m , where m 2 , | V j | = 3 for all j [ m ] and V i { V 1 , , V m } . As D is a packing, { u 1 , , u m } { v 1 , , v k } = Ø . Let q : = | { V j | E ( v , V j ) | 2 and | V j | 4 } | , and let s : = | { V j | E ( v , V j ) | 1 and | V j | 4 } | . Assume for contradiction that ( | E ( v , V j ) | 1 ) < m 1 , where the sum is over all V j satisfying | E ( v , V j ) | 2 and | V j | 4 . Define a TPRDF f as follows. If | V i | = 3 , assign 2 to v and 1 to the other vertices in V i . If | V i | 4 , assign 2 to v and v i , assign 1 to the other neighbors of v in V i (if there is any), and assign 0 to the other vertices in V i . If | V j | 4 and E ( v , V j ) = Ø , then assign 2 to v j and assign a value of 1 to an arbitrary neighbor of v j and assign 0 to the other vertices of V j . If | V j | 4 and E ( v , V j ) Ø , j i , then assign a value of 2 to v j , assign 1 to every neighbor of v in V j , and assign 0 to the other vertices in V j . Assign 0 to every vertex in { u 1 , , u m } , and assign 1 to each of the other vertices of l [ m ] V l . If | V j | = 3 , j i and V j { V 1 , V m } , assign 1 to every vertex in V j . Thus,
γ t R p ( G ) w ( f ) 2 m + 3 s + 3 q + ( | E ( v , V j ) | 1 ) + 3 ( k m q s ) + 1 < 2 m + m 1 + 3 k 3 m + 1 = 3 k = γ p ( G ) ,
where the sum ( | E ( v , V j ) | 1 ) is over all parts V j satisfying | E ( v , V j ) | 2 and | V j | 4 . This contradicts the assumption that γ t R p ( G ) = 3 γ p ( G ) . Thus, the second condition holds. □
We remark that the previous theorem is a one-way direction, and it is not reversible. Consider the graph given in Figure 5. Let D be the set of all support vertices in G, then D is a PDS. Therefore, γ p ( G ) 7 , and it is not difficult to check that γ p ( G ) = 7 and D is the unique PDS with | D | = γ p ( G ) . Observe that the partition associated with D satisfies the two conditions in Theorem 6. The labeling in Figure 5 gives a TPRDF on G with the weight equal to 20. Thus, γ t R p ( G ) < 3 γ p ( G ) .
While we could not give a characterization for graphs G for which γ t R p ( G ) = 3 γ p ( G ) , we give next a constructive characterization for trees T for which γ t R p ( T ) = 3 γ p ( T ) .
Definition 2.
Let G = ( V , E ) be a graph. The function f : V { 0 , 1 , 2 } is called nearly TPRDF on G with respect to v V ( G ) if the following three conditions hold:
(1)
For every u V { v } with f ( u ) = 0 , there exists exactly one vertex w N ( u ) with f ( w ) = 2 ;
(2)
For every u V { v } with f ( u ) 1 , there exists a vertex w N ( u ) with f ( w ) 1 ;
(3)
f ( v ) 1 or there exists exactly one vertex w N ( v ) with f ( w ) = 2 .
Let γ t R p ( G , v ) : = min { w ( f ) | f be a nearly TPRDF on G with respect to v } .
Observe that every TPRDF on G is a nearly TPRDF on G with respect to v, where v is any vertex in G. Therefore, γ t R p ( G , v ) γ t R p ( G ) , where v is any vertex in G. Let W 1 ( G ) = { v V ( G ) | γ t R p ( G , v ) = γ t R p ( G ) } . Let W 2 ( G ) = { x V ( G ) | x D for some γ p ( G ) - set D } .
Definition 3.
Let G be a graph, and v V ( G ) . We say that v has property A in G if there exists a TPRDF f on G such that w ( f ) = γ t R p ( G ) and f ( v ) = 2 . Let W 3 ( G ) = { v V ( G ) | v not have Property A in G } .
Let T be the family of trees T k that can be constructed from a sequence of trees T 1 , , T k ( k 1 ) , where T 1 = P 3 , and if k 2 , T i + 1 is obtained from T i by one of the following three operations, where 1 i k 1 :
  • Operation 1. Attaching a new vertex y to a strong support vertex x T i .
  • Operation 2. Adding a star K 1 , 3 to T i by joining a leaf in K 1 , 3 to a vertex x W 1 ( T i ) W 2 ( T i ) .
  • Operation 3. Attaching a path P 3 to a vertex x W 1 ( T i ) W 3 ( T i ) .
Theorem 7.
If T T , then γ t R p ( T ) = 3 γ p ( T ) .
Proof. 
Let T k T , then T k is obtained from a sequence T 1 , , T k as described above. We proceed by induction on k. If k = 1 , then T 1 = P 3 and γ t R p ( P 3 ) = 3 γ p ( P 3 ) . This establishes the base step. Assume that k 2 and the statement holds for every i where 1 i k 1 . Therefore, γ t R p ( T k 1 ) = 3 γ p ( T k 1 ) . □
Claim 2.
If T k is obtained from T k 1 by Operation 1, then γ t R p ( T k ) = 3 γ p ( T k ) .
Proof. 
It is clear that γ p ( T k ) = γ p ( T k 1 ) and γ t R p ( T k ) γ t R p ( T k 1 ) . Therefore, γ t R p ( T k ) γ t R p ( T k 1 ) = 3 γ p ( T k 1 ) = 3 γ p ( T k ) . Thus, γ t R p ( T k ) = 3 γ p ( T k ) , and we are done. □
Claim 3.
If T k is obtained from T k 1 by Operation 2, then γ t R p ( T k ) = 3 γ p ( T k ) .
Proof. 
Let V ( K 1 , 3 ) = { y , y 1 , y 2 , y 3 } , where x y 1 E ( T k ) and d ( y ) = 3 . Let D be a γ p ( T k 1 ) -set such that x D . We know that D exists as x W 2 ( T k 1 ) . It is clear that D { y } is a PDS of T k . Therefore, γ p ( T k ) γ p ( T k 1 ) + 1 . Let f be a TPRDF on T k with w ( f ) = γ t R p ( T k ) . It is clear that f ( y ) + f ( y 1 ) + f ( y 2 ) + f ( y 3 ) 3 . If f ( x ) 1 , then the restriction of f on T k 1 is a nearly TPRDF on T k 1 with respect to x. As x W 1 ( T k 1 ) , γ t R p ( T k 1 ) = γ t R p ( T k 1 , x ) γ t R p ( T k ) 3 . Now,
γ t R p ( T k ) 3 γ t R p ( T k 1 ) = 3 γ p ( T k 1 ) 3 γ p ( T k ) 3 .
Thus, γ t R p ( T k ) = 3 γ p ( T k ) . Therefore, we may assume that f ( x ) = 0 . If f ( y 1 ) 2 , then the restriction of f on T k 1 is a nearly TPRDF on T k 1 with respect to x. Similar to the above argument, we obtain γ t R p ( T k ) = 3 γ p ( T k ) . Therefore, we may assume that f ( y 1 ) = 2 , so f ( y ) + f ( y 1 ) + f ( y 2 ) + f ( y 3 ) 4 . Define a nearly TPRDF g on T k 1 with respect to x by setting g ( x ) = 1 and g ( u ) = f ( u ) for every u T k 1 { x } . Therefore, w ( g ) γ t R p ( T k ) 3 . By using an argument similar to the above, we obtain γ t R p ( T k ) = 3 γ p ( T k ) , and we are done. □
Claim 4.
If T k is obtained from T k 1 by Operation 3, then γ t R p ( T k ) = 3 γ p ( T k ) .
Proof. 
Let P 3 = y 1 y 2 y 3 , where x y 3 T k . Let D be a γ p ( T k 1 ) -set. If x D , then D { y 1 } is a PDS of T k ; if x D , then D { y 2 } is a PDS of T k . Thus, γ p ( T k ) γ p ( T k 1 ) + 1 .
Let h be a TPRDF on T k with w ( h ) = γ t R p ( T k ) . It is clear that h ( y 1 ) + h ( y 2 ) 2 . Assume that h ( y 1 ) + h ( y 2 ) + h ( y 3 ) = 2 . Then, y 1 , y 2 are assigned 1 under h, and y 3 is assigned 0 under h, so h ( x ) = 2 , so the restriction of h on T k 1 is a TPRDF on T k 1 . As x W 3 ( T k 1 ) , γ t R p ( T k ) γ t R p ( T k 1 ) + 3 . Now,
γ t R p ( T k ) γ t R p ( T k 1 ) + 3 = 3 γ p ( T k 1 ) + 3 3 γ p ( T k ) .
Thus, γ t R p ( T k ) = 3 γ p ( T k ) , as desired. We may assume now that h ( y 1 ) + h ( y 2 ) + h ( y 3 ) 3 . If h ( x ) 1 , then the restriction of h on T k 1 is a nearly TPRDF with respect to x. As x W 1 ( T k 1 ) , γ t R p ( T k ) γ t R p ( T k 1 ) + 3 . Similar to the above, we obtain γ t R p ( T k ) = 3 γ p ( T k ) . If h ( x ) = 0 and h ( y 3 ) 2 , then the restriction of h on T k 1 is a nearly TPRDF with respect to x; thus γ t R p ( T k ) γ t R p ( T k 1 ) + 3 . Again, we obtain γ t R p ( T k ) = 3 γ p ( T k ) . If h ( x ) = 0 and h ( y 3 ) = 2 , then h ( y 1 ) + h ( y 2 ) + h ( y 3 ) = 4 ; define a nearly TPRDF g on T k 1 with respect to x by setting g ( x ) = 1 and g ( u ) = h ( u ) for all u T k 1 { x } , then γ t R p ( T k ) γ t R p ( T k 1 ) + 3 . Thus, we obtain γ t R p ( T k ) = 3 γ p ( T k ) , as desired. □
Theorem 8.
If γ t R p ( T ) = 3 γ p ( T ) for some tree T of order n 3 , then T T .
Proof. 
We proceed by induction on n. If n = 3 , then T = P 3 . It is clear that γ t R p ( P 3 ) = 3 γ p ( P 3 ) and P 3 T . This establishes the base step. Let n 4 , and assume that the statement holds for every k, 3 k < n , that is if T is a tree of order k and γ t R p ( T ) = 3 γ p ( T ) , then T T . Let T be a tree of order n and γ t R p ( T ) = 3 γ p ( T ) . Let f be a TPRDF on T with w ( f ) = γ t R p ( T ) . If diam ( T ) = 2 , then T is a star graph, so T is obtained from P 3 by iteratively applying Operation 1. Thus, T T . If diam ( T ) = 3 , then T is a double-star graph, and it is clear that γ t R p ( T ) < 3 γ p ( T ) , so we must have diam ( T ) 4 . Let P : = v 1 v 2 v r be a diametral path in T, so r 5 . Root the tree at v r . □
Claim 5.
If d ( v 2 ) 4 , then T T .
Proof. 
Since P is a diametral path, v 2 is adjacent to at least three leaves, and v 3 is the only non-leaf neighbor of v 2 , it is clear that γ p ( T v 1 ) = γ p ( T ) . Let g be a TPRDF on T v 1 with w ( g ) = γ t R p ( T v 1 ) and g ( v 2 ) be the maximum possible. Clearly g ( v 2 ) = 2 . Define a TPRDF h on T by setting f ( v 1 ) = 0 and f ( u ) = g ( u ) for every u T v 1 . Then, γ t R p ( T ) γ t R p ( T v 1 ) . Now,
γ t R p ( T v 1 ) γ t R p ( T ) = 3 γ p ( T ) = 3 γ p ( T v 1 ) .
Thus, γ t R p ( T v 1 ) = 3 γ p ( T v 1 ) . From the induction hypothesis, T v 1 T , and T is obtained from T v 1 by applying Operation 1. Thus, T T , as desired. □
Claim 6.
If d ( v 2 ) = 3 , then T T .
Proof. 
Denote the leaf adjacent to v 2 that is different from v 1 by y. Assume that d ( v 3 ) 3 . Then, v 3 has a neighbor v { v 2 , v 4 } . As P is a diametral path, v is either a support vertex or a leaf. Let T 1 = T { y , v 1 , v 2 } . Assume that v is a strong support vertex or a leaf. Let D be a γ p ( T ) -set. It is clear that v 2 D , and it is not difficult to see that v 3 D . Therefore, D { v 2 } is a PDS of T 1 , and therefore, γ p ( T 1 ) γ p ( T ) 1 . Fix a TPRDF g on T 1 with w ( g ) = γ t R p ( T 1 ) and g ( v 3 ) the maximum possible. Clearly, g ( v 3 ) 1 . Define a TPRDF f on T by setting f ( v 1 ) = f ( y ) = 0 , f ( v 2 ) = 2 , and f ( u ) = g ( u ) for every u T 1 , so γ t R p ( T ) γ t R p ( T 1 ) + 2 . Now, γ t R p ( T ) γ t R p ( T 1 ) + 2 3 γ p ( T 1 ) + 2 3 γ p ( T ) 1 , a contradiction. Therefore, we may assume that v is a weak support vertex. Denote the leaf adjacent to v by z. Let T 2 = T { v , z } . It is simple to see that γ p ( T 2 ) γ p ( T ) 1 . Let g be a TPRDF on T 2 such that w ( g ) = γ t R p ( T 2 ) . We can extend g to a TPRDF on T by setting g ( v ) = g ( z ) = 1 , so γ t R p ( T ) γ t R p ( T 2 ) + 2 , which results in a contradiction, as in the previous case. Thus, we must have d ( v 3 ) = 2 .
Let D be a γ p ( T ) -set such that D contains as much support vertices as possible; clearly v 2 D . Let T 3 = T { y , v 1 , v 2 , v 3 } . Let g be a TPRDF on T 3 ; define a TPRDF f on T by setting f ( y ) = f ( v 1 ) = 0 , f ( v 2 ) = 2 , f ( v 3 ) = 1 , and f ( u ) = g ( u ) for every u V ( T 3 ) . Therefore, γ t R p ( T ) γ t R p ( T 3 ) + 3 . If v 4 D or { v 3 , v 4 } D = Ø , then D V ( T 3 ) is a PDS of T 3 . Therefore, γ p ( T 3 ) γ p ( T ) 1 . Therefore,
γ t R p ( T 3 ) γ t R p ( T ) 3 = 3 γ p ( T ) 3 3 γ p ( T 3 ) .
Thus, γ t R p ( T 3 ) = 3 γ p ( T 3 ) . We may assume now that v 3 D and v 4 D . Clearly, v 4 cannot be adjacent to a leaf or a strong support vertex. If v 4 is adjacent to a weak support vertex u, then u is a neighbor of a leaf w D ; now, ( D { v 2 , v 3 , w } ) { u } is a PDS of T 3 . Therefore, γ p ( T 3 ) γ p ( T ) 2 , which results in γ t R p ( T 3 ) > 3 γ p ( T 3 ) , a contradiction. If v 4 u E for some u, where T u is a tree with diam = 2 , then it is not difficult to see that there exists a PDS D of T 3 containing u (and it does not contain v 4 ) and | D | | D | 1 . Therefore, again, we obtain γ t R p ( T 3 ) = 3 γ p ( T 3 ) . It remains the case that d ( v 4 ) = 2 . We claim that this case is impossible, so assume on the contrary that d ( v 4 ) = 2 . Let T 4 = T { y , v 1 , v 2 , v 3 , v 4 } . As v 3 D and v 4 D , D { v 2 , v 3 } is a PDS of T 4 , so γ p ( T 4 ) γ p ( T ) 2 . Let g be a TPRDF on T 4 ; define a TPRDF f on T by setting f ( y ) = f ( v 1 ) = 0 , f ( v 2 ) = 2 , f ( v 3 ) = f ( v 4 ) = 1 . Then, γ t R p ( T ) γ t R p ( T 4 ) + 4 . Now,
γ t R p ( T ) γ t R p ( T 4 ) + 4 3 γ p ( T 4 ) + 4 3 γ p ( T ) 2 ,
a contradiction. Hence, T is obtained from T 3 by joining a star graph K 1 , 3 to v 4 , and γ t R p ( T 3 ) = 3 γ p ( T 3 ) . From the induction hypothesis, T 3 T .
It remains to show that v 4 W 1 ( T 3 ) W 2 ( T 3 ) . Assume that v 4 W 1 ( T 3 ) . Then, there exists a nearly TPRDF g on T 3 with respect to v 4 with w ( g ) < γ t R p ( T 3 ) . Define a TPRDF f on T by setting f ( y ) = f ( v 1 ) = 0 , f ( v 2 ) = 2 , f ( v 3 ) = 1 , and f ( u ) = g ( u ) for every u T 3 . Therefore, γ t R p ( T ) γ t R p ( T 3 ) + 2 = 3 γ p ( T 3 ) + 2 , which results in a contradiction. Thus, v 4 W 1 ( T 3 ) . Assume that v 4 W 2 ( T 3 ) . Then, v 4 D for every γ p ( T 3 ) -set D . Let D be a γ p ( T ) -set such that D contains as much support vertices as possible. Clearly v 2 D . Assume that v 4 D . Then, v 3 D . Now, D V ( T 3 ) is a PDS of T 3 , so γ p ( T 3 ) γ p ( T ) 2 . Then,
3 γ t R p ( T 3 ) 3 γ p ( T ) 6 = γ t R p ( T ) 6 γ t R p ( T 3 ) 3 ,
a contradiction. Therefore, assume that v 4 D . If v 3 D , we have seen before that there exists a PDS D of T 3 with v 4 D and | D | | D | 1 ; as v 4 W 2 ( T 3 ) , we obtain γ p ( T 3 ) γ p ( T ) 2 , which again leads to a contradiction. If v 3 D , then D V ( T 3 ) is a PDS of T 3 , but it is not a γ p ( T 3 ) -set, so γ p ( T 3 ) γ p ( T ) 2 , which results in a contradiction. Hence, v 4 W 2 ( T 3 ) , as desired. □
Claim 7.
If d ( v 2 ) = 2 then T T .
Proof. 
We show first that d ( v 3 ) = 2 . Assume on the contrary that d ( v 3 ) 3 . Then, v 3 is adjacent to a vertex v { v 2 , v 4 } , and v is either a support vertex or a leaf. Let T 1 = T { v 1 , v 2 } . It is not difficult to see that γ p ( T 1 ) γ p ( T ) 1 and γ t R p ( T ) γ t R p ( T 1 ) + 2 . Now, 3 γ p ( T 1 ) 3 γ p ( T ) 3 = γ t R p ( T ) 3 γ t R p ( T 1 ) 1 , a contradiction. Thus, d ( v 3 ) = 2 .
Let D be a γ p ( T ) -set. We show that having v 4 D and v 3 D is not possible. Therefore, assume that v 4 D and v 3 D . Let T 2 = T { v 1 , v 2 } . It is simple to see that γ p ( T 2 ) γ ( T ) 1 and γ t R p ( T ) γ t R p ( T 2 ) + 2 , which results in a contradiction, as desired.
Let T 3 = T { v 1 , v 2 , v 3 } . If v 4 D , then D V ( T 3 ) is a PDS of T 3 , so γ p ( T 3 ) γ p ( T ) 1 . If v 4 D , then v 3 D ; again, D V ( T 3 ) is a PDS of T 3 , so we obtain γ p ( T 3 ) γ p ( T ) 1 . It is not difficult to see that γ t R p ( T ) γ t R p ( T 3 ) + 3 . Now,
γ t R p ( T ) γ t R p ( T 3 ) + 3 3 γ p ( T 3 ) + 3 3 γ p ( T ) ;
thus, γ t R p ( T 3 ) = 3 γ p ( T 3 ) . From the induction hypothesis, T 3 T .
It remains to show that v 4 W 1 ( T 3 ) W 3 ( T 3 ) . Assume on the contrary that v 4 W 1 ( T 3 ) . Then, there exists a nearly TPRDF g on T 3 with respect to v 4 with w ( g ) γ p ( T 3 ) 1 . Define a TPRDF f on T by setting f ( v 1 ) = 0 , f ( v 2 ) = 2 , f ( v 3 ) = 1 , and f ( u ) = g ( u ) for every u V ( T 3 ) . Now,
γ t R p ( T ) w ( g ) + 3 γ t R p ( T 3 ) + 2 = 3 γ p ( T 3 ) + 2 3 γ p ( T ) 1 ,
a contradiction. Thus, v 4 W 1 ( T 3 ) . Assume on the contrary that v 4 W 3 ( T 3 ) . Then, there exists a TPRDF g on T 3 with w ( g ) = γ t R p ( T 3 ) and g ( v 4 ) = 2 . Define a TPRDF f on T by setting f ( v 1 ) = f ( v 2 ) = 1 , f ( v 3 ) = 0 , and f ( u ) = g ( u ) for every u V ( T 3 ) . Therefore, γ t R p ( T ) γ t R p ( T 3 ) + 2 , which results in a contradiction. Thus, v 4 W 3 ( T 3 ) . □
We obtain the following main result from Theorems 7 and 8.
Theorem 9.
Let T be a tree with | T | 3 . Then, γ t R p ( T ) = 3 γ p ( T ) if and only if T T .

5. Conclusions

In this paper, we introduced a Roman domination variant called total perfect Roman domination. This variant combines two previously introduced Roman domination variants named total Roman domination and perfect Roman domination. In this paper, we determined the tight upper bound for the total perfect Roman domination number, and we characterized graphs witnessing this bound. We also proved that the total perfect Roman domination problem is NP-complete for chordal graphs, bipartite graphs, and planar bipartite graphs. We showed that, for any graph, the total perfect Roman domination number is bounded above by three-times the perfect domination number, and we characterized trees attaining this bound.

6. Open Problems

We end this research with the following problems:
Problem 1: Characterize graphs G for which γ t R p ( G ) = 3 γ p ( G ) .
Problem 2: Let k > 1 . Characterize graphs G for which γ t R p ( G ) = 2 γ R p ( G ) k .

Funding

The author extends her appreciation to the Deputyship for Research and Innovation, Ministry of Education in Saudi Arabia for funding this research work through the project number INST198.

Data Availability Statement

No new data were created or analyzed in this study.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Stewart, I. Defend the Roman Empire! Sci. Am. 1999, 281, 136–138. [Google Scholar] [CrossRef]
  2. ReVelle, C. Can you protect the Roman Empire? Johns Hopkins 1997, 49, 40. Available online: https://pages.jh.edu/jhumag/0497web/locate3.html (accessed on 28 August 2023).
  3. ReVelle, C.; Rosing, K. Defendens Imperium Romanum: A classical problem in military strategy. Am. Math. Mon. 1997, 107, 585–594. [Google Scholar] [CrossRef]
  4. Cockayne, E.J.; Dreyer, P.A., Jr.; Hedetniemi, S.M.; Hedetniemi, S.T. Roman domination in graphs. Discrete Math. 2004, 278, 11–22. [Google Scholar] [CrossRef]
  5. Henning, M.A.; Klostermeyer, W.F.; MacGillivray, G. Perfect Roman domination in trees. Discrete Appl. Math. 2018, 236, 235–245. [Google Scholar] [CrossRef]
  6. Almulhim, A.; Akwu, A.D.; AlSubaiei, B. The perfect Roman domination number of the Cartesian product of some graphs. J. Math. 2022, 2022, 1957027. [Google Scholar] [CrossRef]
  7. Chellali, M.; Haynes, T.W.; Hedetniemi, S.T.; McRae, A.A. Roman 2-domination. Discrete Appl. Math. 2016, 204, 22–28. [Google Scholar] [CrossRef]
  8. Henning, M.A.; Klostermeyer, W.F. Italian domination in trees. Discrete Appl. Math. 2017, 217, 557–564. [Google Scholar] [CrossRef]
  9. Haynes, T.W.; Henning, M.A. Perfect Italian domination in trees. Discrete Appl. Math. 2019, 260, 164–177. [Google Scholar] [CrossRef]
  10. Beeler, R.A.; Haynes, T.W.; Hedetniemi, S.T. Double Roman domination. Discrete Appl. Math. 2016, 211, 23–29. [Google Scholar] [CrossRef]
  11. Egunjobi, A.T.; Haynes, T.W. Perfect double Roman domination of trees. Discrete Appl. Math. 2020, 284, 71–85. [Google Scholar] [CrossRef]
  12. Mojdeh, D.A.; Volkmann, L. Roman {3}-domination (double Italian domination). Discrete Appl. Math. 2020, 283, 555–564. [Google Scholar] [CrossRef]
  13. Ahangar, H.A.; Henning, M.A.; Samodivkin, V.; Yero, I.G. Total Roman domination in graphs. Appl. Anal. Discrete Math. 2016, 10, 501–517. [Google Scholar] [CrossRef]
  14. Amjadi, J.; Sheikholeslami, S.M.; Soroudi, M. On the total Roman domination in trees. Discuss Math. Graph Theory 2019, 39, 519–532. [Google Scholar] [CrossRef]
  15. Naresh Kumar, H.; Venkatakrishnan, Y. Trees with vertex-edge Roman domination number twice the domination number minus one. Proyecciones J. Math. 2020, 39, 1381–1392. [Google Scholar] [CrossRef]
  16. AlSubaiei, B.; Almulhim, A.; Akwu, A.D. Vertex-edge perfect Roman domination number. Aims Math. 2023, 8, 21472–21483. [Google Scholar] [CrossRef]
  17. Biggs, N. Perfect codes in graphs. J. Comb. Theory Ser. B 1973, 15, 289–296. [Google Scholar] [CrossRef]
  18. Kim, K. Perfect Roman domination in middle graphs. arXiv 2021, arXiv:2106.01539. [Google Scholar]
  19. Zehui, S.; Saeed, K.; Hadi, R.; Mehdi, S.; Seyed Mahmoud, S. Strong equality of Roman and perfect Roman domination in trees. RAIRO Oper. Res. 2022, 56, 381–394. [Google Scholar]
  20. Liu, C.; Chang, G.J. Roman domination on strongly chordal graphs. J. Comb. Optim. 2013, 26, 608–619. [Google Scholar] [CrossRef]
  21. Martínez, A.C.; García, S.C.; García, A.C. Further results on the total Roman domination in graphs. Mathematics 2020, 8, 349. [Google Scholar] [CrossRef]
  22. Ahangar, H.A. Trees with total Roman domination number equal to Roman domination number plus its domination number: Complexity and structural properties. AKCE Int. J. Graphs Comb. 2022, 19, 74–78. [Google Scholar] [CrossRef]
  23. Zhang, X.; Song, X.; Li, R. Total Roman domination on the digraphs. Open Math. 2023, 21, 20220575. [Google Scholar] [CrossRef]
  24. Darja Rupnik, P.; Janez, Ž. Double Roman domination in generalized Petersen graphs P(ck, k). Symmetry 2022, 14, 1121. [Google Scholar] [CrossRef]
  25. Zec, T.; Grbić, M. Several Roman domination graph invariants on Kneser graphs. arXiv 2023, arXiv:2204.05664v3. [Google Scholar] [CrossRef]
  26. Yue, J.; Song, J. Note on the perfect Roman domination number of graphs. Appl. Math. Comput. 2020, 364, 124685. [Google Scholar] [CrossRef]
  27. Karp, R.M. Reducibility among combinatorial problems. In Complexity of Computer Computations; Raymond, E.M., Thatcher, J.W., Eds.; Springer: New York, NY, USA, 1972; pp. 85–103. [Google Scholar]
  28. Garey, M.R. Computers and Intractability: A Guide to the Theory of NP-Completeness; W. H. Freeman: New York, NY, USA, 1979. [Google Scholar]
  29. Dyer, M.E.; Frieze, A.M. Planar 3DM is NP-complete. J. Algorithms 1986, 7, 174–184. [Google Scholar] [CrossRef]
Figure 1. Roman, perfect Roman, and total perfect Roman dominating functions for the Roman Empire.
Figure 1. Roman, perfect Roman, and total perfect Roman dominating functions for the Roman Empire.
Symmetry 15 01676 g001
Figure 2. The complete tripartite graph K 5 , 5 , 5 .
Figure 2. The complete tripartite graph K 5 , 5 , 5 .
Symmetry 15 01676 g002
Figure 3. The chordal graph G.
Figure 3. The chordal graph G.
Symmetry 15 01676 g003
Figure 4. The bipartite graph G.
Figure 4. The bipartite graph G.
Symmetry 15 01676 g004
Figure 5. A graph G with γ t R p ( G ) < 3 γ p ( G ) .
Figure 5. A graph G with γ t R p ( G ) < 3 γ p ( G ) .
Symmetry 15 01676 g005
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Almulhim, A. Total Perfect Roman Domination. Symmetry 2023, 15, 1676. https://doi.org/10.3390/sym15091676

AMA Style

Almulhim A. Total Perfect Roman Domination. Symmetry. 2023; 15(9):1676. https://doi.org/10.3390/sym15091676

Chicago/Turabian Style

Almulhim, Ahlam. 2023. "Total Perfect Roman Domination" Symmetry 15, no. 9: 1676. https://doi.org/10.3390/sym15091676

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop