Rainbow Colorings on Pyramid Networks Fu-Hsing Wang, Member, IAENG, and Cheng-Ju Hsu

Rainbow Colorings on Pyramid Networks Fu-Hsing Wang, Member, IAENG, and Cheng-Ju Hsu

IAENG International Journal of Computer Science, 46:3, IJCS_46_3_07 ______________________________________________________________________________________ Rainbow Colorings on Pyramid Networks Fu-Hsing Wang, Member, IAENG, and Cheng-Ju Hsu Abstract—An edge coloring graph G is rainbow connected may have other agencies as intermediaries by assigning pass- if every two vertices are connected by a rainbow path, i.e., words between agencies [8]. Every pair of agencies with one a path with all edges of different colors. An edge coloring or more secure paths along with distinct passwords reveals under which G is rainbow connected is a rainbow coloring. Rainbow connection number of G is the minimum number the rainbow connection and is prohibitive to intruder [8]. of colors needed under a rainbow coloring. In this paper, we The problem and its applications are intensively discussed propose a lower bound to the size of the rainbow connection in detail from the combinatorial perspective, with over 100 number of pyramid networks. We believe that our techniques papers published (see good surveys [7], [13] and a book [14] used for the lower bound is useful to prove lower bounds in for an overview). the class of pyramid-like networks. In this paper, we also give a linear-time algorithm for constructing a rainbow coloring on The rainbow connection number and rainbow coloring pyramid networks and thus get an upper bound to the rainbow have been studied from both the algorithmic and graph- connection number of pyramid networks. The result shows that theoretic points of view. Chakraborty et al. showed that although the ratio of the upper bound and the lower bound are computing the rainbow connection number of a general graph associated with a proportional increase in the dimension of the is NP-hard [2]. In fact, even deciding whether χ (G) = 2 networks, the resulting ratios are still bounded. r holds for a graph G is an NP-complete problem [2]. In Index Terms—rainbow connection number, rainbow coloring, [7], Eiben et al. gave an algorithm for deciding whether it rainbow path, pyramid networks. is possible to obtain a rainbow coloring by saving a fixed number of colors. An easy observation that diam(G) ≤ I. INTRODUCTION χr(G) ≤ jV (G)j − 1, where the diameter diam(G) is the length of the longest shortest path in G. It is easy to verify NTERCONNECTION networks have an enormous im- that χ (G) = 1 if and only if G is a complete graph, and pact on the quality of communications between users r I χ (G) = jV (G)j−1 if and only if G is a tree. In [1], Caro et and data transmissions. To address this issue, many re- r al. provided sufficient conditions that guarantee χ (G) = 2 search problems, including Hamiltonian connectivity [10], r and determined a threshold function for a random graph to [11], k−path vertex cover [21], linear karboricity [20], for have χ (G) = 2. Also notice that χ (G) ≤ jV (G)j − 1 for a interconnection networks were widely discussed. A powerful r r general graph G, since one may color the edges of a given and analytical tool in studying interconnection networks is spanning tree with distinct colors (and color the remaining graph theory because interconnection network usually can be edges with one of the already used colors). Most recent modeled as a simple graph whose vertices represent process- research has been devoted to study the bounds of the rainbow ing nodes of the system and edges represent communication connection numbers on random regular graphs [5], connected links. Let V (G) and E(G) denote the set of vertices and the outerplanar graphs [6], triangular snake graphs [16], etc. set of edges, respectively, of a graph G. The order of G is Chartrand et al. computed the precise rainbow connection jV (G)j. An edge coloring of a graph is a function from its number for certain special graphs, e.g., Peterson graphs and edge set to the set of natural numbers. A path between two complete multi-partite graphs [3]. vertices u and v is called a u − v path. A u − v path in an We focus attention on the construction of rainbow color- edge colored graph with no two edges sharing the same color ings of a given pyramid network. Pyramid networks have is called a rainbow u − v path. An edge-colored graph G is powerful architecture for many applications such as image rainbow connected if any two vertices u and v are connected processing, visualization, and data mining [4]. The major by a rainbow u−v path. In this case, the edge coloring of G advantage of pyramid networks for image processing systems is called a rainbow coloring of G. The rainbow connection is hierarchical abstracting and transferring of the data from number of a connected graph G, denoted by χ (G), is the r different directions and forward them toward the apex of a smallest number of colors that are needed to make G rainbow pyramid network [18]. Its features include the fault-tolerate connected. A rainbow k−coloring of a graph is a rainbow properties such as fault diameter, !−wide diameter [9]. Pyra- coloring that uses k colors. mid network also can be implemented with more efficient The problem of rainbow coloring in graphs was introduced parallel algorithms than mesh connected networks for such by Chartrand et al. in [3] and has application in secure trans- problems as image processing and digital geometry [15], fer of classified information between various agencies which [17]. In this paper, we propose an efficient time algorithm Manuscript received March 15, 2019; revised May 27, 2019. for finding a rainbow path for any two vertices of a pyramid A preliminary version of this paper has appeared in: The 11th Inter- network. As far as we know, no rainbow path algorithm exists national Conference on Computer Modeling and Simulation. Melbourne, for pyramid networks. Australia, 2019 [19]. Fu-Hsing Wang is with the Department of Information Manage- The rest of the article is structured as follows. Section II ment, Chinese Culture University, Taipei, Taiwan, R.O.C. e-mail: gives the definition of pyramid networks. In Section III, we [email protected]. give a simple and general lower bound argument which yields Cheng-Ju Hsu is with the Department of Information Management, Chien Hsin University of Science and Technology, Taoyuan, Taiwan, R.O.C. e- lower bounds to the size of the rainbow connection numbers mail: [email protected]. in any pyramid-like graphs. An upper bound for pyramid (Advance online publication: 12 August 2019) IAENG International Journal of Computer Science, 46:3, IJCS_46_3_07 ______________________________________________________________________________________ (2; 0, 0) (2; 0, 1) (2; 0, 2) (2; 0, 3) (1; 0, 0) (1; 0, 1) (0; 0, 0) (2; 1, 0) (2; 1, 1) (2; 1, 2) (2; 1, 3) (2; 2, 0) (2; 2, 1) (2; 2, 2) (2; 2, 3) (a) (b) (1; 1, 0) (1; 1, 1) (2; 3, 0) (2; 3, 1) (2; 3, 2) (2; 3, 3) Fig. 1. A top view of the pyramid P2. (c) (d) networks is presented in Section IV. Section V presents algorithms for finding a rainbow path on given two arbitrary Fig. 2. Shapes of S for (a)χ = 8; (b)χ = 10; (c)χ = 7; (d)χ = 9. vertices of a pyramid network. Finally, concluding remarks r r r r r are given in the last section. II. PRELIMINARIES remaining text of this section. Our proof is based on the k k A square mesh Mk of order 2 × 2 has the vertex set following observation. V (M ) = f(x; y) j 0 ≤ x; y ≤ 2k − 1g where any two k Observation III.1. For any two vertices u; v of distance vertices (x1; y1) and (x2; y2) are connected by an edge iff greater than χr on Mi; 2 ≤ i ≤ n, every rainbow u−v path jx1 − x2j + jy1 − y2j = 1. contains 2a layer edges in Li−1, where the integer a ≥ 1. Let n be an n-dimensional pyramid with the vertex set n P S k Vk, where Vk = f(k; x; y) j 0 ≤ x; y ≤ 2 −1g. We label A maximal subgraph Sr of Mi; 1 ≤ i ≤ n, is called a k=0 rainbow unit if any two vertices in S are of distance less v V (k; x; y) k; x y r the vertex of k as , where and are the layer than or equal to χ . Two rainbow units S and S are said number, row number and column number, respectively, of v. r r1 r2 to be disjoint if V (Sr1 ) \ V (Sr2 ) = ;. The subgraph induced by Vk is connected as an Mk and χ2+2χ +2 called the layer k of n. For simplicity, we let Mk denote r r P Lemma III.1. jV (Sr)j ≤ 2 . the subgraph induced by Vk. In Mk, a subgraph induced by the set of vertices with the same row number x (respectively, Proof: To be maximal, Sr has a shape as shown in χr column number y) is called row x (respectively, column y). Figure 2 depending on the parity of χr. For even χr, 2 χr Vertex (k; x; y) has exactly four children (k+1; 2x; 2y); (k+ is either even or odd. If 2 is even (refer to Figure 2(a)), 1; 2x; 2y + 1); (k + 1; 2x + 1; 2y); (k + 1; 2x + 1; 2y + 1) in then x y Vk+1 and a parent vertex (k − 1; b 2 c; b 2 c) in Vk−1, where χr 2 χr 2 ≤ k ≤ n − 1.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us