425
Views
12
CrossRef citations to date
0
Altmetric
Original Article

L(3,2,1)- and L(4,3,2,1)-labeling problems on interval graphsFootnote

&
Pages 205-215 | Received 12 May 2016, Accepted 03 Mar 2017, Published online: 10 Jun 2020

Abstract

For a given graph G=(V,E), the L(3,2,1)- and L(4,3,2,1)-labeling problems assign the labels to the vertices of G. Let Z be the set of non-negative integers. An L(3,2,1)- and L(4,3,2,1)-labeling of a graph G is a function f:VZ such that |f(x)f(y)|kd(x,y), for k=4,5 respectively, where d(x,y) represents the distance (minimum number of edges) between the vertices x and y, and 1d(x,y)k1. The L(3,2,1)- and L(4,3,2,1)-labeling numbers of a graph G, are denoted by λ3,2,1(G) and λ4,3,2,1(G) and they are the difference between highest and lowest labels used in L(3,2,1)- and L(4,3,2,1)-labeling respectively. In this paper, for an interval graph G, it is shown that λ3,2,1(G)6Δ3 and λ4,3,2,1(G)10Δ6, where Δ represents the maximum degree of the vertices of G. Also, two algorithms are designed to label an interval graph by maintaining L(3,2,1)- and L(4,3,2,1)-labeling conditions. The time complexities of both the algorithms are O(nΔ2), where n represent the number of vertices of G.

1 Introduction

The frequency assignment problem is a problem where the task is to assign a frequency (non-negative integer) to a given group of televisions or radio transmitters so that interfering transmitters are assigned frequency with at least a minimum allowed separation. A frequency assignment problem is motivated from the distance labeling problem of graphs. It is to find a proper assignment of channels to transmitters in a wireless network. The level of interference between any two radio stations correlates with the geographic locations of the stations. Closer stations have a stronger interference and thus there must be a greater difference between there assigned channels.

The frequency assignment problem was formulated as a vertex colouring problem of graph by Hale [Citation1]. In, 1988, Roberts proposed a variation of the frequency assignment problem in which ‘closed’ transmitter must receive different frequency and ‘very closed’ transmitter must receive a frequency at least two apart. Two vertices x and y are said to be ‘very closed’ and ‘closed’ if the distance between x and y is 1 and 2 respectively. Griggs and Yeh [Citation2] defined the L(2,1)-labeling of a graph G=(V,E) as a function f from the vertex set V(G) to the set of non-negative integers such that |f(x)f(y)|2 if d(x,y)=1 and |f(x)f(y)|1 if d(x,y)=2, where d(x,y) represent the distance between the vertices x and y. The minimum span over all possible labeling functions of L(2,1)-labeling is denoted by λ2,1(G) and is called λ2,1 number of G.

Similarly, an L(3,2,1)-labeling of a graph G is a function f from its vertex set V to the set of non-negative integers such that |f(x)f(y)|3 if d(x,y)=1, |f(x)f(y)|2 if d(x,y)=2 and |f(x)f(y)|1 if d(x,y)=3. The L(3,2,1)-labeling number, λ3,2,1(G), of G is the smallest non-negative integer k such that G has a L(3,2,1)-labeling of span k. Also, an L(4,3,2,1)-labeling of a graph G is a function f from its vertex set V to the set of non-negative integers such that |f(x)f(y)|4 if d(x,y)=1, |f(x)f(y)|3 if d(x,y)=2, |f(x)f(y)|2 if d(x,y)=3 and |f(x)f(y)|1 if d(x,y)=4. The L(4,3,2,1)-labeling number, λ4,3,2,1(G), of G is the smallest non-negative integer k such that G has a L(4,3,2,1)-labeling of span k. Frequency assignment problem has been widely studied in the past [3–6Citation[3]Citation[4]Citation[5]Citation[6]]. In 2007, Bertossi et al. have studied approximate L(δ1,δ2,,δt)-coloring of trees and interval graphs [Citation7] and Bodlaender et al. have studied about approximations for λ-colorings of graphs [Citation8]. Also in [Citation9], Khan et al. have studied L(2,1)-total labeling of cactus graphs and in [Citation10] they studied L(0,1)-labeling of cactus graphs. Later Calamoneri [Citation11] studied L(δ1,δ2,1)-labeling of eight grids, Amanathulla and Pal studied L(3,2,1)-labeling and L(4,3,2,1)-labeling of circular-arc graphs [Citation12]. We focus our attention on L(3,2,1)-labeling and L(4,3,2,1)-labeling of interval graphs. Different bounds for λ3,2,1(G) and λ4,3,2,1(G) were obtained for various type of graphs. The upper bound of λp,1(G) of any graph G is Δ2(p1)Δ2 [Citation13], where Δ is the degree of the graph. In [Citation14], Clipperton et al. showed that λ3,2,1(G)Δ3+Δ2+3Δ for any graph. Later Chai et al. [Citation15] improved this upper bound and showed that λ3,2,1(G)Δ3+2Δ for any graph. In [Citation16], Lui and Shao studied the L(3,2,1)-labeling of planer graph and showed that λ3,2,1(G)15(Δ2Δ+1). In [Citation15], Chia et al. also showed that λ3,2,1(G)=2n+5 if T is a complete n-ary tree of height h3 and for any tree 2Δ+1λ3,2,1(G)2Δ+3. In [Citation17], Jean studied about L(d,2,1)-labeling of simple graph and showed that λd,2,1(Kn)=d(n1)+1, where Kn is complete graph with n vertices and also shown that λd,2,1(Km,n)=d+2(m+n)3. Kim et al. [Citation18] show that λ3,2,1(K3Cn)=15 when n28 and n0(mod5), where K3Cn is the Cartesian product of complete graphs K3 and the cycle Cn. Again, Clipperton [Citation19] have shown that λ4,3,2,1(G)Δ3+2Δ2+6Δ for any graph G. In [Citation20], Paul et al. showed that λ2,1(G)Δ+w for interval graph and they also shown that λ2,1(G)Δ+3w for circular-arc graph, where w represents the size of the maximum clique, also in [Citation21] they have shown that the value of λ0,1 can be computed for interval graph using polynomial time. Recently, Paul et al. have studied a linear time algorithm to compute square of interval graphs and their colouring [Citation22]. Calamoneri et al. [Citation23] have shown that λ0,1(G)2Δ and λ1,1(G)2Δ+ω for circular-arc graphs. Also in [Citation12], Amanathulla and Pal have shown that λ0,1(G)Δ and λ1,1(G)2Δ for circular-arc graphs and they have also shown that λ3,2,1(G)9Δ6, λ4,3,2,1(G)16Δ12 for circular-arc graphs [Citation24] and λ3,2,1(G)11Δ8 if Δ5 and λ3,2,1(G)13Δ18 if Δ>5 for permutation graphs [Citation25].

In this paper, for interval graphs G, it is shown that the upper bounds of L(3,2,1)- and L(4,3,2,1)-labeling are 6Δ3 and 10Δ6 respectively, where Δ represents the maximum degree of the vertices. Also two algorithms are designed to label an interval graph by L(3,2,1)- and L(4,3,2,1)-labeling. The time complexities of both the algorithms are O(nΔ2), where n represent the number of vertices of G.

The remaining part of the paper is organized as follows. Some notations and definitions are presented in Section 2. In Section 3, some lemmas related to our work and an algorithm to L(3,2,1)-label an interval graphs are presented. Section 4 is devoted to L(4,3,2,1)-labeling problem of interval graphs. In Section 5, a conclusion is made.

2 Preliminaries and notations

The graphs used in this work are simple, finite, without self loop or multiple edges. A graph G=(V,E) is called an intersection graph for a finite family F of a non-empty set if there is a one-to-one correspondence between F and V such that two sets in F have non-empty intersection if and only if there corresponding vertices in V are adjacent to each other. We call F an intersection model of G. For an intersection model F, we use G(F) to denote the intersection graph for F. Depending on the nature of the set F one gets different intersection graphs. The class of interval graph is a very important subclass of intersection graph [26–28Citation[26]Citation[27]Citation[28]]. In [Citation29] Pal et al. discussed, a data structure on interval graphs and its applications. Let I={I1,I2,,In}, where Ik=[ak,bk],k=1,2,,n be a set of intervals on a real line, aj and bj are respectively the left and right end points of the interval Ik. We draw a vertex vk for the interval Ik,k=1,2,,n. Two vertices vi and vj are adjacent if and only if there corresponding intervals have non empty intersection. Thus an undirected graph G=(V,E) is an interval graph if the vertex set V can be put into one-to-one correspondence with a set of intervals I on the real line such that two vertices are adjacent in G if and only if there corresponding intervals have non empty intersection. Also, it is observed that an interval Ik of I and a vertex vk of V are one and same thing. We assume that the intervals in I are indexed by increasing left end points, that is, a1<a2<<an, i.e. v1<v2<<vn). This indexing is known as IG ordering. An interval representation and its corresponding interval graphs are shown in .

Fig. 1 An interval representation and the corresponding interval graph.

For any interval graph G and its interval representation I, we define the following notations:

1.

L(Ik): the set of used labels before labeling the interval Ik, for any IkI.

2.

Li(Ik): the set of used labels at distance i (i=1,2,3,4) from the interval Ik, before labeling the interval Ik, for any IkI.

3.

Lvl(i,Ik): the set of all valid labels to label the interval Ik before labeling Ik, satisfying the condition of distance i,i1 and i2, for i=1,2,3 of L(3,2,1)-labeling, for any IkI.

4.

Lvl(i,Ik): the set of all valid labels to label the interval Ik before labeling Ik, satisfying the condition of distance i,i1,i2 and i3, for i=1,2,3,4 of L(4,3,2,1)-labeling, for any IkI.

5.

fj: the label of the interval Ij, for any IjI.

6.

L: the label set, i.e. the set of labels used to label the interval graph G completely.

3 L(3,2,1)-labeling of interval graphs

In this section, we introduced some results which are used to find the upper bound of L(3,2,1)-labeling. Also, these results are used to design the algorithm.

Lemma 1

For an interval graph G, |Li(Ik)|Δ1, i=2,3,4 for any interval IkI of G.

Proof

Let G be an interval graph. we start the labeling of the graph from the leftmost interval. Let vk be the vertex of the graph G corresponding to the interval Ik. We consider a situation in which the intervals I1,I2,,Ik1 (for k=2,3,,n) are already labeled by L(3,2,1)-labeling and the remanning intervals are not labeled.

Case 1:i=2

Let |L2(Ik)|=m. This implies that m distinct labels are used to label the intervals at distance two from the interval Ik, before labeling the interval Ik.

Since, G is an interval graph and Δ be the degree of the graph G, so there exists an interval Iα (in ) which is adjacent to at most Δ intervals of G. In , Iα is adjacent to Ik,Iβ,Ik21,Ik22,Ik23. Among the intervals, some intervals (Iβ,Ik21,Ik22,Ik23 in ) are of distance two from Ik and among these intervals at least one interval (Ik in ) is not at distance two from Ik. Therefore, mΔ1, i.e. |L2(Ik)|Δ1.

Case 2:i=3

Let |L3(Ik)|=p. This implies that p distinct labels are used to label the intervals at distance three from the interval Ik, before labeling the interval Ik. Since, G is an interval graph, so among the intervals at distance two from Ik, there exists an interval Iβ (in ) which is adjacent to at most Δ intervals (Iα,Ik21,Ik22,Ik23,Ik31,Ik32,Ik33) of G. Among these intervals some intervals (Ik31,Ik32,Ik33 in ) are of distance three from the interval Ik. And also among the intervals there exists at least one interval (Iα in ) which is adjacent to Iβ but not at distance three from Ik. So, pΔ1. Hence, |L3(Ik)|Δ1.

Case 3:i=4

This case is similar to the previous cases. □

Fig. 2 A set of intervals.

Lemma 2

For any interval graph G, Li(Ik)L(Ik), for any interval IkI, i=1,2,3,4.

Proof

According to the definition, L(Ik) is the set of used labels before labeling the interval Ik. So any label lLi(Ik) implies lL(Ik), for i=1,2,3,4. Hence Li(Ik)L(Ik). □

Theorem 1

For any interval graph G, the L(3,2,1)-labeling number λ3,2,1(G) is at most 6Δ3, where Δ is the degree of the graph G.

Proof

Let the number of vertices of the graph G be n and let I={I1,I2,,In}, where Ik is the interval corresponding to the vertex vk of the graph G. We shall label the intervals in ascending order of their subscripts.

Let L(Ik)={0,1,6Δ3}, where IkI. Then |L(Ik)|=6Δ2. If the set L(Ik) is sufficient to label all the intervals corresponding to all the vertices of the graph G satisfying L(3,2,1)-labeling condition, then we can say that λ3,2,1(G)6Δ3. We consider a situation in which the intervals I1,I2,,Ik1, for k=2,3,n are already labeled and Ik,Ik+1,,In are not labeled. In this case, we want to label the interval Ik. We know that |L1(Ik)|Δ. So, in worst case (6Δ2)3Δ=3Δ2 labels of the set L(Ik) are available, which satisfies the condition of distance one of L(3,2,1)-labeling.

Also, since, |L2(Ik)|Δ1 (By Lemma 1), so in worst case (3Δ2)2(Δ1)=Δ labels of the set L(Ik) are available, which satisfies the condition of distance one and two of L(3,2,1)-labeling. Again, since, |L3(Ik)|Δ1 (By Lemma 1), so in the extreme unfavourable cases at least one (viz. Δ(Δ1)=1) label of the set L(Ik) is available satisfying L(3,2,1)-labeling condition. Since Ik is arbitrary so we can label any interval of the interval graph G satisfying L(3,2,1)-labeling condition by using only the label of the set L(Ik). If we take L(Ik) so that L(Ik){0,1,6Δ3} and in similar manner we are going to label the interval Ik by L(3,2,1)-labeling, then it follows that the set L(Ik) may or may not contain a label satisfying L(3,2,1)-labeling condition. Therefore, λ3,2,1(G)6Δ3. Hence, the L(3,2,1)-labeling number for interval graph is at most 6Δ3. □

3.1 Algorithm for L(3,2,1)-labeling

In this section, we design an algorithm to compute the set Lvl(k,Ij) for j=2,3,,n and k=1,2,3 and also we design an algorithm to L(3,2,1)-label an interval graph. We consider a situation in which some intervals (the intervals Ik’s with index k<j) are labeled by L(3,2,1)-labeling and some intervals (the intervals Ik’s with index kj) are not labeled.

Lemma 3

Algorithm LKVL, k=1,2,3 correctly compute Lvl(k,Ij) for j=2,3,,n and the running time for this algorithm is O(Δ2).

Proof

According to this algorithm every element iLvl(1,Ij) is differ from lp by at least 3 for each lpL1(Ij). So, |ilp|3 for all iLvl(1,Ij) and for all lpL1(Ik). So the algorithm correctly computes Lvl(1,Ij).

Again, according to the above algorithm for each k=1,2 every element lm of Lvl(k+1,Ij) is differ from pn by at least 3k for each pnL(k+1)(Ij). So, |lmpn|3k for all lmLvl(k+1,Ij) and for all pnLk+1(Ij), for k=1,2. Hence the algorithm correctly computes Lvl(k,Ij) for k=1,2,3.

Since L is the label set and |L| be its cardinality, clearly |Li(Ij)||L| for i=1,2,3 and for any IjI and also r6Δ, where r=max{L(Ij)}+3. So we can compute Lvl(1,Ij) using at most |L|6Δ times, i.e. using O(Δ|L|) times. Also, |Lvl(k,Ij)|6Δ2, for k=1,2. So for each k=1,2,Lvl(k+1,Ij) can be computed using at most |L|(6Δ2) times, i.e. using O(Δ|L|) times. So the time complexity of the algorithm LKVL is O(Δ|L|), i.e. O(Δ2), since |L|6Δ2. □

Lemma 4

For any interval graph G and for any IjI, Lvl(k,Ij) is the largest non empty set satisfying the condition of distance 1,2,,k for k=1,2,3, of L(3,2,1)-labeling, where lu for all lLvl(k,Ij) and u=max{L(Ij)}+3, for any IjI and k=1,2,3.

Proof

Since, u=max{L(Ij)}+3 and Li(Ij)L(Ij) for i=1,2,3 (By Lemma 2), so |ulp|3 for any lpLi(Ij),i=1,2,3. Therefore, uLvl(k,Ij) for k=1,2,3. Hence, for any k=1,2,3, Lvl(k,Ij) is non empty. Again, let A be any set of labels satisfying the condition of distance 1,2,,k for k=1,2,3, of L(3,2,1)-labeling, where lu for all lA. Also, let aA. Then |ali|4i for any liLi(Ij) and for i=k2,k1,k, where i>0. Thus, aLvl(k,Ij), for k=1,2,3. Therefore, aA implies aLvl(k,Ij), for k=1,2,3. So, ALvl(k,Ij), for k=1,2,3. Since A is arbitrary, so for any k=1,2,3, Lvl(k,Ij) is the largest non empty set of labels satisfying the condition of distance 1,2,,k for k=1,2,3 of L(3,2,1)-labeling, where lu and for all lLvl(k,Ij). □

Theorem 2

Algorithm L321 correctly labels an interval graph satisfying L(3,2,1)-labeling condition.

Proof

Let G be an interval graph with n vertices. Let I={I1,I2,,In} be the set of intervals of the interval graph, also let f1=0, L(I2)={0}. If n=1, then L(I2) is sufficient to label the whole graph and obviously, λ3,2,1(G)=0. If n>1, then L(I2) is not sufficient to label the graph G by L(3,2,1)-labeling, because in this case more than one label is required and L(I2) contains only one label.

We consider a situation in which the intervals I1,I2,,Ij1 are already labeled for j=2,3,,n. In this situations we want to label the interval Ij by L(3,2,1)-labeling. We know that Lvl(k,Ij) is the largest non-empty set satisfying the condition of distance 1,2,,k for k=1,2,3 of L(3,2,1)-labeling, where lu for all lLvl(k,Ij) and u=max{L(Ij)}+3 for any IjI and k=1,2,3 (By Lemma 4). Again, no label lu and lLvl(3,Ij) satisfying L(3,2,1)-labeling condition. So the labels on the set Lvl(3,Ij) is the only valid label for Ij, which is less than or equal to u and satisfying L(3,2,1)-labeling condition. Since we want to label the interval Ij by L(3,2,1)-labeling, so, fj=q, where q=min{Lvl(3,Ij)}. Then q is the least label for Ij, because no label less than q satisfies L(3,2,1)-labeling condition. Since, Ij is arbitrary so by Algorithm L321 the graph G can be labeled using minimum number of labels satisfying L(3,2,1)-labeling condition and λ3,2,1(G)=max{L(In){fn}}. □

Theorem 3

The time complexity of Algorithm L321 is O(nΔ2), where n is the number of vertices of the graph and Δ is the degree of the graph.

Proof

In Algorithm L321, our aim is to find least possible label for each interval Ij. By our proposed algorithm it is clear that fj can be computed if Lvl(3,Ij) is computed. Now by Lemma 3, Algorithm LKVL for k=1,2,3 takes O(Δ2) time to compute Lvl(3,Ij). Since we need to find Lvl(3,Ij) for j=2,3,,n, so the overall time complexity of Algorithm L321 is O((n1)Δ2), i.e. O(nΔ2). □

Illustration of AlgorithmL321

We consider an interval graph with 13 vertices (see ) and labeled this graph by Algorithm L321.

Fig. 3 An interval graph labeled by L(3,2,1)-labeling, the number within the circle represents the label of the corresponding vertices.

For this graph, I={I1,I2,,I13} and Δ=4.

fj= the label of the interval Ij, for j=1,2,,13.f1=0, L(I2)={0}.

Iteration 1: For j=2.

L1(I2)={0}, L2(I2)=ϕ, L3(I2)=ϕ.

Lvl(1,I2)={3}, Lvl(2,I2)={3}, Lvl(3,I2)={3}.

Therefore, f2=min{Lvl(3,I2)}=3 and L(I3)=L(I2){f2}={0}{3}={0,3}.

Iteration 2: For j=3.

L1(I3)={0,3}, L2(I3)=ϕ, L3(I3)=ϕ.

Lvl(1,I3)={6}, Lvl(2,I3)={6}, Lvl(3,I3)={6}.

So f3=min{Lvl(3,I3)}=6 and L(I4)=L(I3){f3}={0,3,}{6}={0,3,6}.

Iteration 3: For j=4.

L1(I4)={0,6}, L2(I4)={0}, L3(I4)=ϕ.

Lvl(1,I4)={0,9}, Lvl(2,I4)={9}, Lvl(3,I4)={9}.

Therefore, f4=min{Lvl(3,I4)}=9 and L(I5)=L(I4){f4}={0,3,6}{9}={0,3,6,9}.

Iteration 4: For j=5.

L1(I5)={9}, L2(I5)={3,6}, L3(I5)={0}.

Lvl(1,I5)={0,1,2,3,4,5,6,12}, Lvl(2,I5)={0,1,12}, Lvl(3,I5)={1,12}.

Therefore, f5=min{Lvl(3,I5)}=1 and L(I6)=L(I5){f5}={0,3,6,9}{1}={0,1,3,6,9}.

After iteration 4 the graph becomes: (see ).

Fig. 4 The interval graph of after iteration 4.

Iteration 5: For j=6.

L1(I6)={1}, L2(I6)={9}, L3(I6)={3,6}.

Lvl(1,I6)={4,5,6,7,8,9,10,11,12}, Lvl(2,I6)={4,5,6,7,11,12}, Lvl(3,I6)={4,5,7,11,12}.

Therefore, f6=min{Lvl(3,I6)}=4 and L(I7)=L(I6){f6}={0,1,3,6,9}{4}={0,1,3,4,6,9}.

In this way, f7=7, f8=10, f9=0, f10=13, f11=3, f12=6 and finally, f13=1.

The vertices and the label of the corresponding vertices are given below:

4 L(4,3,2,1)-labeling of interval graphs

By extending the idea of L(3,2,1)-labeling of interval graphs, we present an algorithm for L(4,3,2,1)-labeling of the interval graphs. In this section, we present some lemmas related to our work, upper bound of L(4,3,2,1)-labeling, Algorithm L4321 and time complexity of the proposed algorithm L4321 and finally an illustration of Algorithm L4321.

Theorem 4

For any interval graph G, the L(4,3,2,1)-labeling number λ4,3,2,1(G) is at most 10Δ6, where Δ is the degree of the graph G.

Proof

Let G be an interval graph with n vertices and let I={I1,I2,,In}, where Ik is the interval corresponding to the vertex vk of the graph G. We label the intervals in ascending order of the subscript of the intervals.

Let L(Ik)={0,1,10Δ6}, where IkI. Then |L(Ik)|=10Δ5. If the set L(Ik) is sufficient to label all the intervals corresponding to all the vertices of the graph G satisfying L(4,3,2,1)-labeling condition, then we can say that λ4,3,2,1(G)10Δ6. We consider a situations in which the intervals I1,I2,,Ik1, for k=2,3,n are already labeled and Ik,Ik+1,,In are not labeled. In this case, we label the interval Ik by L(4,3,2,1)-labeling. We know that |L1(Ik)|Δ. So in worst case (10Δ5)4Δ=6Δ5 labels of the set L(Ik) are available to label the intervals which are at distance one from the interval Ik.

Also, since, |L2(Ik)|Δ1 (By Lemma 1), so in worst case (6Δ5)3(Δ1)=3Δ2 labels of the set L(Ik) are available which satisfies the conditions of distance one and two of L(4,3,2,1)-labeling. Again, since, |L3(Ik)|Δ1 (By Lemma 1), so in extreme unfavourable cases (3Δ2)2(Δ1)=Δ labels of the set L(Ik) are available which satisfies the conditions of distance one, two and three of L(4,3,2,1)-labeling. Again, since, |L4(Ik)|Δ1 (By Lemma 1), so in the extreme unfavourable cases at least one (viz. Δ(Δ1)=1) label of the set L(Ik) is available which satisfies L(4,3,2,1)-labeling condition. Since Ik is arbitrary, so we can label any interval of the interval graph G satisfying L(4,3,2,1)-labeling condition by using only the label of the set L(Ik).

Thus, using the labels of the set {0,1,10Δ6} one can L(4,3,2,1)-label the interval graph G. Therefore, λ4,3,2,1(G)10Δ6.  □

4.1 Algorithm for L(4,3,2,1)-labeling

In this subsection, an algorithm to compute the set Lvl(k,Ij) for j=2,3,,n and k=1,2,3 is designed and also we design an algorithm to L(4,3,2,1)-label an interval graph. We consider a situation in which some intervals (the intervals Ik’s with index k<j) are labeled by L(4,3,2,1)-labeling and some intervals (the intervals Ik’s with index kj) are not labeled.

Lemma 5

Algorithm LKVL, k=1,2,3,4 correctly compute Lvl(k,Ij) for j=2,3,,n and the running time for this algorithm is O(Δ2).

Proof

According to this algorithm every element iLvl(1,Ij) is differ from lp by at least 4 for each lpL1(Ij). So, |ilp|4 for all iL1vl(Ij) and for all lpL1(Ik). So the algorithm correctly computes Lvl(1,Ij).

Again, according to the above algorithm for each k=1,2,3 every element lm of Lvl(k+1,Ij) is differ from pn by at least 4k for each pnL(k+1)(Ij). So, |lmpn|4k for all lmLvl(k+1,Ij) and for all pnLk+1(Ij), for k=1,2,3. Hence the algorithm correctly compute Lvl(k,Ij) for k=1,2,3.

Since L is the label set and |L| be its cardinality, clearly |Li(Ij)||L| for i=1,2,3,4 and for any IjI and also r10Δ2, since r=max{L(Ij)}+4. So we can compute L1vl(Ij) using at most |L|(10Δ2) times, i.e. using O(Δ|L|) times. Also, |Lvl(k,Ij)|10Δ5, for k=1,2,3. So for each k=1,2,3,Lvl(k+1,Ij) can be computed using at most |L|(10Δ5) times, i.e. using O(Δ|L|) times. So the time complexity of the algorithm LKVL is O(Δ|L|), i.e. O(Δ2), since |L|10Δ5. □

Lemma 6

For any interval graph G and for any IjI, Lvl(k,Ij) is the largest non empty set satisfying the condition of distance 1,2,,k for k=1,2,3,4 of L(4,3,2,1)-labeling, where lu for all lLvl(k,Ij) and u=max{L(Ij)}+4, for any IjI and k=1,2,3,4.

Proof

Since, u=max{L(Ij)}+4 and Li(Ij)L(Ij) for i=1,2,3,4 (By Lemma 2), so |uli|4 for any liLi(Ij),i=1,2,3,4. Therefore, uLvl(k,Ij) for k=1,2,3,4. Hence, for any k=1,2,3,4, Lvl(k,Ij) is non empty. Again, let A be any set of labels satisfying the condition of distance 1,2,,k for k=1,2,3,4 of L(4,3,2,1)-labeling, where lu for all lA. Also, let aA. Then |ali|5i for any liLi(Ij) and for i=k3,k2,k1,k, where i>0. Thus, aLvl(k,Ij), for k=1,2,3,4. Therefore, aA implies aLvl(k,Ij), for k=1,2,3,4. So, ALvl(k,Ij), for k=1,2,3,4. Since A is arbitrary, so for any k=1,2,3,4, Lvl(k,Ij) is the largest non empty set of labels satisfying the condition of distance 1,2,,k for k=1,2,3,4 of L(4,3,2,1)-labeling, where lu and for all lLvl(k,Ij). □

Theorem 5

Algorithm L4321 correctly labels an interval graph satisfying L(4,3,2,1)-labeling condition.

Proof

Let G be an interval graph with n vertices. And let the set of intervals of the interval graph be I={I1,I2,,In}, also let f1=0, L(I2)={0}. If n=1, then L(I2) is sufficient to label the whole graph and obviously, λ4,3,2,1(G)=0. If n>1, then L(I2) is not sufficient to label the graph G by L(4,3,2,1)-labeling, because in this case more than one label is required and L(I2) contains only one label.

We consider a situation in which the intervals I1,I2,,Ij1 are already labeled for j=2,3,,n. In this case, we label the interval Ij by L(4,3,2,1)-labeling. We know that Lvl(k,Ij) is the largest non-empty set satisfying the condition of distance 1,2,,k for k=1,2,3,4 of L(4,3,2,1)-labeling, where lu for all lLvl(k,Ij) and u=max{L(Ij)}+4 for any IjI and k=1,2,3,4 (By Lemma 6). Again no label lu and lLvl(4,Ij) satisfying L(4,3,2,1)-labeling condition. So the labels on the set Lvl(4,Ij) is the only valid label for Ij, which is less than or equal to u and satisfies L(4,3,2,1)-labeling condition. Since we want to label the interval Ij by L(4,3,2,1)-labeling, so, fj=q, where q=min{Lvl(4,Ij)}. Then q is the least label for Ij, because no label less than q satisfies L(4,3,2,1)-labeling condition. Since, Ij is arbitrary so by Algorithm L4321 the graph G can be labeled using minimum number of labels satisfying L(4,3,2,1)-labeling condition and λ4,3,2,1(G)=max{L(In){fn}}. □

Theorem 6

The time complexity of Algorithm L4321 is O(nΔ2), where n is the number of vertices of the graph and Δ is the degree of the graph.

Proof

In Algorithm L4321, our aim is to find the least possible label for each interval Ij. By our proposed algorithm it is clear that fj can be computed if Lvl(4,Ij) is computed. Now by Lemma 5, LKVL for k=1,2,3,4 takes O(Δ2) time to compute Lvl(4,Ij). Since we need to find Lvl(4,Ij) for j=2,3,,n, so the overall time complexity of Algorithm L4321 is O((n1)Δ2), i.e. O(nΔ2). □

Illustration of AlgorithmL4321

We consider an interval graph with 13 vertices (see ) and label this graph by Algorithm L4321.

Fig. 5 An interval graph labeled by L(4,3,2,1)-labeling. The number within the circle represents the label of the corresponding vertices.

For this graph, V={v1,v2,,v13} and Δ=4.

fj, the label of the vertex vj, for j=1,2,,13.

f1=0, L(v2)={0}.

Iteration 1: For j=2.

L1(v2)={0}, L2(v2)=ϕ, L3(v2)=ϕ, L4(v2)=ϕ.

Lvl(1,v2)={4}, Lvl(2,v2)={4}, Lvl(3,v2)={4}, Lvl(4,v2)={4}.

Therefore, f2=min{Lvl(4,v2)}=4 and L(v3)=L(v2){f2}={0}{4}={0,4}.

Iteration 2: For j=3.

L1(v3)={0,4}, L2(v3)=ϕ, L3(v3)=ϕ, L4(v3)=ϕ.

Lvl(1,v3)={8}, Lvl(2,v3)={8}, Lvl(3,v3)={8}, Lvl(4,v3)={8}.

Therefore, f3=min{Lvl(4,v3)}=8 and L(v4)=L0(v3){f3}={0,4}{8}={0,4,8}.

Iteration 3: For j=4.

L1(v4)={0,8}, L2(v4)={0}, L3(v4)=ϕ, L4(v4)=ϕ.

Lvl(1,v4)={0,12}, Lvl(2,v4)={12}, Lvl(3,v4)={12}, Lvl(4,v4)={12}.

Therefore, f4=min{Lvl(4,v4)}=12 and L(v5)=L(v4){f4}={0,4,8}{12}={0,4,8,12}.

Iteration 4: For j=5.

L1(v5)={12}, L2(v5)={4,8}, L3(v5)={0}, L4(v5)=ϕ.

Lvl(1,v5)={0,1,2,3,5,6,7,8,16}, Lvl(2,v5)={0,1,16}, Lvl(3,v5)={16}, Lvl(4,v5)={16}.

Therefore, f5=min{Lvl(4,v5)}=16 and L(v6)=L(v5){f5}={0,4,8,12}{16}={0,4,8,12,16}.

After iteration 4 the graph becomes: (see ).

Fig. 6 The interval graph of after iteration 4.

Iteration 5: For j=6.

L1(v6)={16}, L2(v6)={12}, L3(v6)={4,8}, L4(v6)={0}.

Lvl(1,v6)={0,1,2,3,5,6,7,8,9,10,11,12,20}, Lvl(2,v6)={0,1,2,3,4,5,6,7,8,9,20}, Lvl(3,v5)={0,1,2,6,20}, Lvl(4,v5)={1,2,6,20}.

Therefore, f6=min{Lvl(4,v6)}=1 and L(v7)=L(v6){f6}={0,4,8,12,16}{1}={0,1,4,8,12,16}.

In this way, f7=5, f8=9, f9=13, f10=18, f11=3, f12=7 and finally, f13=11.

The vertices and the label of the corresponding vertices are shown below:

5 Conclusion

In this paper, we determine the upper bounds for λ3,2,1 and λ4,3,2,1 for an interval graph G, and have shown that λ3,2,1(G)6Δ3 and λ4,3,2,1(G)10Δ6. These bounds are tighter than the previous available result [Citation7]. Also, two algorithms are designed to L(3,2,1)-label and L(4,3,2,1)-label for interval graphs. The running time for both the algorithms are O(nΔ2). We feel that the computation of exact value of λ3,2,1 and λ4,3,2,1 for an interval graph is very difficult. Since the result is not exact, so there is a chance for new upper bounds for the problems. Also the time complexities of the proposed algorithms may be reduced.

Notes

Peer review under responsibility of Kalasalingam University.

References

  • W.K.HaelFrequency assignment: theory and applicationsProc. IEEE68198014971514
  • J.GriggsR.K.YehLabeling graphs with a condition at distance twoSIAM J. Discrete Math.51992586595
  • G.J.ChangC.LuDistance two labelling of graphsEuropean J. Combin.2420035358
  • S.H.ChiangJ.H.YanOn L(d,1)-labeling of cartesian product of a pathDiscrete Appl. Math.15615200828672881
  • S.PaulM.PalA.PalL(2,1)-labeling of circular-arc graphAnn. Pure Appl. Math.522014208219
  • D.SakaiLabeling chordal graphs with a condition at distance twoSIAM J. Discrete Math.71994133140
  • A.A.BertossiC.M.PinottiApproximate L(δ1,δ2,…,δt)-coloring of trees and interval graphsNetworks4932007204216
  • H.L.BodlaenderT.KloksR.B.TanJ.V.LeeuwenApproximations for λ-colorings of graphsComput. J.4722004193204
  • N.KhanM.PalA.PalL(2,1)-total labeling of cactus graphsInternat. J. Inform. Comput. Sci.542010243260
  • N.KhanM.PalA.PalL(0,1)-labeling of cactus graphsCommun. Network420121829
  • T.CalamoneriL(δ1,δ2,1)-labeling of eight gridsInform. Process. Lett.1132013361364
  • Sk.AmanathullaM.PalL(0,1)- and L(1,1)-labeling problems on circular-arc graphsInt. J. Soft Comput.1162016343350
  • T.CalamoneriThe L(h,k)-labeling problem: an updated survey and annotated bibliographyComput. J.548201113441371
  • J.ClippertonJ.GehrtzZ.SzaniszloD.TorkornooL(3,2,1)-labeling of Simple Graphs2006VERUM, Valparaiso University
  • M.L.ChiaD.QuaH.LiaoC.YangR.K.YeaL(3,2,1)-labeling of graphsTaiwanese J. Math.156201124392457
  • J.LiuZ.ShaoThe L(3,2,1)-labeling problem on graphsMath. Appl.1742004596602
  • J.ClippertonL(d,2,1)-labeling of simple graphsMath J.92008111
  • B.M.KimW.HwangB.C.SongL(3,2,1)-labeling for product of a complete graph and cycleTaiwanese J. Math.201410.11650/tjm.18.2014.4632
  • J.ClippertonL(4,3,2,1)-labeling of simple graphsAppl. Math. Sci.12201195102
  • S.PaulM.PalA.PalL(2,1)-labeling of interval graphJ. Appl. Math. Comput., ISSN4912015419432
  • S.PaulM.PalA.PalAn efficient algorithm to solve L(0,1)-labeling problem on interval graphsAdv. Model. Optim.1512013113
  • S.PaulM.PalA.PalA linear time algorithm to compute square of interval graphs and their colouringAKCE Int. J. Graphs Comb.13120165464
  • T.CalamoneriG.EmanueleFuscoRichard B.TanPaola Vocca, L(h,1,1)-labeling of outerplanar graphsMath. Meth Oper. Res.692009307321
  • Sk.AmanathullaM.PalL(3,2,1)- and L(4,3,2,1)-labeling problems on circular-arc graphsInt. J. Control Theory Appl.9342016869884
  • Sk.AmanathullaM.PalL(3,2,1)-labeling problems on permutation graphsTransylv. Rev.2514201739393953
  • M.PalG.P.BhattacharjeeOptimal sequential and parallel algorithms for computing the diameter and the center of an interval graphInt. J. Comput. Math.591995113
  • M.PalG.P.BhattacharjeeAn optimal parallel algorithm to color an interval graphParallel Process. Lett.61996439449
  • M.PalIntersection graphs: An introductionAnn. Pure Appl. Math.420134193
  • M.PalG.P.BhattacharjeeA data structure on interval graphs and its applicationsJ. Circuits Syst. Comput.71997165175