Next Article in Journal
Sehgal–Guseman-Type Fixed Point Theorem in b-Rectangular Metric Spaces
Previous Article in Journal
On g-Noncommuting Graph of a Finite Group Relative to Its Subgroups
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Packing Partitioning Problem on Directed Graphs

1
Department of Mathematics, Faculty of Mathematical Sciences, Alzahra University, Tehran 1993893973, Iran
2
Departamento de Matemáticas, Universidad de Cádiz, 11202 Algeciras, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(23), 3148; https://doi.org/10.3390/math9233148
Submission received: 26 October 2021 / Revised: 30 November 2021 / Accepted: 2 December 2021 / Published: 6 December 2021
(This article belongs to the Section Mathematics and Computer Science)

Abstract

:
This work is aimed to continue studying the packing sets of digraphs via the perspective of partitioning the vertex set of a digraph into packing sets (which can be interpreted as a type of vertex coloring of digraphs) and focused on finding the minimum cardinality among all packing partitions for a given digraph D, called the packing partition number of D. Some lower and upper bounds on this parameter are proven, and their exact values for directed trees are given in this paper. In the case of directed trees, the proof results in a polynomial-time algorithm for finding a packing partition of minimum cardinality. We also consider this parameter in digraph products. In particular, a complete solution to this case is presented when dealing with the rooted products.

1. Introduction and Preliminaries

Graph partitions are universally extended procedures for equilibrating a property of a graph into smaller pieces of it. For instance, the graph partitioning problem is understood as that of dividing the vertices of a graph into sets of specified sizes such that few edges cross between sets. However, in our opinion, a graph partitioning problem should have a surname since one can partition a (directed) graph by using many different manners. Indeed, we can find countless ways of partitioning a (directed) graph according to features concerning the vertices and/or (arcs) edges of the (directed) graph.
Problems regarding the coloring of graphs are typically the most common, since finding a coloring of a (directed) graph consists of finding a partition of the graph into sets of vertices with a same color (independently of the colorability condition required). According to the wideness and popularity of a large number of the existent types of graph partitions, we shall not enumerate examples of partitions of any kind. Instead, we directly proceed to discuss the main goal of our exposition, which is aimed to develop some combinatorial properties of partitioning a directed graph (a digraph from now on) into packing sets, which, in fact, can be interpreted as a type of vertex coloring of the digraph.
Throughout this paper, we consider D = ( V ( D ) , A ( D ) ) as a finite digraph with vertex set V ( D ) and arc set A ( D ) with neither loops nor multiple arcs (although pairs of opposite arcs are allowed). G = ( V ( G ) , E ( G ) ) stands for a simple finite graph with vertex set V ( G ) and edge set E ( G ) . We use [1,2] as references for some basic terminology and notation in digraphs and graphs, respectively, which are not explicitly defined here.
For any two vertices u , v V ( D ) , we write u v as the arc with direction from u to v and say u is adjacent to v (u dominates v) or v is adjacent from u (v is dominated by u). For a vertex v V ( D ) , the out-neighborhood of v (in-neighborhood of v) is N D + ( v ) = { u V ( D ) v u A ( D ) } ( N D ( v ) = { u V ( D ) u v A ( D ) } ).
Moreover, N D + [ v ] = N D + ( v ) { v } ( N D [ v ] = N D ( v ) { v } ) is the closed out-neighborhood (closed in-neighborhood) of v. The out-degree and in-degree of v V ( D ) are deg D + ( v ) = | N D + ( v ) | and deg D ( v ) = | N D ( v ) | , respectively. In addition, for a digraph D, Δ + ( D ) and δ + ( D ) represent the maximum and minimum out-degrees, and Δ ( D ) and δ ( D ) represent the maximum and minimum in-degrees of D. The vertex v is called a source (sink) if deg D ( v ) = 0 ( deg D + ( v ) = 0 ). We say that a vertex v dominates all vertices in its closed out-neighborhood. The complement D ¯ of a digraph D is a digraph with the vertex set V ( D ) in which u v A ( D ¯ ) if and only if u v A ( D ) .
The eccentricity of a vertex u in a graph G is ε G ( u ) = max v V ( G ) d G ( u , v ) , where d G ( u , v ) stands for the distance between u and v. A digraph D is connected if its underlying graph is connected. A directed tree is an orientation of a tree (as a graph). A biorientation of a graph G is a digraph D, which is obtained from G by replacing each edge with end-points x and y by either the arcs x y or y x , or the pair of arcs x y and y x . A bipartite digraph is a biorientation of a bipartite graph.
A set B V ( D ) is a packing set, or simply a packing, in a digraph D if N D [ u ] N D [ v ] = for any two distinct vertices u , v B . An equivalent definition of a packing in a digraph, and the one we prefer, is the following. A set B V ( D ) is a packing in a digraph D if | N D + [ v ] B | 1 for all v V ( D ) . Notice that, among other things, this means that if a vertex v belongs to a packing set S in a digraph D, then none of its out-neighbors belongs to S. The packing number ρ ( D ) is the largest possible number of vertices in a packing in D.
For all four standard products of digraphs D and F, the vertex set is V ( D ) × V ( F ) . Their arc sets are defined as follows.
  • In the Cartesian product  D F , ( x , y ) is adjacent to ( x , y ) if “ x = x and y y A ( F ) ” or “ x x A ( D ) and y = y ”.
  • In the direct product  D × F , ( x , y ) is adjacent to ( x , y ) if x x A ( D ) and y y A ( F ) .
  • The arc set of the strong product  G H is the union of A ( D F ) and A ( D × F ) .
  • ( x , y ) is adjacent to ( x , y ) in the lexicographic product D F if “ x x A ( D ) ” or “ x = x and y y A ( F ) ”.
Note also that all these four products are associative, and only the first three are commutative. The map π D : V ( D * F ) V ( D ) , defined by π D ( ( x , y ) ) = x , is called a projection map onto D, for * { , × , , } . The projection map onto F can be similarly defined. For a comprehensive treatment of the major topics in digraph products, we refer the reader to the books [3,4].
In this paper, our main focus is given to the vertex partitioning of a digraph D into packing sets. Such a vertex partition of any digraph D always exists, as { { x } x V ( D ) } is a trivial one. In fact, a challenging problem is to find a smallest partition of this type or its cardinality. More formally, we have the following definition.
Definition 1.
A packing partition, or P-partition for short, of a digraph D is a partition of V ( D ) into packing sets. The packing partition number p ( D ) is the cardinality of a smallest possible P-partition of D.
Assume now that we have a system with a given number of radio stations. We need to assign a frequency to each station. Due to interference, the stations that are “close” to each other might need to receive different frequencies. Such problems are commonly arising while managing frequency assignments of base stations in cellular phone networks for instance. In a digraph model D of such a system, the vertices represent the radio stations, and an arc x y indicates that the station x sends signals to the station y and that they are “near” to each other by using some kind of established “distance” framework.
For the sake of readability/realizability, any station might require receiving signals with different frequencies from its in-neighbors. This means that the vertices/stations in N D ( v ) receive different frequencies (labels that can be understood as positive integers) for each radio station (vertex) v. The set of all frequencies assigned to the whole set of radio stations clearly forms a partition of the set of radio stations by putting together in a same set of such partition those radio stations with the same frequency.
In this digraph model, and requiring a system with the smallest possible number of assigned frequencies, we can now readily observe that p ( D 1 ) equals the minimum number of frequencies, which must be assigned to the stations in order to satisfy the above-mentioned conditions (here D 1 is the digraph obtained by reversing the direction of every arc of D).
An equivalent definition for the parameter p ( D ) can be stated by using functions. Given a function f : V ( D ) { 1 , , k } of a digraph D, we set U i f = { v V ( D ) f ( v ) = i } for each 1 i k . We usually omit the superscript f if there is no ambiguity with respect to the function and write f = ( U 1 , , U k ) .
Definition 2.
A function f : V ( D ) { 1 , , k } is a packing partitioning function, or PP-function for short, if it satisfies the following properties:
(a) f ( x ) f ( x ) for any arc x x , and
(b)no vertex x is adjacent to two vertices x and x with f ( x ) = f ( x ) .
The minimum k for which a digraph D admits a PP-function f : V ( D ) { 1 , , k } represents the packing partition number of D and is denoted p ( D ) .
Note that any PP-function f : V ( D ) { 1 , , k } gives a P-partition { U 1 f , , U k f } of the digraph D. Throughout this paper, by a ρ ( D ) -set and a p ( D ) -partition, we mean a packing in D of maximum cardinality and a P-partition of D of minimum cardinality, respectively. A p ( D ) -function will be a PP-function of D with f ( V ( D ) ) of minimum cardinality.

2. Packing Partition Number of Digraphs

The packing partition problem can be considered as a digraph counterpart of 2-distance coloring in graphs. The study of distance coloring was initiated by Kramer and Kramer ([5,6]) in 1969. A 2-distance coloring (or, 2DC for short) of a graph G is a mapping of V ( G ) to a set of colors (nonnegative integers for convenience) in such a way that any two vertices of distance at most two have different colors. The minimum number of colors (nonnegative integers) k for which there is a 2DC is called the 2-distance chromatic number χ 2 ( G ) of G.
Heggernes and Telle [7] showed that determining if a cubic graph can be 2-distance colored with four colors or less is NP-complete. We reduce this problem to its directed counterpart as follows. Recall first that, for a graph G, the complete biorientation c b ( G ) of G is a digraph D obtained from G by replacing each edge x y E ( G ) by the pair of arcs x y and y x . Now, let G be a graph and let f : V ( G ) { 1 , , k } be a 2DC of G.
It is easy to see that { V 1 f , , V k f } is a P-partition of c b ( G ) , where V i f = { v V ( G ) f ( v ) = i } for each 1 i k . Conversely, any P-partition { B 1 , , B k } of c b ( G ) results in a 2DC f : V ( G ) { 1 , , k } assigning i to all vertices x in B i , for each 1 i k . This implies that χ 2 ( G ) k if and only if p ( c b ( G ) ) k . Therefore, determining if a digraph whose underlying graph is cubic can be partitioned into at most four packing sets is NP-complete as well.
As a consequence, the problem of computing the packing partition number is NP-hard even when restricted to those digraphs whose underlying graphs are cubic. In this sense, it might be desirable to bound p with respect to several different invariants of the digraph or to give its exact value when dealing with some well-known families of digraphs.
We begin with some lower and upper bounds on the packing partition number of a digraph, which can directly be proved by its conceptual properties.
Proposition 1.
For any digraph D of order n, the following statements hold.
(i)  p ( D ) Δ + ( D ) + 1 .
(ii)  n / ρ ( D ) p ( D ) n ρ ( D ) + 1 .
These bounds are sharp.
Proof. 
(i) Let P be a p ( D ) -partition and let B P , and assume w.l.g. that v B is a vertex of maximum out-degree. Hence, this means that none of the out-neighbors of v belongs to B, as well as, that each of these out-neighbors belongs to a different set of P . That is, since P is a P-partition of D, there are B 1 , , B Δ + ( D ) P \ { B } such that v has precisely one out-neighbor in any of them. Therefore, p ( D ) = | P | Δ + ( D ) + 1 .
(ii) Assume P = { B 1 , , B p ( D ) } is the p ( D ) -partition. Since every B i is a packing in D for 1 i p ( D ) , it follows that n = i = 1 p ( D ) | B i | p ( D ) ρ ( D ) . Hence, p ( D ) n / ρ ( D ) .
On the other hand, let B be a ρ ( D ) -set. Then, P = { B } { { x } x V ( D ) \ B } is a P-partition of D. Thus, p ( D ) | P | = n ρ ( D ) + 1 .
The first bound is sharp for any digraph D having a vertex adjacent to every other vertex of D. The bounds given in ( i i ) are sharp for any biorientation b ( K n ) of the complete graph K n with p ( b ( K n ) ) = n . □
The following theorem shows that the lower bound given in Proposition 1 (i) always gives the exact values for the packing partition number of directed trees (as the extension of trees to digraphs). First, let C h T ( v ) be the set of children of a vertex v in a rooted tree T (as a graph).
Theorem 1.
For any directed tree T, p ( T ) = Δ + ( T ) + 1 .
Proof. 
By Proposition 1 (i), it only suffices to construct a P-partition of T of cardinality Δ + ( T ) + 1 . To do so, let r be a vertex in T of maximum out-degree. We consider the underlying tree T ^ of T and root it at r. Note that in T ^ , any vertex at distance p = ε T ^ ( r ) is a leaf (when p 1 ). The result is trivial when p = 0 . Thus, we may assume that p 1 , and we construct a partitioning function f for T as follows. Let U i be the set of vertices at distance i from r in the tree T ^ , with 1 i p .
In the directed tree T, we assign 0 to the vertex r and 1 , , Δ + ( T ) to its out-neighbors, so that all of them have a unique label. We also assign 1 to all the in-neighbors of r (if any). If p = 1 , then such an assignment clearly generates our required function. Hence, let p 2 . This means there exists a child of r in T ^ , say u, that has at least one child. We consider two cases.
Case 1. r u A ( T ) . Then, C h T ^ ( u ) = N T + ( u ) ( N T ( u ) \ { r } ) . Suppose that i { 1 , , Δ + ( T ) } has been assigned to u. We now assign deg T + ( u ) labels among { 0 , , Δ + ( T ) } \ { i } to the vertices in N T + ( u ) , so that any vertex in N T + ( u ) has a unique label. Moreover, we assign one of these labels to all vertices in N T ( u ) \ { r } .
Case 2. u r A ( T ) . Then, C h T ^ ( u ) = ( N T + ( u ) \ { r } ) N T ( u ) . We assign deg T + ( u ) 1 labels among the set { 1 , , Δ + ( T ) } \ { i } to the vertices in N T + ( u ) \ { r } , so that any of them has a unique label. We also assign 0 to all vertices in N T ( u ) .
Iterating the process above for any other vertex in C h T ^ ( r ) that has at least one child, we obtain an assignment of Δ + ( T ) + 1 labels { 0 , , Δ + ( T ) } to the vertices in { r } U 1 U 2 . Repeating this process, we finally obtain such an assignment for all vertices of T. Note that
( i ) no two adjacent vertices have the same label, and
( i i ) no vertex is adjacent to at least two vertices with the same label.
Consequently, the partition { W 0 , , W Δ + ( T ) } generated by f is a P-partition of T, in which W i is the set of vertices having the label 0 i Δ + ( T ) . Thus, p ( T ) Δ + ( T ) + 1 . This completes the proof. □
Let S be a vertex subset of a digraph D in which any two vertices are dominated by a vertex in S. It is easily checked that each PP-function of D must assign | S | different labels to the vertices in S. Consequently, we find
p ( D ) max { | S | : any   two   vertices   in   S   are   dominated   by   some   vertex   in   S } .
That this lower bound is tight may be seen as follows. Let D be any digraph with V ( D ) = { v 1 , , v | V ( D ) | } in which any two vertices are dominated by some vertex of D. We add | V ( D ) | digraphs D 1 , , D | V ( D ) | such that | V ( D 1 ) | , , | V ( D | V ( D ) | ) | | V ( D ) | . Let u i be one vertex of D i , for each 1 i | V ( D ) | . Assume D is obtained from D and the digraphs D i , by adding the arcs u i v i , for each 1 i | V ( D ) | .
Then, the function f assigning the labels 1 , , | V ( D ) | to the vertices of D and 1 , , | V ( D i ) | to the vertices of D i so that f ( u i ) f ( v i ) , for each 1 i | V ( D ) | , is a p ( D ) -function, which assigns | V ( D ) | labels to the vertices of D . Moreover, it is easily observed that
| V ( D ) | = max { | S | : any   two   vertices   in   S V ( D )   are   dominated   by   some   vertex   in   S } .
The lower bound given in (1) is also tight for some well-known families of digraphs, such as directed trees T, as it can be readily checked that this bound equals Δ + ( T ) + 1 by Theorem 1. Moreover, it serves as the exact value of p for some other well-known families of digraphs.
Theorem 2.
If D ¯ is a bipartite digraph, then p ( D ) equals the maximum size of a vertex set S for which any two vertices in S are dominated by some vertex in S.
Proof. 
Let S be a set of vertices of maximum cardinality having the property that any two vertices of D [ S ] are dominated by some vertex in S. As we already mentioned, any p ( D ) -function assigns | S | different labels to the vertices in S. In particular, we have p ( D ) | S | .
Let X and Y be the partite sets of D ¯ . If D ¯ is a complete bipartite digraph (that is, the complete biorientation of a complete bipartite graph), then D c b ( K | X | ) + c b ( K | Y | ) . Therefore, p ( D ) = max { | X | , | Y | } = | S | . Thus, we may assume that D ¯ is not complete bipartite. This shows that there are some arcs in D from X to Y or vice versa. If any two vertices of D are simultaneously dominated by some vertex of D, then p ( D ) = | S | = | V ( D ) | and we are done.
Therefore, we assume that there exist two vertices x * and y * that are not dominated by any vertex of D. As the subdigraphs of D induced by X and Y are, respectively, the complete biorientations of the complete graphs K | X | and K | Y | , it follows that x * and y * do not belong to a single partite set. Without loss of generality, x * X and y * Y . Moreover, N D ( x * ) Y = N D ( y * ) X = . We now set X * = { x * X N D ( x * ) Y = } and Y * = { y * Y N D ( y * ) X = } . Without loss of generality, we may assume that | Y * | | X * | .
Since any two vertices in S are dominated by some vertex in S, it follows that S X * = or S Y * = . Choose any vertex y * Y * . If there exists a vertex x X \ X * such that x and y * are not dominated by any vertex in S, then x does not have any in-neighbor in Y. Hence, x X * . This is a contradiction.
Taking into account the fact that the subdigraph of D induced by Y is the complete biorientation of a complete graph, we observe that each two vertices in S Y * are dominated by some vertex in S Y * . We also have that any two vertices in S X * are dominated by some vertex in S X * by a similar argument. This implies that exactly one of the inclusions X * S and Y * S happens due to the maximality of S. This results in Y * S since | Y * | | X * | .
Let f be a function that assigns the labels 1 , , | Y * | to the vertices in Y * , | Y * | + 1 , , | S | to the other vertices of S, and 1 , , | X * | to the vertices in X * . We observe that f is a PP-function of D assigning | S | labels to the vertices of D. Therefore, p ( D ) | S | . Consequently, p ( D ) = | S | . □

3. Digraph Products

In this section, we study the packing partition number with respect to the four standard digraph products (Cartesian, direct, strong, and lexicographic). We also give an exact formula for this parameter when dealing with the rooted product of digraphs.

3.1. Cartesian and Strong Products

Let Λ be the family of all digraphs D in which any two vertices are dominated by a vertex, simultaneously. It is readily seen that ρ ( D ) = 1 ( p ( D ) = n ) if and only if D Λ .
Theorem 3.
For any digraphs D and F,
max { p ( D ) , p ( F ) } p ( D F ) p ( D F ) p ( D ) p ( F ) .
The equality p ( D F ) = p ( D ) p ( F ) holds when D Λ or F Λ .
Proof. 
The first inequality follows from the fact that the restriction of any p ( D F ) -function to any copy of the digraphs D or F is a PP-function of D or F, respectively. The second inequality holds because any P-partition of D F is a P-partition of D F , as well.
For the third inequality, let I = { I 1 , , I p ( D ) } and J = { J 1 , , J p ( F ) } be a p ( D ) -partition and a p ( F ) -partition, respectively. Clearly, P = { I i × J j 1 i p ( D ) , 1 j p ( F ) } is a partition of V ( D F ) . Suppose that | N D F + [ ( x , y ) ] ( I i × J j ) | 2 for some ( x , y ) V ( D F ) , 1 i p ( D ) and 1 j p ( F ) . Therefore, there are two distinct vertices ( x , y ) , ( x , y ) N D F + [ ( x , y ) ] ( I i × J j ) = ( N D + [ x ] I i ) × ( N F + [ y ] J j ) . Therefore, | N D + [ x ] I i | 2 or | N F + [ y ] J j | 2 , a contradiction. This shows that, P is a P-partition of D F , and thus p ( D F ) | P | = p ( D ) p ( F ) .
We next assume that F Λ , and the case D Λ can be symmetrically deduced. Suppose that f = ( U 1 , , U p ( D F ) ) is a p ( D F ) -function. Suppose that there exists 1 i p ( D F ) such that U i contains two distinct vertices ( x , y ) and ( x , y ) , for some x V ( D ) . With F Λ , it follows that y , y N F + [ y ] for some y V ( F ) . This shows that ( x , y ) , ( x , y ) N D F + [ ( x , y ) ] U i , in contradiction to the fact that U i is a packing in D F . Therefore, | U i ( { x } × V ( F ) ) | 1 for each x V ( D ) and 1 i p ( D F ) . This shows that f assigns precisely | V ( F ) | labels to the vertices in { x } × V ( F ) , for each x V ( D ) .
Choose two sets I i and I j , for any 1 i j p ( D ) . Since I is a p ( D ) -partition, it follows that
( i ) there are some vertices x I i and x I j such that x x A ( D ) , or
( i i ) some vertex x V ( D ) is adjacent to at least two vertices x I i and x I j .
Note that f assigns | V ( F ) | labels to the vertices in { x } × V ( F ) , as well as, to the vertices in { x } × V ( F ) . Suppose that f ( { x } × V ( F ) ) and f ( { x } × V ( F ) ) are the sets of labels assigned to the vertices in { x } × V ( F ) and { x } × V ( F ) , respectively. Assume that there exists a label k f ( { x } × V ( F ) ) f ( { x } × V ( F ) ) . Therefore, f ( ( x , y ) ) = f ( ( x , y ) ) = k for some y , y V ( F ) . Note that each one of the items ( i ) and ( i i ) implies that x , x N D + [ x ] for some x V ( D ) .
On the other hand, there exists a vertex y V ( F ) such that y , y N F + [ y ] because F Λ . Consequently, ( x , y ) , ( x , y ) N D F + [ ( x , y ) ] U k . This contradicts the fact that f is a PP-function of D F . The argument above guarantees that U i U j = , for every 1 i j p ( D F ) . Therefore, p ( D F ) p ( D ) | V ( F ) | = p ( D ) p ( F ) . This completes the proof. □
We next see that the bounds above are tight. To this end, we consider the Cartesian product of two directed cycles C r and C t , with r , t 3 (that is, directed cycles in which every vertex has in-degree and out-degree equal to 1. It can be easily noted that
p ( C n ) = 2 , if   n   is   evev , 3 , if   n   is   odd .
By using this fact, we obtain the next results.
Proposition 2.
For any r , t 2 , p ( C 2 r C 2 t ) = 3 , i f   r , t 0   ( m o d   3 ) , 4 , o t h e r w i s e .
Proof. 
Since Δ + ( C 2 r C 2 t ) = 2 , by Proposition 1 (i), we have that p ( C 2 r C 2 t ) 3 . On the other hand, together p ( D F ) p ( D ) p ( F ) and the Equation (2) imply that p ( C 2 r C 2 t ) 4 . Assume that p ( C 2 r C 2 t ) = 3 , and let f : V ( C 2 r C 2 t ) { 1 , 2 , 3 } be a p ( C 2 r C 2 t ) -function. Also, let C 2 r = u 0 u 1 u 2 r 1 u 0 and C 2 t = v 0 v 1 v 2 t 1 v 0 .
Since C 2 r C 2 t is vertex transitive, we may assume that f ( u 0 , v 0 ) = 1 . It must clearly happen (without loss of generality) that f ( u 0 , v 1 ) = 2 and f ( u 1 , v 0 ) = 3 , and so f ( u 1 , v 1 ) = 1 . Now, f ( u 2 , v 0 ) 3 , which means either f ( u 2 , v 0 ) = 1 or f ( u 2 , v 0 ) = 2 . If f ( u 2 , v 0 ) = 1 , then N D [ ( u 2 , v 0 ) ] N D [ ( u 1 , v 1 ) ] , which is not possible. Thus, f ( u 2 , v 0 ) = 2 , which (together with f ( u 1 , v 1 ) = 1 ) leads to f ( u 2 , v 1 ) = 3 . By a symmetric argument, we also obtain that f ( u 0 , v 2 ) = 3 , f ( u 1 , v 2 ) = 2 and f ( u 2 , v 2 ) = 1 .
Consequently, it can be deduced that, in order to have a realization of the p ( C 2 r C 2 t ) -function f, the process described above must be consecutively repeated for each such 3 × 3 pattern of C 2 r C 2 t . This means that, for the digraph C 2 r C 2 t to have a packing partition of cardinality 3, it is necessary that both r and t will be congruent to 0 modulo 3. Therefore, p ( C 2 r C 2 t ) = 3 if r , t 0 (mod 3). Otherwise, p ( C 2 r C 2 t ) > 3 . In this latter case, we deduce that p ( C 2 r C 2 t ) = 4 for the other values of r and t. □
The proposition above shows the tightness of the second and third inequalities in Theorem 3, simultaneously. Here we observed that the third inequality in this theorem is sharp for an infinite family of digraphs different from those in Λ . Furthermore, we believe that the inequality usually gives the exact result.
By using similar arguments to the above ones, we can also prove the next result, which shows the tightness of the first inequality in Theorem 3.
Proposition 3.
For any r , t 1 , p ( C 3 r C 3 t ) = 3 .

3.2. Direct Product

The direct product is a natural environment for the open neighborhoods as N D × F + ( ( x , y ) ) = N D + ( x ) × N F + ( y ) and N D × F ( ( x , y ) ) = N D ( x ) × N F ( y ) , for all ( x , y ) V ( D × F ) . Thus, the presence of an open version of the concept of packing (packing partition) can be expected. Brešar et al. [8] defined the open packing number in digraphs as follows. A subset B of V ( D ) is an open packing of D if N D ( u ) N D ( v ) = , for every pair of distinct vertices u and v in B.
The open packing number  ρ o ( D ) is the maximum cardinality of an open packing in D. In this sense, regarding the concept of open packing, partitioning the vertex set of a digraph into open packing sets can be interpreted as the open version of the problem discussed in this paper, which could be an interesting topic to be developed in its own. More formally, an open packing partition (OP-partition for short) of a digraph D is a vertex partition of D into open packing sets.
We call the minimum cardinality taken over all OP-partitions of D the open packing partition number of D and denote it by p o ( D ) . A p o ( D ) -partition is an OP-partition of D of cardinality p o ( D ) .
Clearly, p o ( D ) p ( D ) as any P-partition is an OP-partition of any digraph D. On the other hand, it can be noticed that there are digraphs whose open packing numbers equal the order of the digraphs. For instance, consider the directed cycle C n . It clearly happens that for any two vertices u , v V ( C n ) , N C n ( u ) N C n ( v ) = . Thus, the whole set of vertices of any directed cycle forms an open packing, and thus p o ( C n ) = 1 . In general, we observe that the statements “ p o ( D ) = 1 ”, “ ρ o ( D ) = | V ( D ) | ” and “ Δ + ( D ) 1 ” are equivalent.
We observe that the direct product D × F is empty (that is, A ( D × F ) = ) if at least one of the factors D and F is empty. Therefore, p ( D × F ) = 1 in such a situation. Thus, we may assume that both D and F are nonempty.
Theorem 4.
For any nonempty digraphs D and F,
max { p o ( D ) , p o ( F ) } p o ( D × F ) p ( D × F ) min { p ( D ) p o ( F ) , p o ( D ) p ( F ) } .
Moreover, these bounds are sharp.
Proof. 
To prove the last inequality, let I = { I 1 , , I p ( D ) } and J = { J 1 , , J p o ( F ) } be a p ( D ) -partition and a p o ( F ) -partition of D, respectively. Clearly, K = { I i × J j 1 i p ( D ) , 1 j p o ( F ) } is a partition of V ( D × F ) . Note that N D × F + ( ( x , y ) ) = N D + ( x ) × N F + ( y ) , for all ( x , y ) V ( D × F ) .
Suppose that ( x , y ) and ( x , y ) are distinct vertices belonging to N D × F + [ ( x , y ) ] ( I i × J j ) , for some ( x , y ) V ( D × F ) , 1 i p ( D ) and 1 j p o ( F ) . Assume that both ( x , y ) and ( x , y ) belong to the open neighborhood of ( x , y ) . This implies that | N D + [ x ] I i | 2 or y N F ( y ) N F ( y ) , which are contradictions to the facts that I i is a packing in D and that J j is an open packing in F.
Hence, we may assume that ( x , y ) = ( x , y ) and ( x , y ) N D × F + ( ( x , y ) ) . This implies that x x A ( D ) , contradicting the independence of I i in D. This shows that K is a P-partition of D × F . Therefore, p ( D × F ) | K | = p ( D ) p o ( F ) . Interchanging the roles of D and F yields to p ( D × F ) p o ( D ) p ( F ) . This results in the desired bound.
The middle inequality is an immediate consequence of the definitions. In order to prove the first inequality, we let O = { O 1 , , O p o ( D × F ) } be a p o ( D × F ) -partition and let y y * A ( F ) . For each 1 i p o ( D × F ) , we define A i = { x V ( D ) ( x , y * ) O i } . It is easily observed that A = { A 1 , , A p o ( D × F ) } \ { } is a partition of V ( D × F ) of cardinality at most p o ( D × F ) . Suppose now that x V ( D ) is adjacent to two vertices x 1 , x 2 V ( D ) .
In particular, this implies that ( x , y ) is adjacent to both ( x 1 , y * ) and ( x 2 , y * ) in D × F . Therefore, ( x 1 , y * ) and ( x 2 , y * ) do not belong to a single member of O . This shows that x 1 and x 2 belong to different members of A . Thus, A is an OP-partition of D × F . Therefore, p o ( D ) | A | p o ( D × F ) . A similar argument shows that p o ( F ) p o ( D × F ) , leading to the first inequality.
That the third inequality is sharp may be seen by considering the direct product C r × C s when at least one of the integers r and s is even. Since p o ( C r ) = p o ( C s ) = 1 , and p ( C r ) = 2 or p ( C s ) = 2 , by also using Proposition 1 (i), we have that
2 = Δ + ( C r × C s ) + 1 p ( C r × C s ) min { p ( C r ) p o ( C s ) , p o ( C r ) p ( C s ) } = 2 ,
which indicates the sharpness of the inequality.
We now consider the digraphs c b ( K r ) and c b ( K s ) for r , s 3 . It is easy to see that any two vertices of c b ( K r ) × c b ( K s ) are dominated by a third vertex. Consequently, p o ( c b ( K r ) × c b ( K s ) ) = r s = p ( c b ( K r ) × c b ( K s ) ) . To see the sharpness of the first inequality, consider the digraphs c b ( K 2 ) and c b ( K s ) for s 3 . We notice that p o ( c b ( K 2 ) × c b ( K s ) ) s . On the other hand, max { p o ( c b ( K 2 ) ) , p o ( c b ( K s ) ) } = s . This completes the proof. □
We next obtain some other values for the packing partition number of direct product graphs that also show the tightness of the third inequality above.
Proposition 4.
Let r , s be two integers.
(i) 
If r , s 2 , then p ( P r × P s ) = 2 .
(ii) 
If r , s 3 , then p ( C r × C s ) = 3 , i f   r , s   a r e   o d d , 2 , o t h e r w i s e .
Proof. 
(i) Since p o ( P r ) = p o ( P s ) = 1 and p ( P r ) = p ( P s ) = 2 , by using Proposition 1 (i) and Theorem 4, we obtain
2 = Δ + ( P r × P s ) + 1 p ( P r × P s ) min { p ( P r ) p o ( P s ) , p o ( P r ) p ( P s ) } = 2 .
(ii) In view of the proof of Theorem 4, we only need to prove the case in which both r , s are odd. In such a situation, a similar argument gives
p ( C r × C s ) min { p ( C r ) p o ( C s ) , p o ( C r ) p ( C s ) } = 3 .
However, it can be noted that C r × C s has always at least one subgraph, which is isomorphic to a cycle of odd order. Thus, towards constructing a packing partition for C r × C s , we need at least three sets for any packing partition of such cycle. As a consequence, p ( C r × C s ) 3 , which gives the desired equality for this case. □

3.3. Lexicographic Product

In what follows, we find the bounds of the packing partition number of the lexicographic product of any two digraphs.
Theorem 5.
For any digraphs D and F,
Δ + ( D ) | V ( F ) | + p ( F ) p ( D F ) p ( D ) | V ( F ) | .
Moreover, these bounds are sharp.
Proof. 
If D is an empty digraph, then p ( D F ) = p ( F ) . Hence, the lower and upper bounds are satisfied as Δ + ( D ) = 0 and p ( D ) = 1 in this situation. Thus, we may assume that D is not empty. Now, let V ( F ) = { f 1 , , f | V ( F ) | } , let d be a vertex of maximum out-degree in D and assume N D + ( d ) = { d 1 , , d Δ + ( D ) } .
It clearly happens that every two vertices in S = i = 1 Δ + ( D ) { ( d i , f 1 ) , , ( d i , f | V ( F ) | ) } must belong to distinct sets in every P-partition for D F . On the other hand, the vertices of the set { ( d , f 1 ) , , ( d , f | V ( F ) | ) } must belong to at least p ( F ) sets, which do not contain any vertex in S, in every P-partition for D F . As a consequence, any P-partition for D F must have cardinality at least | S | + p ( F ) = Δ + ( D ) | V ( F ) | + p ( F ) , which is the desired lower bound.
Assume D is a directed star S n in which the central vertex is a sink and all the leaves are sources. We can form a P-partition for D F as follows. Let x be the center of S n and let V L be the set of leaves of S n . If V ( F ) = { y 1 , , y | V ( F ) | } and Q = { Q 1 , , Q | p ( F ) | } is a p ( F ) -partition, then we can observe that Q = { { ( x , y 1 ) } , , { ( x , y | V ( F ) | ) } , V L × Q 1 , , V L × Q | p ( F ) | } is a P-partition for D F . Since | Q | = | V ( F ) | + p ( F ) = Δ + ( D ) | V ( F ) | , in view of the lower bound, we deduce that p ( D F ) = | V ( F ) | + p ( F ) .
On the other hand, let V ( F ) = { f 1 , , f | V ( F ) | } and let B = { B 1 , , B p ( D ) } be a p ( D ) -partition Let P = { B i × { f j } 1 i p ( D ) , 1 j | V ( F ) | } . It is clear that P is a partition of V ( D F ) . Suppose to the contrary that | N D F + [ ( x , y ) ] ( B i × { f j } ) | 2 , for some ( x , y ) V ( D F ) , 1 i p ( D ) and 1 j | V ( F ) | . Therefore, ( x , f j ) , ( x , f j ) N D F + [ ( x , y ) ] for some distinct vertices x , x B i . This implies that x , x N D + [ x ] B i , which contradicts the fact that B i is a packing in D. Therefore, P is a P-partition of D F . Thus, p ( D F ) | P | = p ( D ) | V ( F ) | .
That the upper bound is sharp may be seen as follows. We consider the directed cycle C n on n 0 (mod 2) vertices. Let x , y , z be three vertices of C n such that x y , y z A ( C n ) . Let P be a p ( C n F ) -partition for any digraph F. Clearly, the vertices in { ( z , f 1 ) , , ( z , f | V ( F ) | ) } must belong to | V ( F ) | sets in P (not containing any vertex in { ( y , f 1 ) , , ( y , f | V ( F ) | ) } ). Furthermore, the vertices in { ( y , f 1 ) , , ( y , f | V ( F ) | ) } necessarily belong to | V ( F ) | sets in P because x is adjacent to y. Therefore, p ( C n F ) 2 | V ( F ) | = p ( C n ) | V ( F ) | , resulting in the equality in the upper bound for D = C n . □
The existence of more than one sink in the first factor would result in a required larger number of sets in a P-partition for D F (when D is connected). To see this, let x and x be two sinks of D. As D is connected, there is a path P connecting x to x in the underlying graph of D. Since both x and x are sinks of D, there exists a vertex y V ( P ) with deg D + ( y ) 2 . This shows that ( y , f 1 ) is adjacent to all vertices in { ( y 1 , f i ) , ( y 2 , f i ) } i = 1 | V ( F ) | , in which y 1 , y 2 N D + ( y ) . Thus, p ( D F ) 2 | V ( F ) | + 1 > | V ( F ) | + p ( F ) .

3.4. Rooted Product

The rooted product graphs (see [9,10]) could be extended to digraphs as follows. A rooted digraph is a digraph in which one vertex is labeled in a special way to distinguish it from other vertices. The special vertex is called the root of the digraph. Let D be a labeled digraph on n vertices. Let F be a sequence of n rooted digraphs F 1 , , F n . The rooted product digraph D ( F ) is the digraph obtained by identifying the root of F i with the i th vertex of D.
Let V ( D ) = { u 1 , , u n } and let F be a sequence of n rooted digraphs F 1 , , F n rooted at v 1 , , v n , respectively. We observe that D = ( { ( u i , v i ) } i = 1 n , { ( u a , v a ) ( u b , v b ) u a u b A ( D ) } ) D and F i = ( { u i } × V ( F i ) , { ( u i , v b ) ( u i , v c ) v b v c A ( F i ) } ) F i , for all 1 i n .
In what follows, we determine an exact formula for p ( D ( F ) ) in terms of the packing partition number of the product factors and the maximum out-degree of the roots v i of V ( F i ) having the largest packing partition number among those of F i ’s. In fact, we have the following theorem.
Theorem 6.
Let D be a digraph with V ( D ) = { u 1 , , u n } . Let F be a sequence of n rooted digraphs F 1 , , F n rooted at v 1 , , v n , respectively. Then,
p ( D ( F ) ) = max { p ( D ) , p ( F 1 ) , , p ( F n ) , Δ * + 1 } ,
where Δ * = max t { deg D ( F ) + ( v t ) } taken over all t for which p ( F t ) = max 1 i n { p ( F i ) } .
Proof. 
We let M = max { p ( D ) , p ( F 1 ) , , p ( F n ) , Δ * + 1 } for the sake of convenience. Let P = { B 1 , , B | P | } be a p ( D ( F ) ) -partition. For any subdigraph K { D , F 1 , , F n } of D ( F ) , it is easy to see that { B 1 V ( K ) , , B | P | V ( K ) } \ { } is a P-partition of K of cardinality at most | P | . Therefore, p ( D ) , p ( F i ) | P | = p ( D ( F ) ) for all 1 i n . Moreover, p ( D ( F ) ) Δ + ( D ( F ) ) + 1 Δ * + 1 by Proposition 1 (i). Therefore, p ( D ( F ) ) M .
From now on, we assume that f = ( U 0 , , U p ( D ) 1 ) and g i = ( W 0 i , , W ( p ( F i ) 1 ) i ) are a p ( D ) -function and a p ( F i ) -function for 1 i n , respectively. Clearly,
g i = ( W 0 i , , W ( p ( F i ) 1 ) i ) = ( { u i } × W 0 i , , { u i } × W ( p ( F i ) 1 ) i )
is a p ( F i ) -function for each 1 i n , and f = ( U 0 , , U p ( D ) 1 ) is a p ( D ) -function where U j = { ( u i , v i ) u i U j } for each 1 j p ( D ) 1 .
Suppose that Δ * = deg D ( F ) + ( v t ) = deg D + ( v t ) + deg F t + ( v t ) such that p ( F t ) = max 1 i n { p ( F i ) } . In order to complete the proof, we shall need the following claim. First, let
H = D ( F ) [ V ( D ) V ( F t ) ] .
Claim 1.
If there is a P-partition of H of cardinality M = max { p ( D ) , p ( F t ) , Δ * + 1 } , then there exists a P-partition of D ( F ) of cardinality M.
Proof of Claim 1
Let h be a p ( H ) -function assigning the labels 0 , , M 1 to the vertices of H. By a relabeling of the indices of U 0 , , U p ( D ) 1 , we may assume that ( u t , v t ) U 0 . We now define h on V ( D ( F ) ) as follows. First we take h restricted to V ( H ) as h, that is, h V ( H ) = h . Also, for any ( u t , v t ) ( u i , v i ) U 0 , we make h ( ( u i , v ) ) = h ( ( u t , v ) ) for each w V ( F i ) . In addition, consider the vertex ( u j , v j ) U r , in which 0 < r p ( D ) 1 . We assume that ( u j , v j ) W k j , for some 0 k p ( F j ) 1 . In such a case, we do the following assignments under h .
(a)
h ( ( u j , v j ) ) to all vertices in W k j , and
(b)
p ( F j ) 1 labels from the sets of labels { 0 t , , ( p ( F t ) 1 ) t } \ { h ( ( u j , v j ) ) } to the vertices in the sets { W 0 j , , W ( p ( F j ) 1 ) j } \ { W k j } , in such a way that all vertices in each of these sets have a unique label.
It is not difficult to see that h gives us a P-partition of D ( F ) of cardinality M. □
By Claim 1, we only need to construct a P-partition of H of cardinality M. Notice that H can be considered as the union of D and F t having the vertex u t = v t in common. Without loss of generality, we assume that v t U 0 (as a vertex of D) and v t W 0 t (as a vertex of F t ). Moreover, we may assume that p ( D ) p ( F t ) . We shall deal with two possibilities.
Case 1. deg F t + ( v t ) p ( D ) deg D + ( v t ) 1 = k . Note that v t has no out-neighbor in any k packing sets, say U 1 , , U k , in D. We now define h as follows. As before, we first consider the restriction of h to V ( D ) , and make h V ( D ) = f . We may assume, without loss of generality, that v t has exactly one out-neighbor in W 1 t , , W deg F t + ( v t ) t .
We next consider that h assigns 0 , 1 , , deg F t + ( v t ) to vertices in W 0 t , W 1 t , , W deg F t + ( v t ) t , respectively. If p ( F t ) = deg F + ( v t ) + 1 , then h gives us a P-partition of H of cardinality p ( D ) = M . Thus, we may assume that p ( F t ) > deg F t + ( v t ) + 1 . In such a situation, we consider that h assigns the labels deg F t + ( v t ) + 1 , , p ( F t ) 1 to the vertices in W ( deg F t + ( v t ) + 1 ) t , , W ( p ( F t ) 1 ) t , respectively. It is straightforward to check that h : V ( H ) { 0 , , p ( D ) 1 } gives us a P-partition of H of cardinality p ( D ) = M .
Case 2. deg F t + ( v t ) > p ( D ) deg D + ( v t ) 1 = k . We define h as follows. Similarly, we do h V ( D ) = f . Assume that h assigns the labels 0 , 1 , , k to all vertices in W 0 t , W 1 t , , W k t , respectively. Moreover, h assigns deg F t + ( v t ) k new labels ( k + 1 ) , , deg F t + ( v t ) to all vertices in W ( k + 1 ) t , , W deg F t + ( v t ) t , respectively. We now consider two other possibilities.
Subcase 2.1. p ( F t ) deg F t + ( v t ) 1 deg D + ( v t ) . If p ( F t ) = deg F t + ( v t ) + 1 , then h gives a P-partition of H of cardinality
p ( D ) + deg F t + ( v t ) k = deg F t + ( v t ) + deg D + ( v t ) + 1 = Δ * + 1 = M .
If p ( F t ) > deg F t + ( v t ) + 1 , then we assume h assigns the labels deg F t + ( v t ) + 1 , , p ( F t ) 1 to the vertices in W ( deg F t + ( v t ) + 1 ) t , , W ( p ( F t ) 1 ) t , respectively. Thus, h gives again a P-partition of H of cardinality
p ( D ) + deg F t + ( v t ) k = deg F t + ( v t ) + deg D + ( v t ) + 1 = Δ * + 1 = M .
Subcase 2.2. p ( F t ) deg F t + ( v t ) 1 > deg D + ( v t ) . Now, let l = p ( F t ) deg F t + ( v t ) 1 deg D + ( v t ) . Assume h assigns k + 1 , , k + deg D + ( v t ) = p ( D ) 1 to the vertices in W ( deg F t + ( v t ) + 1 ) t , , W ( deg F t + ( v t ) + deg D + ( v t ) ) t , respectively. Finally, we consider h assigns l new labels 1 , , l to the vertices belonging to the remaining sets W ( deg F t + ( v t ) + deg D + ( v t ) + 1 ) t , , W ( p ( F t ) 1 ) t , respectively. We observe that h gives a P-partition of H of cardinality
p ( D ) + deg F t + ( v t ) k + l = p ( F t ) = M .
All in all, we constructed a P-partition of H of cardinality M. Therefore, p ( D ( F ) ) M by Claim 1. This completes the proof. □
In view of the results above, since the rooted product graphs are special cases of the hierarchical product of graphs, as defined in [11], it would be interesting to consider the packing partitioning problem in such hierarchical product. Moreover, since those graphs are indeed subgraphs of the Cartesian product, it would be desirable to analyze some possible relationships (monotony for instance) among these three related operations.

Author Contributions

Investigation, B.S. and I.G.Y.; Validation, B.S. and I.G.Y.; Writing–original draft, B.S.; Writing–review and editing, I.G.Y. All authors have read and agreed to the published version of the manuscript.

Funding

The first author (Babak Samadi) has been supported by the Iran National Science Foundation (INSF) and the Alzahra University for a postdoctoral research project with project number 99022321. The last author (Ismael G. Yero) has been partially supported by “Junta de Andalucía”, FEDER-UPO Research and Development Call, reference number UPO-1263769.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bang-Jensen, J.; Gutin, G.Z. Digraphs: Theory, Algorithms and Applications; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  2. West, D.B. Introduction to Graph Theory, 2nd ed.; Prentice Hall: Hoboken, NJ, USA, 2001. [Google Scholar]
  3. Bang-Jensen, J.; Gutin, G.Z. (Eds.) Classes of Directed Graphs; Springer Monographs in Mathematics; Springer: Berlin/Heidelberg, Germany, 2018. [Google Scholar]
  4. Hammack, R.; Imrich, W.; Klavžar, S. Handbook of Product Graphs, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2011. [Google Scholar]
  5. Kramer, F.; Kramer, H. Ein Färbungsproblem der Knotenpunkte eines Graphen bezüglich der Distanz p. Rev. Roumaine Math. Pures Appl. 1969, 14, 1031–1038. [Google Scholar]
  6. Kramer, F.; Kramer, H. Un probleme de coloration des sommets d’un graphe. C. R. Acad. Sci. Paris A 1969, 268, 46–48. [Google Scholar]
  7. Heggernes, P.; Telle, J.A. Partitioning graphs into generalized dominating sets. Nordic J. Comput. 1998, 5, 128–143. [Google Scholar]
  8. Brešar, B.; Kuenzel, K.; Rall, D.F. Domination in digraphs and their products. J. Graph Theory 2021, in press. [Google Scholar] [CrossRef]
  9. Godsil, C.D.; McKay, B.D. A new graph product and its spectrum. Bull. Austral. Math. Soc. 1978, 18, 21–28. [Google Scholar] [CrossRef] [Green Version]
  10. Schwenk, A.J. Computing the Characteristic Polynomial of a Graph; Graphs Combin; Bari, R., Harary, F., Eds.; Springer: Berlin/Heidelberg, Germany, 1974; pp. 153–172. [Google Scholar]
  11. Barrière, L.; Comellas, F.; Dalfó, C.; Fiol, M.A. The hierarchical product of graphs. Discrete Appl. Math. 2009, 157, 36–48. [Google Scholar] [CrossRef] [Green Version]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Samadi, B.; Yero, I.G. On the Packing Partitioning Problem on Directed Graphs. Mathematics 2021, 9, 3148. https://doi.org/10.3390/math9233148

AMA Style

Samadi B, Yero IG. On the Packing Partitioning Problem on Directed Graphs. Mathematics. 2021; 9(23):3148. https://doi.org/10.3390/math9233148

Chicago/Turabian Style

Samadi, Babak, and Ismael G. Yero. 2021. "On the Packing Partitioning Problem on Directed Graphs" Mathematics 9, no. 23: 3148. https://doi.org/10.3390/math9233148

APA Style

Samadi, B., & Yero, I. G. (2021). On the Packing Partitioning Problem on Directed Graphs. Mathematics, 9(23), 3148. https://doi.org/10.3390/math9233148

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