Embedding hypercubes into torus and Cartesian product of paths and cycles for minimizing wirelength
Zhiyi Tang

TL;DR
This paper proves the minimum wirelength for embedding hypercubes into Cartesian products of paths and cycles, confirming Gray code embedding as an optimal strategy for such problems.
Contribution
It mathematically proves the conjecture on minimum wirelength and establishes Gray code embedding as optimal for hypercube embeddings into these graph products.
Findings
Proved the minimum wirelength for hypercube embedding into Cartesian products of paths and cycles.
Confirmed Gray code embedding as the optimal strategy for these embeddings.
Solved an open problem in the embedding of hypercubes into torus-like graphs.
Abstract
Though embedding problems have been considered for several regular graphs, it is still an open problem for hypercube into torus. In the paper, we prove the conjecture mathematically and obtain the minimum wirelength of embedding for hypercube into Cartesian product of paths and/or cycles. In addition, we explain that Gray code embedding is an optimal strategy in such embedding problems.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInterconnection Networks and Systems · VLSI and FPGA Design Techniques · VLSI and Analog Circuit Testing
Embedding hypercubes into torus and
Cartesian product of paths and cycles for minimizing wirelength
Zhiyi Tang
School of Mathematics and Physics, Hubei Polytechnic University, Huangshi 435003, PR China.
Abstract.
Though embedding problems have been considered for several regular graphs[1, 2, 3], it is still an open problem for hypercube into torus[4, 2]. In the paper, we prove the conjecture mathematically and obtain the minimum wirelength of embedding for hypercube into Cartesian product of paths and/or cycles. In addition, we explain that Gray code embedding is an optimal strategy in such embedding problems.
Key words: embedding wirelength; hypercube; torus; Cartesian product; Gray code embedding.
1. Introduction
Task mapping in modern high performance parallel computers can be modeled as a graph embedding problem. Let be a simple and connected graph with vertex set and edge set . Graph embedding[1, 2, 3] is an ordered pair of injective mapping between the guest graph and the host graph such that
- (i)
, and
- (ii)
is a path in between and for .
It is known that the topology mapping problem is NP-complete[5]. Since Harper[6] in 1964 and Bernstein[7] in 1967, a series of embedding problems have been studied[8, 9, 10, 11, 12]. The quality of an embedding can be measured by certain cost criteria. One of these criteria is the wirelength. Let denote the wirelength of into under the embedding . Taking over all embeddings , the minimum wirelength of into is defined as
[TABLE]
Hypercube is one of the most popular, versatile and efficient topological structures of interconnection networks[13]. More and more studies related to hypbercubes have been performed[14, 15, 4, 16]. Manuel[4] et al. computated the minimum wirelength of embedding hypercube into a simple cylinder. In that paper, the wirelenth for hypercube into general cylinder and torus were given as conjectures. Though Rajan et al.[17] and Arockiaraj et al.[2] studied those embedding problems, the two conjectures are still open. We recently gave rigorous proofs of hypercubes into cycles[18] and cylinders (the first conjecture)[19] successively. Using those techniques and process, we try to settle the last conjecture for torus. In the paper, we also generaliz the results to other Cartesian product of paths and/or cycles.
It is seen that the grid, cylinder and torus are Cartesian product of graphs. In the past, the vertices of those graphs are labeled by a series of nature numbers[15, 4, 2, 19]. But it is not convenient for some higher dimensional graphs. To describe a certain embedding efficiently, we apply tuples to lable the vertices in the paper. By the tool of Edge Isoperimetric Problem(EIP)[20], we estimate and explain the minimal wirelength for hypercube into torus and other Cartesian product of graphs.
Notation. For , we define to be the hypercube with vertex-set , where two vectors are adjacent if they differ in exactly one coordinate [21].
Notation. An grid with rows and colums is represented by where the rows are labeled and the columns are labeled [15]. The torus is a with a wraparound edge in each column and a wrapround edge in each row.
Main Results
Theorem 1.1**.**
For any . The minimum wirelength of hypercubes into torus is
[TABLE]
Moreover, Gray code embedding is an optimal embedding.
Notation. Cartesian product of paths and/or cycles is denoted by where .
Theorem 1.2**.**
For any , , and . The minimum wirelength of hypercubes into Cartesian product is
[TABLE]
where
[TABLE]
Moreover, Gray code embedding is an optimal embedding.
The paper is organized as follows. In Section 2, some definitions and elementary properties are introduced. In Section 3, we explain the Gray code embedding is an optimal strategy for hypercube into torus. Section 4 is devoted to Cartesian products of paths and/or cycles.
2. Preliminaries
EIP has been used as a powful tool in the computation of minimum wirelength of graph embedding[20]. EIP is to determine a subset of cardinality of a graph such that the edge cut separating this subset from its complement has minimal size. Mathematically, Harper denotes
[TABLE]
For any , use in place of and let be .
Lemma 2.1**.**
Take a subcube of , and , then
[TABLE]
Proof.
By the definition of hypercube , there is an edge connected in if and only if there is an edge connected in . ∎
The following lemma is efficient technique to find the exact wirelength.
Lemma 2.2**.**
[19]** Let be an embedding of into . Let be a partition of . For each , satisfies:
- (A1)
* is an edge cut of such that disconnects into two components and one of induduced vertex sets is denoted by ;*
- (A2)
* is one if and zero otherwise for any .*
Then
[TABLE]
Notation. , and .
Notation. Let denote a vertice in row and column of cylinder , where and . Then It is seen that the vertex sets and are equivalent to and defined in [19] , respectively. See Fig.1 and Fig.2 for examples.
Now we generalize Gray code map defined in [18, 19]. Define -order Gray code map corresponding to components.
Definition 2.3**.**
-order Gray code map is given by , i.e.,
[TABLE]
where , and .
For example, .
According to the rule of Gray code map, we have that
[TABLE]
Together with (12) and (13) in [19], we have that
[TABLE]
Let be an embedding of into . Theorems 5.2 and 5.1 in [19] is rewritten as
[TABLE]
Cylinder can also be observed as . Let be an embedding of into , then (2) is rewritten as
[TABLE]
Remark 2.4**.**
It is seen that . Then, by Lemma 2.1, we get that .
3. hypbercubes into torus
In this section, we prove Theorem 1.1 in the following procedures.
Labeling. Let a binary tuple set denote the vertex set of torus , that is
[TABLE]
The edge set is composed of and , where
[TABLE]
Partition. Construct a partition of the edge set of torus.
Step 1. For each , , let be an edge cut of the cycle such that disconnects into two components where the induced vertex set is .
Step 2. For , denote
[TABLE]
then is the partition of .
Computation. Notice that for each , is an edge cut of the torus . disconnects the torus into two components where the induced vertex set is , and induces vertex set . See Fig.3 for an example.
Let be an embedding of into . Under the partition and Lemma 2.2, the wirelength is written as a summation related to function , i.e.,
[TABLE]
According to Lemma 2.1 and (1a), we have that
[TABLE]
According to Lemma 2.1 and (3a), we have that
[TABLE]
Combining above three fomulas and (1a),(2a), Theorem 1.1 holds.
4. hypercubes into Cartesian product of paths and/or cycles
In this section, we prove Theorem 1.2 in three parts. The first part follows the analogous process as Section 3. Then we obtain the wirelength under Gray code embedding. In the end, we conclude that Gray code embedding is an optimal strategy.
4.1. Compuation of embedding wirelength
Labeling. Let
[TABLE]
be the vertex set of Cartesian product of paths and/or cycles. The edge set of Cartesian product is composed of all edges correspongding to paths and/or cycles, denoted by .
Partition. Construct a partition of the edge set of Cartesian product .
Step 1. For each , , is described earlier in Section 3. For each , , let be an edge cut of the path such that disconnects into two components where the induced vertex set is .
Notation. For , let be if and otherwise . For , denote
[TABLE]
Step 2. For , , denote
[TABLE]
then is a partition of .
Computation. Notice that for each , is an edge cut of Cartesian product . Define a vertext set to be if and otherwise .
Notation.
[TABLE]
It is seen that disconnects into two components where the induced vertex set . Let be an embedding of into . Under the partition and Lemma 2.2, the wirelength is written as a summation related to function , i.e.,
[TABLE]
4.2. The wirelength under Gray code embedding
We deal with the wirelength under Gray code embedding in two cases: one is that is cycle , and the other is that is path . In the following, set .
Lemma 4.1**.**
If is cycle , then we have that
[TABLE]
Proof.
By the Notation (7), we have that
[TABLE]
Moreover, by Lemma 2.1, we have that
[TABLE]
Therefore, Lemma 4.1 follows from (1a). ∎
Similarly, we write the following lemma.
Lemma 4.2**.**
If is path , then we have that
[TABLE]
Combining (8), Lemma 4.1 and Lemma 4.2, we get the wirelength under Gray code embedding of hypercube into Cartesian product of paths and/or cycles. That is
[TABLE]
where is defined in Theorem 1.2.
4.3. Minimum wirelength
We show that Gray code embedding wirelength is the lower bound of wirelength for hypercube into Cartesian product of paths and/or cycles. According to (8), it is sufficient to prove that
Lemma 4.3**.**
Let be an embedding of into , then
[TABLE]
Proof.
To prove this lemma, we only consider that , since a similar argument works for the other .
Case 1. .
For , . Define a bijective map from to , where
[TABLE]
It is clear that . Moreover, we have that
[TABLE]
Notice that is an arbitrary map from to , then, by (2a), we have that . Therefore, we conclude that
[TABLE]
Case 2. . By a similar analysis, we also get (9).
Combining Case 1 and Case 2, the case for is proved. Thus the lemma holds. ∎
Proof of Theorem 1.2. Theorem 1.2 follows from Subsection 4.1 to 4.3.
Acknowledgements The author is grateful to Prof. Qinghui Liu for his thorough review and suggestions. This work is supported by the National Natural Science Foundation of China, No.11871098.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] S. L. Bezrukov, J. D. Chavez, L. H. Harper, M. Röttger, U. P. Schroeder, Embedding of hypercubes into grids, In: Brim L., Gruska J., Zlatuka J. (eds) Mathematical Foundations of Computer Science 1998, Lecture Notes in Computer Science, vol 1450, Springer, Berlin, Heidelberg, 693–701.
- 2[2] M. Arockiaraj, A. J. Shalini, Conjectures on wirelength of hypercube into cylinder and torus, Theoretical Computer Science, 595(2015), 168–171.
- 3[3] Micheal Arockiaraj, Jia-Bao Liu, J. Nancy Delaila and Arul Jeya Shalini, On the optimal layout of balanced complete multipartite graphs into grids and tree related structures, Discrete Applied Mathematics, 288(2021), 50–65.
- 4[4] P. Manuel, M. Arockiaraj, I. Rajasingh, B. Rajan, Embedding hypercubes into cylinders,snakes and caterpillars for minimizing wirelength, Discrete Applied Mathematics, 159(2011), 2109–2116.
- 5[5] T. Hoefler and M. Snir, Generic topology mapping strategies for large-scale parallel architectures, ICS ’11: Proceedings of the international conference on Supercomputing, May(2011), 75-84. http://doi.acm.org/10.1145/1995896.1995909.
- 6[6] L. H. Harper, Optimal assignments of numbers to vertices, J. SIAM 12:1 (1964), 131–135.
- 7[7] A. J. Bernstein, Maximality connected arrays on the n 𝑛 n -cube, SIAM J.Appl. Math., 15:6(1967), 1485–1489.
- 8[8] J. A. Ellis, Embedding rectangular grids into square grids. IEEE Trans. Comput., 40:1(1991), 46–52.
