401
Views
0
CrossRef citations to date
0
Altmetric
Articles

Graphs with large rank numbers and rank numbers of subdivided stars

, , &

Abstract

A k-ranking of a graph G is a function f:V(G){1,2,,k} such that if f(u)=f(v) then every uv path contains a vertex w such that f(w)>f(u). The rank number of G, denoted χr(G), is the minimum k such that a k-ranking exists for G. It is known that given a graph G and a positive integer t the question of whether χr(G)t is NP-complete. In this paper we characterize graphs with large rank numbers. In addition, we characterize subdivided stars based on their rank numbers.

1 Introduction

Let G be an undirected graph with no loops and no multiple edges. A function f:V(G){1,2,,k} is a (vertex) k-ranking of G if for u,vV(G), f(u)=f(v) implies that every uv path contains a vertex w such that f(w)>f(u). By definition, every ranking is a proper coloring. The rank number of G, denoted χr(G), is the minimum value of k such that G has a k-ranking. For a graph G, by optimal k-ranking we mean a k-ranking such that k=χr(G). When the value of k is not important, we will call a k-ranking simply a ranking. It is known that χr(Kn)=n and χr(Km,n)=min(m,n)+1.

Vertex rankings of graphs are applicable to a plethora of other fields including designs of very large scale integration (VLSI) layouts, Cholesky factorizations of matrices in parallel, wi-fi analytics, and scheduling problems of assembly steps in manufacturing systems. The optimal tree node ranking problem is identical to the problem of generating a minimum height node separator tree for a tree. Node separator trees are extensively used in VLSI layout Citation[1]. Ranking of graphs is used in communication networks in which information flow between the nodes has to be monitored. An application of graph ranking to scheduling of assembly steps in manufacturing system is discussed in Citation[2].

The concept of ranking was introduced by Iyer et al., in Citation[3], for trees. It is shown by Bodlaender et al., in Citation[4], that for a graph G and a positive integer t the question of whether χr(G)t is NP-complete. The mathematical studies of vertex rankings were initiated by Ghoshal and Laskar in Citation[5]. Since then, the rank number of numerous families of graphs have been established, for example see Citation[6–14]. A generalization of k-ranking using the lp norm is discussed in [Citation15].

Let G be a graph of order n. We know that 1χr(G)n. In this paper, we study the rankings of subdivided stars and identify graphs with large rank numbers. The rank number of a subdivided star is either χr(P) or χr(P)+1, where P is the longest path in the subdivided star. We characterize subdivided stars based on their rank numbers, and hence establish the rank number of a subdivided star. We also identify graphs with rank number n1 or n2.

Let G be a graph and let H be a subgraph of G. Throughout this paper, the graph GH represents the graph obtained by deleting E(H) from G. If SV(G), then GS denotes the graph obtained by deleting the vertices in S from G, that is, the subgraph induced by V(G)S. For any labeling f of a graph G, let Si(f)={vV(G)f(v)=i}. Throughout this paper, we assume that for any optimal k-ranking f, |Si(f)||Sj(f)| for 1i<jk because of Lemma 1.1.

Lemma 1.1

Citation[5] There is an optimal ranking f of G such that |S1(f)||S2(f)||Sk(f)|.

Lemma 1.2

Citation[5] Let H be a subgraph of G. Then χr(H)χr(G).

Lemma 1.3

[Citation14] Let H1 andH2 be two vertex disjoint graphs such that χr(H1)=χr(H2)=k. Let G be a connected supergraph of H1H2. Then χr(G)k+1.

Lemma 1.4

Citation[5] Let G be a graph of order n and letI be an independent set of G. Then χr(G)n|I|+1.

Theorem 1.5

Citation[4] χr(Pn)=log2n+1, wherePn is a path on n vertices.

2 Subdivided stars

Let r be a positive integer, and let n1,n2,,nr be positive integers. Let the edges of a complete bipartite graph K1,r be e1,e2,,er. For 1ir, subdivide edge ei ni1 times to obtain a subdivided star denoted by Sn1,n2,,nr. We consider the subdivided edges as paths, Pn1,Pn2,,Pnr, and refer to them as branches.

We can use a binary matrix to represent a subdivided star. For a subdivided star, Sn1,n2,,nr, where n1n2,,nr, construct an r×χr(Pn1) matrix C where row i is the binary representation of ni. An example of a subdivided star and its associated matrix C is given in . Using this binary representation of subdivided stars, we characterize subdivided stars based on their rank numbers.

Fig. 1 S9,6,5,3,2 with corresponding matrix C.

Fig. 1 S9,6,5,3,2 with corresponding matrix C.

Lemma 2.1

χr(Pn1)χr(Sn1,n2,,nr)χr(Pn1)+1, where n1n2nr.

Proof

Since Pn1 is a subgraph of Sn1,n2,,nr, χr(Sn1,n2,,nr)χr(Pn1).

Label the center vertex χr(Pn1)+1, and branch Pni using labels 1,2,,χr(Pni). Since n1n2nr, this will produce a ranking using χr(Pn1)+1 labels. Thus χr(Sn1,n2,,nr)χr(Pn1)+1.□

Theorem 2.2

For any subdivided star Sn1,n2,,nr, with n1n2nr, χr(Sn1,n2,,nr)=χr(Pn1),if i such that Ci=[0,0,,0]T and j<i,Cj contains at most one 1χr(Pn1)+1,otherwise.

Proof

Note that, since χr(Pn)=log2n+1 and Pn1 is a longest branch, the column C1 will contain at least one 1. Assume that for some i, Ci=[0,0,,0]T and j<i, Cj contains exactly one 1. If χr(Pn1)=χr(Pn2), then there would be two 1’s in the first column of C, which contradicts the assumption. Thus branch Pn1 is the only branch with rank number χr(Pn1).

Let S1=Sn1,n2,,nr and C1=C. Label the outermost 2χr(Pn1)11 vertices in Pn1 with χr(Pn1)1 labels. Label the next outermost vertex, w1, with label χr(Pn1). We have now labeled 2χr(Pn1)1 vertices on the branch Pn1 so the number of vertices left unlabeled has the same binary representation as |V(Pn1)| but without the leading 1. Remove the 2χr(Pn1)1 labeled vertices on Pn1 from S1. Now we have a new subdivided star, S2=Sm1,m2,,mk for 0kr, where m1m2mk. Note that any path between vertices in S2 and the deleted vertices from S1 must contain the vertex labeled χr(Pn1). Also, χr(Pm1)=χr(Pn1)1, since C1 has exactly one 1. The matrix C2 can be considered a r×χr(Pn1) matrix with the first column consisting of all zeros and the last χr(Pn1)1 columns the same as that of C. Repeat this process until we get the Ci matrix. The matrix Ci will have zeros on the first i columns and the last χr(Pn1)i columns the same as that of C. Note that column Ci of C has all zeros.

At this point none of the branches of the subdivided star Si have a rank number greater than χr(Pn1)i, (because the first i columns of Ci are zeros), where Pn1 is the longest branch of the original subdivided star S. Label the branches of Si using χr(Pn1)i labels or less and label the middle vertex χr(Pn1)i+1.

An example of this procedure is shown in . Note that in each of these figures the vertices with labels are the vertices that were deleted from the previous subdivided star.

Now any path between vertices in Sa and the vertices deleted from Sa+1 must contain the largest labeled vertex, wa, that was deleted from the largest branch of Sa. Also note that Sa+1 will not have a vertex labeled the same as the label of wa because there is exactly one 1 in each of the first i1 columns of C. Therefore, this labeling will create a ranking using only χr(Pn1) labels. This implies χr(Sn1,n2,,nr)χr(Pn1), and hence, by Lemma 2.1, χr(Sn1,n2,,nr)=χr(Pn1).

Let χr(Sn1,n2,,nr)=χr(Pn1) and let f be an optimal labeling of S. Assume there is no i such that Ci=[0,0,,0]T and j<i, Cj contains only one 1. Let column Cg+1 contain more than one 1 where 0gχr(Pn1)1. Let C1,C2,C3,,Cg contain exactly one 1.

If g=0, then χr(Pn1)=χr(Pn2). Then by Lemma 1.3, χr(Sn1,n2,,nr)=χr(Pn1)+1, a contradiction.

Suppose 0<gχr(Pn1)1. Then, since f must use label χr(Pn1) on the branch Pn1, and the largest label can only be used once, f(m)<χr(Pn1), where m is the middle vertex. When optimally ranking Sn1,n2,,nr, the vertex with the highest label of any branch can be placed as close to the middle vertex as possible while still maintaining optimality. Therefore, without loss of generality, assume that f has such property.

Now, follow the process defined earlier to create the subdivided star Sg+1 and matrix Cg+1 whose first g columns contain zeros and the remaining χr(Pn1)g columns are the same as that of C. Note that in this process, the rank number of the largest branch in Sa+1 is one less than the rank number of the longest branch in Sa where 1ag (because the first g columns of C have exactly one 1). Thus the longest branch of Sg will have rank number χr(Pn1)g+1, and thus f(m)<χr(Pn1)g+1. However, the column Cg+1 has at least two 1s, which means that there are at least two branches of Sg+1 with rank number χr(Pn1)g. Then f(m)χr(Pn1)g+1, a contradiction.

If every column of C has exactly one 1, then using the above process we get f(m)<1 which is a contradiction.

Thus there is an i such that Ci=[0,0,,0]T and j<i, Cj contains only one 1.□

Fig. 2 S=S1=S32,25,3,2 with corresponding matrix C=C1.

Fig. 2 S=S1=S32,25,3,2 with corresponding matrix C=C1.

Fig. 3 S2=S25,3,2 with corresponding matrix C2.

Fig. 3 S2=S25,3,2 with corresponding matrix C2.

Fig. 4 S3=S9,3,2 with corresponding matrix C3.

Fig. 4 S3=S9,3,2 with corresponding matrix C3.

Fig. 5 S4=S3,2,1 with corresponding matrix C4.

Fig. 5 S4=S3,2,1 with corresponding matrix C4.

Fig. 6 χr(S32,25,3,2)=χr(P32)=6.

Fig. 6 χr(S32,25,3,2)=χr(P32)=6.

3 Graphs with large rank numbers

We will first characterize graphs with rank number n1, where n is the order of the graph. In this section, we use the notation HG to mean that H is a subgraph of G.

Lemma 3.1

Let G be a graph of order n, and let G1 be a subgraph of G such that |V(G1)|=n1. If χr(G1)r thenχr(G)r+(nn1).

Proof

Let f be a ranking of G1 such that |f|=r. Now extend f to a ranking of G by assigning distinct labels from the set {r+1,r+2,,r+(nn1)} to vertices in V(G)V(G1).□

Theorem 3.2

χr(KnG)=n1 if and only if KnGKn,K3G, andC4G.

Proof

Let KnGKn, K3G, and C4G. Since KnGKn, χr(KnG)n1.

Consider a ranking f of KnG. Suppose there exist vertices a1,a2,a3V(KnG) such that f(a1)=f(a2)=f(a3)=a. Then {a1,a2,a3} is an independent set in KnG, and hence form a K3 in G, which is a contradiction. Therefore, no label can appear three times or more under f.

Now, suppose there are vertices a1,a2,b1,b2 such that f(a1)=f(a2)=a and f(b1)=f(b2)=b, and without loss of generality, assume that a>b. Then a1a2E(G) and b1b2E(G) since f is a ranking of KnG. Moreover, since K3G and C4G, there exists at most one edge in G that has endpoints a1 or a2 and b1 or b2. This implies that in KnG either a1b1a2 or a1b2a2 is a path that violates the requirements of a ranking, a contradiction. Therefore two labels cannot appear more than once under f. Since no label can be used three times and two labels cannot be used more than once, χr(KnG)n1. Therefore, χr(KnG)=n1.

Now, suppose χr(KnG)=n1. Then KnGKn as χr(Kn)=n. If v1,v2, and v3 form K3 in G, then {v1,v2, v3} form an independent set in KnG and thus, by Lemma 1.4, χr(KnG)n2, a contradiction. Lastly, assume that C4G. We know that χr(C4¯)=2, and thus, by Lemma 3.1, χr(KnG)n2, a contradiction.□

From Theorem 3.2 we get the following corollaries.

Corollary 3.3

χr(G)=n1 if and only if GKn,K3G¯, andC4G¯.

Corollary 3.4

For a tree T on n>1 vertices,χr(T¯)=n1.

We now look at the characteristics of graphs with rank number n2, where n is the order of the graph. Let B=W5uv, where W5 is a wheel on 5 vertices with center vertex u and vu is a vertex in W5. Note that B¯ has two components, a P3 and a P2 and hence we have the following observation.

Observation 3.5

χr(B¯)=2.

Since the graph K3,3¯ has two K3 as components, we have the following observation.

Observation 3.6

χr(K3,3¯)=3.

Theorem 3.7

χr(KnG)=n2 if and only if K3G or C4G,K4G,BG andK3,3G.

Proof

Suppose that χr(KnG)=n2. If K3G and C4G, then either χr(KnG)=n or, by Theorem 3.2, χr(KnG)=n1. If K4G, then KnG contains an independent set of size 4, and thus, by Lemma 1.4, χr(KnG)n3. If either BG or K3,3G, then by Observations 3.5 and 3.6 and by Lemma 3.1, we get χr(KnG)n3. Thus if χr(KnG)=n2 then K3G or C4G, K4G, BG and K3,3G.

Let K3G or C4G, K4G, BG and K3,3G. Since K3G, or C4G, as discussed in the proof of Theorem 3.2, we can find a ranking f of KnG with |f|n2. Thus χr(KnG)n2.

Suppose that χr(KnG)n3. Let f be an optimal ranking of KnG. Then, since |f|n3, one of the following three cases must occur.

Case 1: There exist vertices v1,v2,v3,v4V(KnG) such that f(v1)=f(v2)=f(v3)=f(v4)=1. This means that these vertices form a K4 in G, a contradiction.

Case 2: There exist vertices x1,x2,x3,y1,y2V(KnG) such that f(x1)=f(x2)=f(x3)=1 and f(y1)=f(y2)=2. Then the vertices x1,x2,x3 must form a K3 in G and the vertices y1,y2 must be adjacent in G. Also, each of x1,x2,x3 must be adjacent to either y1 or y2 in G. (If xi were adjacent to neither y1 nor y2 for some 1i3 then the path y1xiy2 would exist in KnG, making f not a ranking.) If each of the xi’s is adjacent to the same yj for some 1j2 then x1,x2,x3, and yj form a K4 in G. If, without loss of generality, x1y1E(G), x1y2E(G), x2y1E(G), and x3y1E(G), then the subgraph of G induced by x1,x2,x3,y1, and y2 contains a B with x2 as the center vertex. However, we assumed that K4G and BG.

Case 3: There exist vertices x1,x2,y1,y2,z1,z2V(KnG) such that f(x1)=f(x2)=1, f(y1)=f(y2)=2, and f(z1)=f(z2)=3. Then {x1x2,y1y2,z1z2}E(G). Let V1={x1,x2}, V2={y1,y2}, and V3={z1,z2}. Since f is a ranking, paths such as y1x1y2 or z1x1z2, or z1y1z2 do not exist in KnG, and thus in G there must be at least two edges between every Vi and Vj, for all 1i<j3. Moreover, the subgraph of KnG induced by {x1,x2,y1,y2,z1,z2} must be disconnected, since the highest label 3 is used twice in the subgraph. This means J¯ is disconnected, where J is the subgraph of G induced by {x1,x2,y1,y2,z1,z2}. Thus J must contain one of the four graphs on six vertices given in .

Note that the first three graphs contain B as a subgraph, and the last graph is a K3,3. This is a contradiction, as we assumed that BG and K3,3G.

Therefore, χr(KnG)n2, and thus χr(KnG)=n2.□

Fig. 7 J must contain one of these four graphs.

Fig. 7 J must contain one of these four graphs.

Corollary 3.8

χr(G)=n2 if and only if K3G¯ or C4G¯,K4G¯,BG¯ andK3,3G¯.

4 Conclusion

Finding the rank number of a general graph is known to be extremely difficult. In this paper, we identified graphs with rank numbers n1 and n2, where n is the order of the graph. The idea we used for finding χr(KnG) would still work for classifying graphs with smaller rank numbers. However, the number of labeling schemes that needs to be considered grows exponentially as the rank number decreases. Each of the labeling scheme produces multiple forbidden subgraphs, and hence this method, while not incorrect, will not be feasible for classifying graphs with smaller rank numbers. An interesting related question would be to identify the minimum number of edges required in an n vertex graph G such that rank number of G is either n1 or n2. We also characterized subdivided stars based on their rank numbers, thus establishing the rank number of all subdivided stars. Rankings of some other classes of trees have also been studied by others, for example see Citation[7,10,14], however, the rank number of an arbitrary tree has not been established.

References

  • LeisersonC., Area efficient graph layouts for VLSI Proc. 21st Ann IEEE Symp. FOCS1980 270–281
  • IyerA.V.RatliffH.D.VijayanG., On an edge ranking problem of trees and graphs Discrete Appl. Math. 30 1 1991 43–52
  • IyerA.V.RatliffH.D.VijayanG., Optimal node ranking of trees Inform. Process. Lett. 28 5 1988 225–229
  • BodlaenderH.L.DeogunJ.S.JansenK.KloksT.KratschD.MüllerH.TuzaZ., Rankings of graphs Graph-Theoretic Concepts in Computer Science (Herrsching, 1994)Lecture Notes in Comput. Sci. vol. 9031995SpringerBerlin292–304
  • GhoshalJ.LaskarR.PilloneD., Minimal rankings Networks 28 1 1996 45–53
  • AlpertH., Rank numbers of grid graphs Discrete Math. 310 23 2010 3324–3333
  • BlakeB.FieldE.JacobJ., Rank numbers of graphs that are combinations of paths and cycles Involve A J. Math. 6 3 2013 369–381
  • BruothE.HorňákM., On-line ranking number for cycles and paths Discuss. Math. Graph Theory 19 2 1999 175–197The Seventh Workshop “3in1” Graphs ’98 (Krynica)
  • DereniowskiD.NadolskiA., Vertex rankings of chordal graphs and weighted trees Inform. Process. Lett. 98 3 2006 96–100
  • HsiehS., On vertex ranking of a starlike graph Inform. Process. Lett. 82 3 2002 131–135
  • NovotnyS.OrtizJ.NarayanD.A., Minimal k-rankings and the rank number of Pn2 Inform. Process. Lett. 109 3 2009 193–198
  • OrtizJ.ZemkeA.KingH.NarayanD.HorňákM., Minimal k-rankings for prism graphs Involve 3 2 2010 183–190
  • RichterP.LevenE.TranA.EkB.JacobJ.NarayanD.A., Rank numbers for bent ladders Discuss. Math. Graph Theory 34 2 2014 309–329
  • SergelE.RichterP.TranA.CurranP.JacobJ.NarayanD.A., Rank numbers for some trees and unicyclic graphs Aequationes Math. 82 1–2 2011 65–79
  • JacobB.C.JacobJ., lp-Optimal rankings and max-optimal rankings are different Graphs Combin. 33 6 2017 1473–1483