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
as a finite digraph with vertex set
and arc set
with neither loops nor multiple arcs (although pairs of opposite arcs are allowed).
stands for a simple finite graph with vertex set
and edge set
. 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 , we write 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 , the out-neighborhood of v (in-neighborhood of v) is ().
Moreover, () is the closed out-neighborhood (closed in-neighborhood) of v. The out-degree and in-degree of are and , respectively. In addition, for a digraph D, and represent the maximum and minimum out-degrees, and and represent the maximum and minimum in-degrees of D. The vertex v is called a source (sink) if (). We say that a vertex v dominates all vertices in its closed out-neighborhood. The complement of a digraph D is a digraph with the vertex set in which if and only if .
The eccentricity of a vertex u in a graph G is , where 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 or , or the pair of arcs and . A bipartite digraph is a biorientation of a bipartite graph.
A set is a packing set, or simply a packing, in a digraph D if for any two distinct vertices . An equivalent definition of a packing in a digraph, and the one we prefer, is the following. A set is a packing in a digraph D if for all . 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 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 . Their arc sets are defined as follows.
In the Cartesian product , is adjacent to if “ and ” or “ and ”.
In the direct product , is adjacent to if and .
The arc set of the strong product is the union of and .
is adjacent to in the lexicographic product if “” or “ and ”.
Note also that all these four products are associative, and only the first three are commutative. The map
, defined by
, 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 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 into packing sets. The packing partition number 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 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 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 equals the minimum number of frequencies, which must be assigned to the stations in order to satisfy the above-mentioned conditions (here is the digraph obtained by reversing the direction of every arc of D).
An equivalent definition for the parameter can be stated by using functions. Given a function of a digraph D, we set for each . We usually omit the superscript f if there is no ambiguity with respect to the function and write .
Definition 2. A function is a packing partitioning function, or PP-function for short, if it satisfies the following properties:
(a) for any arc , and
(b)no vertex x is adjacent to two vertices and with .
The minimum k for which a digraph D admits a PP-function represents the packing partition number of D and is denoted .
Note that any PP-function gives a P-partition of the digraph D. Throughout this paper, by a -set and a -partition, we mean a packing in D of maximum cardinality and a P-partition of D of minimum cardinality, respectively. A -function will be a PP-function of D with 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
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 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 of
G is a digraph
D obtained from
G by replacing each edge
by the pair of arcs
and
. Now, let
G be a graph and let
be a 2DC of
G.
It is easy to see that is a P-partition of , where for each . Conversely, any P-partition of results in a 2DC assigning i to all vertices x in , for each . This implies that if and only if . 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 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) .
(ii) .
These bounds are sharp.
Proof. (i) Let be a -partition and let , and assume w.l.g. that 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 . That is, since is a P-partition of D, there are such that v has precisely one out-neighbor in any of them. Therefore, .
(ii) Assume is the -partition. Since every is a packing in D for , it follows that . Hence, .
On the other hand, let B be a -set. Then, is a P-partition of D. Thus, .
The first bound is sharp for any digraph D having a vertex adjacent to every other vertex of D. The bounds given in are sharp for any biorientation of the complete graph with . □
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 be the set of children of a vertex v in a rooted tree T (as a graph).
Theorem 1. For any directed tree T, .
Proof. By Proposition 1 (i), it only suffices to construct a P-partition of T of cardinality . To do so, let r be a vertex in T of maximum out-degree. We consider the underlying tree of T and root it at r. Note that in , any vertex at distance is a leaf (when ). The result is trivial when . Thus, we may assume that , and we construct a partitioning function f for T as follows. Let be the set of vertices at distance i from r in the tree , with .
In the directed tree T, we assign 0 to the vertex r and 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 , then such an assignment clearly generates our required function. Hence, let . This means there exists a child of r in , say u, that has at least one child. We consider two cases.
Case 1.. Then, . Suppose that has been assigned to u. We now assign deg labels among to the vertices in , so that any vertex in has a unique label. Moreover, we assign one of these labels to all vertices in .
Case 2.. Then, . We assign deg labels among the set to the vertices in , so that any of them has a unique label. We also assign 0 to all vertices in .
Iterating the process above for any other vertex in that has at least one child, we obtain an assignment of labels to the vertices in . Repeating this process, we finally obtain such an assignment for all vertices of T. Note that
no two adjacent vertices have the same label, and
no vertex is adjacent to at least two vertices with the same label.
Consequently, the partition generated by f is a P-partition of T, in which is the set of vertices having the label . Thus, . 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
different labels to the vertices in
S. Consequently, we find
That this lower bound is tight may be seen as follows. Let D be any digraph with in which any two vertices are dominated by some vertex of D. We add digraphs such that . Let be one vertex of , for each . Assume is obtained from D and the digraphs , by adding the arcs , for each .
Then, the function
f assigning the labels
to the vertices of
D and
to the vertices of
so that
, for each
, is a
-function, which assigns
labels to the vertices of
. Moreover, it is easily observed that
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
by Theorem 1. Moreover, it serves as the exact value of
for some other well-known families of digraphs.
Theorem 2. If is a bipartite digraph, then 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 are dominated by some vertex in S. As we already mentioned, any -function assigns different labels to the vertices in S. In particular, we have .
Let X and Y be the partite sets of . If is a complete bipartite digraph (that is, the complete biorientation of a complete bipartite graph), then . Therefore, . Thus, we may assume that 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 and we are done.
Therefore, we assume that there exist two vertices and 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 and , it follows that and do not belong to a single partite set. Without loss of generality, and . Moreover, . We now set and . Without loss of generality, we may assume that .
Since any two vertices in S are dominated by some vertex in S, it follows that or . Choose any vertex . If there exists a vertex such that x and are not dominated by any vertex in S, then x does not have any in-neighbor in Y. Hence, . 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 are dominated by some vertex in . We also have that any two vertices in are dominated by some vertex in by a similar argument. This implies that exactly one of the inclusions and happens due to the maximality of S. This results in since .
Let f be a function that assigns the labels to the vertices in , to the other vertices of S, and to the vertices in . We observe that f is a PP-function of D assigning labels to the vertices of D. Therefore, . Consequently, . □
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 () if and only if .
Theorem 3. For any digraphs D and F, The equality holds when or .
Proof. The first inequality follows from the fact that the restriction of any -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 is a P-partition of , as well.
For the third inequality, let and be a -partition and a -partition, respectively. Clearly, is a partition of . Suppose that for some , and . Therefore, there are two distinct vertices . Therefore, or , a contradiction. This shows that, is a P-partition of , and thus .
We next assume that , and the case can be symmetrically deduced. Suppose that is a -function. Suppose that there exists such that contains two distinct vertices and , for some . With , it follows that for some . This shows that , in contradiction to the fact that is a packing in . Therefore, for each and . This shows that f assigns precisely labels to the vertices in , for each .
Choose two sets and , for any . Since is a -partition, it follows that
there are some vertices and such that , or
some vertex is adjacent to at least two vertices and .
Note that f assigns labels to the vertices in , as well as, to the vertices in . Suppose that and are the sets of labels assigned to the vertices in and , respectively. Assume that there exists a label . Therefore, for some . Note that each one of the items and implies that for some .
On the other hand, there exists a vertex such that because . Consequently, . This contradicts the fact that f is a PP-function of . The argument above guarantees that , for every . Therefore, . 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
and
, with
(that is, directed cycles in which every vertex has in-degree and out-degree equal to 1. It can be easily noted that
By using this fact, we obtain the next results.
Proposition 2. For any ,
Proof. Since
, by Proposition 1 (i), we have that
. On the other hand, together
and the Equation (
2) imply that
. Assume that
, and let
be a
-function. Also, let
and
.
Since is vertex transitive, we may assume that . It must clearly happen (without loss of generality) that and , and so . Now, , which means either or . If , then , which is not possible. Thus, , which (together with ) leads to . By a symmetric argument, we also obtain that , and .
Consequently, it can be deduced that, in order to have a realization of the -function f, the process described above must be consecutively repeated for each such pattern of . This means that, for the digraph to have a packing partition of cardinality 3, it is necessary that both r and t will be congruent to 0 modulo 3. Therefore, if (mod 3). Otherwise, . In this latter case, we deduce that 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 , .
3.2. Direct Product
The direct product is a natural environment for the open neighborhoods as
and
, for all
. 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
is an
open packing of
D if
, for every pair of distinct vertices
u and
v in
B.
The open packing number 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 . A -partition is an OP-partition of D of cardinality .
Clearly, 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 . It clearly happens that for any two vertices , . Thus, the whole set of vertices of any directed cycle forms an open packing, and thus . In general, we observe that the statements “”, “” and “” are equivalent.
We observe that the direct product is empty (that is, ) if at least one of the factors D and F is empty. Therefore, in such a situation. Thus, we may assume that both D and F are nonempty.
Theorem 4. For any nonempty digraphs D and F, Moreover, these bounds are sharp.
Proof. To prove the last inequality, let and be a -partition and a -partition of D, respectively. Clearly, is a partition of . Note that , for all .
Suppose that and are distinct vertices belonging to , for some , and . Assume that both and belong to the open neighborhood of . This implies that or , which are contradictions to the facts that is a packing in D and that is an open packing in F.
Hence, we may assume that and . This implies that , contradicting the independence of in D. This shows that is a P-partition of . Therefore, . Interchanging the roles of D and F yields to . 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 be a -partition and let . For each , we define . It is easily observed that is a partition of of cardinality at most . Suppose now that is adjacent to two vertices .
In particular, this implies that is adjacent to both and in . Therefore, and do not belong to a single member of . This shows that and belong to different members of . Thus, is an OP-partition of . Therefore, . A similar argument shows that , leading to the first inequality.
That the third inequality is sharp may be seen by considering the direct product
when at least one of the integers
r and
s is even. Since
, and
or
, by also using Proposition 1 (i), we have that
which indicates the sharpness of the inequality.
We now consider the digraphs and for . It is easy to see that any two vertices of are dominated by a third vertex. Consequently, . To see the sharpness of the first inequality, consider the digraphs and for . We notice that . On the other hand, . 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 be two integers.
- (i)
If , then .
- (ii)
If , then
Proof. (i) Since
and
, by using Proposition 1 (i) and Theorem 4, we obtain
(ii) In view of the proof of Theorem 4, we only need to prove the case in which both
are odd. In such a situation, a similar argument gives
However, it can be noted that has always at least one subgraph, which is isomorphic to a cycle of odd order. Thus, towards constructing a packing partition for , we need at least three sets for any packing partition of such cycle. As a consequence, , 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, Moreover, these bounds are sharp.
Proof. If D is an empty digraph, then . Hence, the lower and upper bounds are satisfied as and in this situation. Thus, we may assume that D is not empty. Now, let , let d be a vertex of maximum out-degree in D and assume .
It clearly happens that every two vertices in must belong to distinct sets in every P-partition for . On the other hand, the vertices of the set must belong to at least sets, which do not contain any vertex in S, in every P-partition for . As a consequence, any P-partition for must have cardinality at least , which is the desired lower bound.
Assume D is a directed star in which the central vertex is a sink and all the leaves are sources. We can form a P-partition for as follows. Let x be the center of and let be the set of leaves of . If and is a -partition, then we can observe that is a P-partition for . Since , in view of the lower bound, we deduce that .
On the other hand, let and let be a -partition Let . It is clear that is a partition of . Suppose to the contrary that , for some , and . Therefore, for some distinct vertices . This implies that , which contradicts the fact that is a packing in D. Therefore, is a P-partition of . Thus, .
That the upper bound is sharp may be seen as follows. We consider the directed cycle on (mod 2) vertices. Let be three vertices of such that . Let be a -partition for any digraph F. Clearly, the vertices in must belong to sets in (not containing any vertex in ). Furthermore, the vertices in necessarily belong to sets in because x is adjacent to y. Therefore, , resulting in the equality in the upper bound for . □
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 (when D is connected). To see this, let x and be two sinks of D. As D is connected, there is a path P connecting x to in the underlying graph of D. Since both x and are sinks of D, there exists a vertex with . This shows that is adjacent to all vertices in , in which . Thus, .
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
be a sequence of
n rooted digraphs
. The
rooted product digraph is the digraph obtained by identifying the root of
with the
vertex of
D.
Let and let be a sequence of n rooted digraphs rooted at , respectively. We observe that and , for all .
In what follows, we determine an exact formula for in terms of the packing partition number of the product factors and the maximum out-degree of the roots of having the largest packing partition number among those of ’s. In fact, we have the following theorem.
Theorem 6. Let D be a digraph with . Let be a sequence of n rooted digraphs rooted at , respectively. Then,where taken over all t for which . Proof. We let for the sake of convenience. Let be a -partition. For any subdigraph of , it is easy to see that is a P-partition of K of cardinality at most . Therefore, for all . Moreover, by Proposition 1 (i). Therefore, .
From now on, we assume that
and
are a
-function and a
-function for
, respectively. Clearly,
is a
-function for each
, and
is a
-function where
for each
.
Suppose that
such that
. In order to complete the proof, we shall need the following claim. First, let
Claim 1. If there is a P-partition of H of cardinality , then there exists a P-partition of of cardinality M.
Proof of Claim 1 Let h be a -function assigning the labels to the vertices of H. By a relabeling of the indices of , we may assume that . We now define on as follows. First we take restricted to as h, that is, . Also, for any , we make for each . In addition, consider the vertex , in which . We assume that , for some . In such a case, we do the following assignments under .
- (a)
to all vertices in , and
- (b)
labels from the sets of labels to the vertices in the sets , in such a way that all vertices in each of these sets have a unique label.
It is not difficult to see that gives us a P-partition of 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 having the vertex in common. Without loss of generality, we assume that (as a vertex of D) and (as a vertex of ). Moreover, we may assume that . We shall deal with two possibilities.
Case 1.. Note that has no out-neighbor in any k packing sets, say , in D. We now define h as follows. As before, we first consider the restriction of h to , and make . We may assume, without loss of generality, that has exactly one out-neighbor in .
We next consider that h assigns to vertices in , respectively. If , then h gives us a P-partition of H of cardinality . Thus, we may assume that . In such a situation, we consider that h assigns the labels to the vertices in , respectively. It is straightforward to check that gives us a P-partition of H of cardinality .
Case 2.. We define as follows. Similarly, we do . Assume that assigns the labels to all vertices in , respectively. Moreover, assigns new labels to all vertices in , respectively. We now consider two other possibilities.
Subcase 2.1.. If
, then
gives a P-partition of
H of cardinality
If
, then we assume
assigns the labels
to the vertices in
, respectively. Thus,
gives again a P-partition of
H of cardinality
Subcase 2.2.. Now, let
. Assume
assigns
to the vertices in
, respectively. Finally, we consider
assigns
l new labels
to the vertices belonging to the remaining sets
, respectively. We observe that
gives a P-partition of
H of cardinality
All in all, we constructed a P-partition of H of cardinality M. Therefore, 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.