1. Introduction
For graphs and their associated theoretical concepts, we refer the reader to [
1,
2]. For graph labeling and its associated theoretical concepts, we refer the reader to [
3,
4].
graph labeling refers to assigning labels, which are elements of a particular set, to the elements of a graph
G. Typically, this involves labeling the vertices, edges or both of
G based on certain mathematical constraints. When only the vertices of
G are assigned labels,
G is called a
vertex-labeled graph. When only the edges of
G are labeled,
G is called
edge-labeled graph. Specifically, for a graph
G, a vertex labeling of
G is a function
and an edge labeling of
G is a function
, for some sets
S and
. The combinatorial interest in the problem of graph labeling often arises from the mathematical constraints that are inherent in its definition.
The radio channel assignment problem is one of the most significant applications of vertex labeling of graphs with non-negative integers. The problem is to find a way to assign radio channels to transmitters, so neighboring channels have significant frequency differences, where channels far from one another might have minor frequency differences. This problem of radio channel assignment can be easily converted into a graph labeling problem by considering the radio network as a graph. In this case, the vertices correspond to transmitter locations, and two vertices are made adjacent if the locations of the radio stations corresponding to these vertices are close. The maximum interference occurs among transmitters represented by adjacent vertices. Assignment of frequencies to transmitters means the assignment of labels to vertices. The problem is to label (with colors or integers) the vertices of the graph so that the labels of adjacent vertices differ by a threshold, while the constrain does not hold for non-adjacent vertices. This concept has given rise to numerous distance-constrained graph coloring and labeling problems with varying constraints, whose primary goal is to minimize the maximum label assigned.
An early type of coloring inspired by the above concept is
-coloring where
are non-negative integers [
5].
Definition 1 ([
5])
. For a graph G, a -coloring is a function λ from to a set of colors such that- 1.
if , ;
- 2.
if , .
∀ and some . The of λ is . The minimum of all - colorings of G is called the of G.
In 2001, Chartrand et al. [
5,
6] defined
radio coloring of graphs as follows:
Definition 2 ([
5,
6])
. For a connected graph G with diameter d and , a radio coloring (labeling) is a one-to-one function ϕ from to , where The maximum color (integer) assigned to any vertex of G by is denoted by . The minimum taken over all radio colorings of G is called the radio number of G.
The radio 1-coloring is a proper vertex coloring of
G [
5] and radio 2-coloring is an
coloring of
G. The radio
coloring is called a
radio labeling of
G, defined as follows:
Definition 3 ([
6])
. For a connected graph G with diameter d, a radio labeling is a one-to-one function ϕ from to , whereThe inequality (2) is called the radio condition. The radio number of
,
, is the maximum number assigned to any vertex of
G. The
radio number of G,
, is the minimum value of
taken over all radio labelings
of
G. Graphs for which the largest label used is the same as the order of the graph are called radio graceful graphs. The combinatorial problem of
Radio mean labeling of a graph was proposed by R. Ponraj, S. Sathish Narayanan and R. Kala in [
7].
Definition 4. For a connected graph G with diameter d, a radio mean labeling is a one-to-one function γ from to , where for every pair of vertices The inequality (
3) is called the radio mean condition. The
of
is the maximum integer assigned to any
by
. Furthermore, the
radio mean number of G, denoted by
, is the smallest
of all feasible radio mean labelings of
G. It is obvious by the definition that
. If
, then
G is called a radio mean graceful graph [
8]. See
Figure 1 for some examples.
The radio mean number of subdivision of complete bipartite, corona complete graph with path and one point union of cycle
were obtained in [
9]. The radio mean number of corona product of wheel with path, the graph obtained from the wheels
and
by joining the rim vertices of the two wheels with an edge and the graph obtained from a wheel by subdividing each spoke by a vertex were obtained in [
10]. The article [
11] gave the radio mean number of the subdivisions of the graphs, namely star, wheel, join of
and
m copies of
, bistar and complete bipartite graph, corona product of complete bipartite graph with path, and friendship graph. In [
12], the radio mean number of jelly fish graph and its subdivision, book with pentagonal pages, graphs obtained by taking
m disjoint copies of
and joining a new vertex to the centers of the
m copies of
were studied. K. Palani, S. S. Sabarina Subi and V. Maheswari [
13] proved that the path union of graphs like star and its subdivision, globe and fan are radio mean graceful. They also obtained the radio mean number double fan graph. In [
14], radio mean labeling of subdivisions of various graphs were discussed. The article [
15] dealt with the radio mean numbers of splitting graph of graphs like path, star and Y-tree. In [
16], K. Sunitha, C. David Raj and A. Subramanian studied the radio mean labelings of triangular ladder graph, corona product of path with
, corona product of complete graph with
and corona product of wheel with
. The radio mean labelings of degree splitting of certain graphs are studied in [
17,
18]. Upper bounds on the radio mean number of honeycomb and honeycomb torus networks were derived in [
19]. In [
20], M.S. Aasi, M. Asif, T. Iqbal and M. Ibrahim determined the radio mean number of lexicographic product of
with
, where
. A Python program was also developed to compute the same. The authors of [
21] proposed an integer linear programming model for the problem of radio mean labeling of graphs. They also put forward an algorithm to find an upper bound on the radio mean number of any graph. The radio mean numbers of path and cycle were also determined in [
21]. Unfortunately, the authors of [
21] made mistakes in this regard. Refs. [
22,
23] identified these inaccuracies and provided upper bounds on the radio mean number for cycles and paths. All the above-mentioned articles mostly focus on the combinatorial aspect of radio mean labeling, but articles [
24,
25,
26] explored another side of it. They talked about different roles of graphs in cryptosystems: as a mode of data presentation and as a key generator.
1.1. Motivation of This Study
Finding a vertex labeling satisfying (
3) for a graph is a challenging task, and so is labeling the graph with minimum
. Article [
27] discussed the maximum and minimum achievable radio mean number of graphs of order
n. In [
27], it is proved that, if
G is a connected graph on
n vertices,
where
is path on
n vertices. An open question here is
Question 1. For any given and for every integer , does there exist some graph G of order n such that ?
In this article, we will provide answers to the above question.
Radio mean labeling of graphs typically involves defining a function on the vertex set that adheres to the radio mean condition. However, for graphs with a large order or diameter, this can be quite difficult. The real challenge in finding a radio mean labeling of a graph, then, becomes finding one with the smallest possible . The next question that we attempt to solve in this article is as follows:
Question 2. What are the alternative methods for obtaining a radio mean labeling of a graph, instead of the traditional approach of defining a function on the vertex set, which can be time-consuming?
Radio mean labeling of a graph can be framed as an optimization problem involving positive integer variables subject to radio mean constraints. This article investigates the limitations of existing Integer Linear Programming (ILP) models, particularly their inability to ensure that the vertex labels are distinct, positive and satisfy the radio mean condition. We propose a new ILP model that involves constraints, where n is the order of the input graph. For any graph G, the radio mean labeling of its diametral paths can be extended to the entire vertex set to produce a valid labeling for G. This insight forms the foundation of the algorithm presented in this paper, which computes radio mean labelings for a graph G with n vertices and diameter d.
1.2. Organization of the Paper
The subsequent sections of this article are organized as follows. In
Section 2, we show that every integer in the range of achievable radio mean numbers of connected graphs of order
n is the radio mean number of some graph of order
n. In
Section 3, we propose two alternative methods for obtaining a radio mean labeling of any graph. We show in
Section 3.1 that the problem of radio mean labeling of graphs can be formulated as an Integer Linear Program (ILP). Furthermore, in
Section 3.2, we provide an algorithm for finding a radio mean labeling and study its complexity.
2. There Is No Gap in the Radio Mean Number Line
The , for any graph G with . Hence, all graphs of diameters 1, 2 and 3 are radio mean graceful. However, these are not the only graphs on n vertices with radio mean number n. Characterization of such graphs is an open problem. Path on n vertices is the graph having maximum diameter among the set of all graphs of order n and they possess the maximum feasible radio mean number. In this section, we attempt to answer Question (1) using a particular type of tree whose construction is described below.
Let
be a tree with vertex set
with
and diameter
. Let
,
be a central or diametral path of
. Note that the central or diametral path denotes the longest path contained within the graph. It is the path whose length matches the diameter of the graph. The vertices in
are made adjacent to
. Then,
is a Caterpillar tree as each
is within distance 1 of
P. See
Figure 2 for an illustration.
Note that is isomorphic to the star and is isomorphic to the path .
Let us now define an radio mean label for . If L denotes a function that assigns labels to vertices of , then following are the conditions the vertex labels must satisfy:
- (i)
- (ii)
- (iii)
As graphs of diameter 2 and 3 are radio mean graceful, above labelling for is a graceful radio mean labeling and so .
Results on radio mean labeling of paths have been presented in [
22] and we apply them here. Suppose
. First, the diametral path
P of
is radio mean labeled with minimum span. Based on the results in [
22], let
l be a radio mean labeling of
P such that
. Let
S be the set of all positive integers which are less than or equal to
but do not belong to the range set
of
l. i.e.,
.
If , i.e., the order of P is 5, then P has a graceful radio mean labeling and . Then, S is empty.
If , i.e., the order of P is 6, then . We can easily verify that if r is any radio mean labeling of P with for some , then . Also, if l is any radio mean labeling of P with minimum , then . Also, note that, in such a labeling l, if and of P receive labels 2 and 3, then must be 5 to satisfy the radio mean condition. Here, . However, 1 cannot be assigned to any of the remaining unlabeled vertices of satisfying the radio mean condition.
In a similar way, when , we can see that if l is a radio mean labeling of P of minimum , then S is non empty but none of the elements of S can be assigned to any of the vertices of satisfying the radio mean condition.
So, we define
by
Let be an ordering of vertices of such that whenever . By the definition of L, it is clear that when .
Consider the pair of vertices
where
.
Consider the pair of vertices
where
.
Consider the pair of vertices
where
and
.
Thus L is a radio mean labeling with . Hence, . When , is isomorphic to and then . For , the minimum feasible diameter of is 2 and then is n. The maximum diameter can possess is and then is isomorphic to a path of order n and hence . By varying the value of d from 2 to , it is seen that every integer within the range of achievable radio mean number is the radio mean number of some where is the collection of all Caterpillar trees which are constructed as mentioned in the beginning of this section. To summarize,
Theorem 1. Let be the collection of all Caterpillar trees .
- 1.
For , .
- 2.
Every integer within the range of achievable radio mean number is the radio mean number of some .
Deriving a precise expression for the radio mean number of trees within the set
falls beyond the scope of this study, and the upper bound obtained earlier is sharp for most of the values of
n and
d.
Table 1 provides the radio mean number of all Caterpillar trees
where
. We conclude this section with the following Conjecture 1:
Conjecture 1. For any given , every integer between n and is the radio mean number of some graph of order n, where denotes a path graph on n vertices.
3. Techniques for Generating Radio Mean Labeling
Two alternative ways of obtaining a radio mean labeling of a graph are discussed in this section. The radio mean labeling of a graph can be viewed as an optimization problem with positive integer variables subject to radio mean constraints, as discussed in
Section 3.1. Taking advantage of the fact discussed in [
27] that a radio mean labeling of a graph’s diametral path can be extended to the entire vertex set to produce a radio labeling of the graph, we present a polynomial-time algorithm in
Section 3.2 for radio mean labeling of graphs. We designed an algorithm in
Section 3.2 for radio mean labeling of any graph.
3.1. Integer Linear Programming Model for Radio Mean Labeling
In the article [
21], the authors attempted to formulate the problem of generating radio mean labeling as an integer linear programming (ILP) model; however, the model presented is flawed, as explained below.
For a connected graph G with vertex set and diameter d and for , let be the radio mean label assigned to vertex of G.
ILP 1 ([
21])
. Minimize subject to the constraintsfor where . Note that . The model ILP 1 does not guarantee that the labels are distinct and are positive integers. Therefore, we propose a new ILP model for radio mean labeling of graphs.
The problem of finding a radio mean labeling
G of diameter
d is to find a function
such that
satisfying the radio mean condition and
whenever
. The constraints are
where
Let .
To ensure that the labels are positive integers:
For ,
To ensure the uniqueness of labels:
For ,
or
To ensure that the labels satisfy the radio mean condition: ⟹ or
⟹ or
⟹
⟹
Based on the above derivation, we now summarize the mathematical assumptions underlying the proposed ILP model:
Integrality and Positivity: Each label is a positive integer, i.e., and for .
Distinctness of Labels: All labels must be distinct, i.e., for , which is enforced using linear inequalities.
Feasibility of the Radio Mean Condition: The labels must satisfy the radio mean constraint: for all .
Putting these facts together, we propose a new ILP model as follows:
ILP 2. Minimize subject to the constraints
- 1.
- 2.
- 3.
where
Solving this, we will obtain a radio mean labeling, say , of G with and gives an upper bound of the radio mean number of graph G.
Manually solving ILP 2 is not a viable option for graphs of large order,
n, as it involves a significant number of constraints, specifically
. In the following example, we use MATLAB (
https://matlab.mathworks.com) to solve the ILP model and find a radio mean labeling for the cycle,
. See
Appendix A.
For , let , the diameter, , and the distance matrix,
The ILP model for the radio mean labeling of is given by ILP 3.
ILP 3. Minimize subject to the constraints
- 1.
- 2.
- 3.
where
Manually solving the above ILP that includes 100 constraints is challenging. Hence, we make use of the function
available in MATLAB. The syntax for Mixed-integer linear programming (MILP) in MATLAB is
For , the input arguments are
f: coefficient vector representing objective function = ,
: a vector that indicates integer-constrained variables = ,
A: a matrix representing the linear inequality constraints
=
b: column vector representing the right-hand side of the inequality constraints =
: a matrix representing the linear equality constraints =
: a column vector representing the right-hand side of the equality constraints =
: a column vector representing the lower bounds on the variables =
: a column vector representing the upper bounds on the variables =
The output obtained is as follows:
3.2. Radio Mean Labeling Algorithm and Its Complexity
Let
G be a connected graph of order
n and diameter
d having vertex set
. Let
be a diametral path of
G and
be the distance matrix of
G. As demonstrated in [
27], if
l is a radio mean labeling of
P, the extension of
l to
gives a radio mean labeling of
G. The radio mean labeling of a path graph has already been studied in [
22], and the labeling discussed there can be utilized. In this section, we provide an algorithm to label the vertices of
G in a way that satisfies the radio mean condition, which is essentially an extension of the labeling discussed in [
22].
The outline of the proposed algorithm is given in
Figure 3. It takes vertex set of
G, vertex set of diametral path
P, diameter
d of
G, distance matrix
as input and returns vertices of
G together with its labels and the
of this labeling. Initially, all vertices are assigned 0 as the label. Then, the diametral path of
G is radio mean labeled. Later, the vertices not in the (labeled) diametral path are assigned labels in such a way that radio mean condition holds between every pair of distinct vertices of
G.
Algorithm 1 uses the radio mean labeling of paths discussed in [
22] to label the diametral path
P. There may exist many other radio mean labelings of
P with the same or lesser
. Suppose that
S in step 47 is nonempty. In such a case, we must check for all possible ways of labeling vertices of
with elements of
S and maximum number of elements of
S must be used for labeling vertices. This ensures that radio mean labeling of
G obtained is having lesser span. Also, in step 68, if
U is nonempty, there is no specific order in assigning labels to the vertices in
U. One may produce different radio mean labelings of
G using this algorithm. The
of each of these labelings is an upper bound of the radio mean number of
G. The minimum among these
will be a better upper bound.
Algorithm 1 To find a radio mean labeling of a connected graph G. |
Input: Output: vertices together with labels, Begin: - 1:
- 2:
for j← 1 to n do - 3:
- 4:
end for - 5:
if then - 6:
for to do - 7:
- 8:
end for - 9:
end if - 10:
if then - 11:
- 12:
- 13:
- 14:
for to do - 15:
- 16:
end for - 17:
end if - 18:
if then - 19:
- 20:
while do - 21:
- 22:
end while - 23:
- 24:
- 25:
for to do - 26:
- 27:
- 28:
end for - 29:
for to do - 30:
- 31:
end for - 32:
- 33:
while do - 34:
for to do - 35:
- 36:
end for - 37:
- 38:
end while - 39:
end if - 40:
- 41:
if then - 42:
go to step 71 - 43:
end if - 44:
- 45:
- 46:
- 47:
if then - 48:
for each do - 49:
for each do - 50:
- 51:
for each do - 52:
if then - 53:
- 54:
else - 55:
- 56:
Break and Go to Step 50 - 57:
end if - 58:
end for - 59:
if then - 60:
- 61:
- 62:
- 63:
end if - 64:
end for - 65:
end for - 66:
end if - 67:
if then - 68:
for each do - 69:
- 70:
- 71:
end for - 72:
end if - 73:
- 74:
return ,
End |
3.2.1. The Correctness of Algorithm 1
It is clear that the algorithm assigns distinct positive integers as labels to the vertices of
G. Let us now check whether every pair of vertices in
G satisfies the radio mean condition. As mentioned earlier, radio mean labeling discussed in [
22] is exploited to label vertices belonging to
P and so the labels assigned to any pair of vertices
by this algorithm satisfies radio mean condition. Let
where
. If
S is non empty, the algorithm itself checks if the vertices of
can be labeled with elements of
S in such a way that radio mean condition holds between every pair of distinct vertices of
G. Finally, let
. Note that if
,
for some integer
q where
.
Consider any pair of vertices
. Then,
Consider a pair of vertices such that and .
If
, then
and
If
, then
and
Thus, the radio mean condition is satisfied by every pair of vertices of G and this shows that Algorithm 1 provides a radio mean labeling of G.
3.2.2. On the Complexity of Algorithm 1
Let us now estimate the computational complexity of this algorithm.
The first step of this algorithm is to loop through and assign 0 as label to each of the n vertices. Hence, the computational complexity of steps 2–5 is .
Next, the vertices of diametral path P of G are assigned labels. As we are interested in worst-case complexity, we count only the complexity when . The complexity of steps is . In worst case, and then complexity is .
Each of the steps 41–47 is of complexity .
After labeling the diametral path, we check whether any of the integers of the set S can be assigned to vertices not belonging to P satisfying Radio mean condition. Complexity of steps 48–67 is . Note that steps from 41 on wards will be considered for execution only if . To evaluate the worst-case complexity, we need to assume that and in such a case complexity of steps 48–67 together is of order .
A maximum of vertices can still be there with label 0 and they will be labeled next with positive integers. The complexity of steps 68–73 is . To analyze the worst case, we must consider the minimum value of d and that is 1. Hence, the complexity of steps 68–73 together is of order n.
Each of the steps 74–75 is of complexity .
Combining all the above steps, we see that total computational complexity, .
3.2.3. A Demonstration of Algorithm 1
We shall now illustrate how this algorithm works.
Let us consider a cycle
. Then,
C has diameter 10 and let
be a diametral path of
C. The algorithm will initialize the label as 0 for each vertex of
C. Since diameter of
C is greater than 6, steps from 6 to 18 of Algorithm 1 are skipped. As
belongs to the interval
, we have
. The vertices belonging to path
P will be then assigned labels as follows:
. Thus,
,
,
and
. The algorithm will now verify whether any of the integers of
S can be assigned to a vertex in
U in such a way that radio mean condition holds between every pair of distinct vertices of
C. Having labeled
in this way, it is seen that none of the remaining vertices can be labeled with 1 or 2 satisfying radio mean condition. However, one of the following is possible:
,
,
. Let us label
with 3. So
U is now the set
. Since
obtains the label 3, integers 4 and 5 cannot be used to label the vertices of
U. These vertices of
U will now be assigned integers
. There are 8 vertices in
U and so there are
different ways of labeling them with distinct integers of the set
. One such labeling is
,
,
,
,
,
,
,
,
. Therefore,
of this radio mean labeling of
C is 24. Hence, the output of Algorithm 1 is as follows:
See
Figure 4 for the intermediate stages of radio mean labeling
using Algorithm 1. Note that the output of Algorithm 1 is not unique.
3.2.4. Comparing Algorithms
Let us now compare the algorithm to obtain an upper bound on the radio mean number proposed in [
21] with Algorithm 1. The algorithm of [
21] begins by labeling the first vertex of the input graph with its diameter
d. It then assigns labels to the remaining vertices, ensuring that each vertex receives the next minimum possible integer as label while satisfying the radio mean constraint. For a graph of order
n, the upper bound of radio mean number returned by this algorithm is
. However, Algorithm 1 in
Section 3.2 produces a labeling with span as follows:
;
;
.
Clearly, Algorithm 1 gives improved upper bounds on the radio mean number of graphs.
4. Concluding Remarks
Since all graphs of diameter have a radio mean number equal to their order, it is obvious that, given a positive integer, there is always a graph with that integer as radio mean number. When we showed that there is no gap in the radio mean number line, it also proved the existence of graphs with diameter greater than 3 with a given integer as radio mean number.
The radio mean condition of a graph is solely dependent on its diameter, which makes finding suitable labeling for graphs with high order and diameter challenging. It becomes even more complex when dealing with graph classes that have order-dependent diameters. Designing an algorithm or ILP model that can radio mean label a specific class of graph with minimum span may be less arduous. Nevertheless, creating the same that can efficiently radio mean label any arbitrary graph with minimum span remains challenging.
In their publication [
25], the authors proposed a novel method for generating cryptographic keys using radio mean labeled graphs. The cryptoalgorithm in scope of their study was Triple DES algorithm. The chosen graph for this key generation process was the Caterpillar tree, which had been previously discussed in
Section 2. Algorithm 1 outlined in
Section 3.2 is designed with the flexibility to generalize key generation techniques, enabling its adaptation to various graph structures beyond the Caterpillar tree. This method represents a significant advancement in cryptographic key generation methodologies, a topic that is not within the focus of the current study but certainly merits further exploration.
While an ILP model and a polynomial-time algorithm have been proposed to obtain radio mean labeling, determining the exact radio mean number of a given graph remains an open problem. Currently, the only way to find the radio mean number of a graph is to enumerate all feasible radio mean labelings and identify the one with the minimum . This observation serves as a motivation to explore the integration of radio mean labeling with cryptographic algorithms aiming for more secure communication. This integration could possibly add additional layers of protection on the keys and encrypted message.
Despite our study’s reliance on a tailored custom algorithm, the optimization field offers a diverse range of sophisticated techniques worthy of examination for their effectiveness. Advanced optimization algorithms, such as hybrid heuristics and meta heuristics, discussed in [
28,
29,
30,
31,
32], have demonstrated their efficacy in tackling complex decision problems across various domains by efficiently exploring solution spaces. These algorithms have broad applications beyond our study’s scope, encompassing areas such as online learning, scheduling, transportation, and data classification, showcasing their versatility and promise in addressing real-world challenges. Future research endeavors could involve comparative analyses to assess our proposed approach against advanced optimization algorithms, offering insights into their respective strengths and weaknesses.