Hamiltonian Laceability of Hypercubes with Prescribed Linear Forest and/or Faulty Edges

Yuxing Yang1, Ningning Song1, Ziyue Zhao1
1School of Mathematics and Information Science, Henan Normal University, Xinxiang, Henan 453007, PR China.

Abstract

A node in the n-dimensional hypercube Qn is called an odd node (resp. an even node) if the sum of all digits of the node is odd (resp. even). Let FE(Qn) and let L be a linear forest in QnF such that |E(L)|+|F|n2 for n2. Let x be an odd node and y an even node in Qn such that none of the paths in L has x or y as internal node or both of them as end nodes. In this note, we prove that there is a Hamiltonian path between x and y passing through L in QnF. The upper bound n2 on |E(L)|+|F| is sharp.

Keywords: Hypercube, Bounds, Hamiltonian path

1. Introduction

We mostly follow [1] for graph-theoretical terminology and notation, and follow [2] for some similar graph-theoretical operations not defined here. Denote by Nn the set {0,1,,n1} for a positive integer n.

Given a bipartite graph G, a linear forest in G is a subgraph each component of which is a path. Let F be an subset of E(G) and let L be a linear forest in GF such that |E(L)|+|F|k for some non-negative integer k. For any two nodes x, y in different partite sets of G, {x,y} and L are said to be compatible if none of the paths in L has x or y as internal node or both of them as end nodes. Denote by π[x,y] a path between x and y. The graph G is said to be k-fault-tolerant-prescribed hamiltonian laceable if GF admits a hamiltonian path π[x,y] passing through L under the condition that {x,y} and L are compatible [3]. Particularly, G is said to be k-fault-tolerant-hamiltonian laceable if E(L)= [4], and k-prescribed-hamiltonian laceable if F=, and hamiltonian laceable if E(L)=F= [5].

The n-dimensional hypercube is one of the most attractive interconnection networks for multiprocessor systems and it is bipartite, hamiltonian, n-regular, node-transitive, edge-transitive and recursive [6,7]. Many real multiprocessors have taken hypercubes as underlying interconnection networks. The problem of embedding hamiltonian paths and cycles with faulty edges and/or prescribed edges in hypercubes has drawn considerable attentions (see, for example, [4, 8-18 ] and references therein).

In [4], Tsai et al. investigated fault-tolerant hamiltonian laceability of hypercubes. One of their important results can be restated as follows:

Theorem 1 (See Lemma 3 in Tsai et al. [4]). Given n2, Qn is (n2)-fault-tolerant hamiltonian laceable but not (n1)-fault-tolerant hamiltonian laceable.

In [18], Wang and Chen studied the problem of embedding fault-free hamiltonian cycles passing through a linear forest in hypercubes with or without faulty edges and they obtained the following generalized result.

Theorem 2 (See Theorem A in Wang and Chen [18]). Given n3, let FE(Qn) and let L be a linear forest in QnF such that |E(L)|1 and |F|+|E(L)|n1. Then QnF admits a hamiltonian cycle passing through L.

In [14], Dvořák and Gregor investigated the problem of embedding hamiltonian paths passing through prescribed linear forests in hypercubes. One of their main results can be restated as follows:

Theorem 3 (See Theorem 10 in Dvořák and Gregor [14]). The hypercube Qn is (2n4)-prescribed hamiltonian laceable if n=2 or n5, and (2n5)-prescribed hamiltonian laceable if n{3,4}.

In this note, we will generalize Theorems 1 and 2, and prove that Qn with n2 is (n2)-fault-tolerant-prescribed hamiltonian laceable but not (n1)-fault-tolerant-prescribed hamiltonian laceable.

2. Preliminaries

The n-dimensional hypercube Qn is a simple graph consists of 2n nodes, each of which is an n-bit binary string with the form δ0δ1δn1. Two nodes are adjacent if and only if they differ in exactly one bit. An edge (u,v)E(Qn) is called an edge in dimension i if u and v differ in the ith bit, where iNn. A node in Qn is called an odd node (resp. even node) if the sum of all digits of the node is odd (resp. even). Let X and Y be the set of all odd nodes and all even nodes in Qn, respectively. Then (X,Y) is a bipartition of Qn. Fix n2. Let FE(Qn) and let L be a linear forest in QnF. There are n different ways to decompose Qn into two disjoint copies, Q[0] and Q[1], of Qn1 by deleting all the edges in dimension i of Qn for an arbitrary iNn, where each node of Q[i] has j in the ith bit for jN2. For any jN2, abbreviated V(Q[j]) as Vj, and denote by Lj and Fj the restrictions of L and F in Q[j], respectively. For an arbitrary node uVj, there is exactly one neighbour of u in Q[1j], and we denote it by u1j.

The following two lemmas will be used in the proof of our main result in Section 3.

Lemma 1. Given jN2, let P be a hamiltonian path passing through Lj in Q[j]. If E(Lj)E(L1j)=E(L), E(Lj1) and 2n1|E(L)||E(Lj1)|>0, then there exists an edge (u,v)E(P)E(Lj) such that {u1j,v1j} and L1j are compatible.

Proof of Lemma 1. There are |E(P)E(Lj)|=2n11|E(Lj)| edge candidates in total. Note that each component of a linear forest is a path. Let (u,v)E(P)E(Lj). Then it fails the lemma only if

(1). u1j or v1j is an internal node of L1j, or

(2). u1j and v1j are the two end nodes of some component of L1j.

Let y be an internal node of L1j, if any. Then it makes at most one candidate in E(P)E(Lj) fail if yj is an end node of P, and at most two candidates fail otherwise (see, for example, in Figure 1, an internal node y of the path x,y,z, a component of L1j, makes (s,yj) and (t,yj) fail if (xj,zj)E(P)E(Lj)). Note that each component of L1j is a path. Let π[x,z] be a component of L1j of length at least 1. Then such a pair {x,z} makes no candidate in E(P)E(Lj) fail if xj is not adjacent to zj in P, and makes at most one candidate (xj,zj) fail otherwise (see, for example, in Figure 1, the pair {x,z} of the end nodes of a component of L1j makes (xj,zj) fail if (xj,zj)E(P)E(Lj)).

Figure 1: Illustration of an example in the Proof of Lemma 1

Note that E(Lj1). Let m be the number of components of length at least 1 in Lj1, and let P1, P2, …, Pm be the m components. Then m1 and the number of internal nodes of L1j is i=1m(|E(Pi)|1)=|E(L1j)|m. Thus, the total number of edge candidates that fail the lemma does not exceed m+2(|E(L1j)|m)=2|E(L1j)|m. Since |E(P)E(Lj)|(2|E(L1j)|m)=2n11|E(Lj)|2|E(L1j)|+m=2n11|E(L)||E(L1j)|+m2n1|E(L)||E(Lj1)|>0, the lemma follows. ◻

Lemma 2. Given jN2, let xVjX, yV1jY be two nodes such that they are incident with at most one edge of Lj and L1j, respectively. If 2n2(|E(Lj)|+|E(L1j)|)>0, then there exists a node uVjY such that {x,u} and Lj are compatible, and {y,u1j} and L1j are compatible.

Proof of Lemma 2. There are |V0Y| node candidates in total. Let uV0Y. Then it fails the lemma only if

(1). u is an internal node of Lj, or

(2). u1j is an internal node of L1j, or

(3). x and u are the two end nodes of some component of Lj, or

(4). y and u1j are the two end nodes of some component of L1j.

If E(Lj)=, then there is no uV0Y such that (1) or (3) hold. If E(Lj), then the number of internal nodes of Lj does not exceed |E(Lj)|1 and the number of such u that (3) holds does not exceed 1. Therefore, the total number of such a node u that (1) or (3) hold does not exceed |E(Lj)|. Similarly, the total number of such a node u that (2) or (4) hold does not exceed |E(L1j)|. Therefore, the number of such a node u that fails the lemma does not exceed |E(Lj)|+|E(L1j)|. Since |V0Y|(|E(Lj)|+|E(L1j)|)=2n2(|E(Lj)|+|E(L1j)|)>0, the lemma follows. ◻

3. Main Result

Theorem 4. Let n2. The hypercube Qn is (n2)-fault-tolerant-prescribed hamiltonian laceable but not (n1)-fault-tolerant-prescribed hamiltonian laceable.

Proof of Theorem 4. By Theorem 1, Qn with n2 is not (n1)-fault-tolerant hamiltonian laceable, and so it is not (n1)-fault-tolerant-prescribed hamiltonian laceable. It remains to prove that Qn is (n2)-fault-tolerant hamiltonian laceable for n2. Let FE(Qn) and let L be a linear forest in QnF such that |E(L)|+|F|n2. Let xX and yY such that {x,y} and L are compatible. In the following, it is enough to prove that QnF admits a hamiltonian path π[x,y] passing through L, and it suffices to consider the case that |E(L)|+|F|=n2.

We will prove the above statement by induction on n. It is trivial for the base case n=2. For n=3, |E(L)|+|F|1, Theorems 1 and 3 imply that the statement holds. In the remainder, assume that the statement holds for Qn1 and prove that it also holds for Qn, where n4. By Theorems 1 and 3, the statement holds for E(L)= or F=, respectively. It remains to show that it also holds for E(L) and F. Since |E(L)|+|F|=n2<n, there is a dimension, say dimension 0, such that there is no edge of E(L)F in this dimension. Let Q[0], Q[1] be a decomposition of Qn by deleting all the edges in dimension 0. Without loss of generality, assume that |E(L0)|+|F0||E(L1)|+|F1|. There are three cases to be considered.

Case 1. xV0 and yV0.

Suppose first that |E(L0)|+|F0|=n2. Then L0=L, F0=F and E(L1)=F1=. Let fF0. Then |E(L0)F0{f}|=n3. By the induction hypothesis, Q[0]F0{f} has a hamiltonian path π[x,y] passing through L0. Let (u,v)=f if f lies on π[x,y], and let (u,v) be an arbitrary edge in E(π[x,y])E(L0) otherwise. Clearly, u1 and v1 lie in different partite sets of Q[1], and so Q[1] has a hamiltonian path π[u1,v1].

Suppose now that |E(L0)|+|F0|n3. By the induction hypothesis, Q[0]F0 has a hamiltonian path π[x,y] passing through L0. Note that |F|1 and |E(L1)||E(L)|<|E(L)|+|F|=n2. Then 2n1|E(L)||E(L1)|>2n12(n2)>0, and so Lemma 1 implies that there exists an edge (u,v)E(π[x,y])E(L0) such that {u1,v1} and L1 are compatible. Since |E(L1)|+|F1||E(L0)|+|F0|n3, by the induction hypothesis, Q[1]F1 has a hamiltonian path π[u1,v1] passing through L1.

For all the possible scenarios above, π[x,y]π[u1,v1]+{(u,u1),(v,v1)}(u,v) is a hamiltonian path of QnF between x and y passing through L as illustrated in Figure 2 (a).

Figure 2: Illustration of Cases 1-2 of the Proof of Theorem 4

Case 2. xV1 and yV1.

Case 2.1. |E(L0)|+|F0|=n2.

In this case, |F0|=|F|1, 1|E(L0)|=|E(L)|n3, and E(L1)=F1=. Theorem 2 implies that Q[0]F0 has a hamiltonian cycle C0 passing through L0. Since |E(C0)E(L0)|=|E(C0)||E(L0)|2n1(n3)>1, there exists an edge (u,v)E(C)E(L0) such that {u1,v1}{x,y}. Thus, {x,y} and the path u1,v1 are compatible. Combing this with |{(u1,v1)}|=1n3 (n4), by Theorem 3, Q[1]F1 has a hamiltonian path π[x,y] passing through u1,v1. Thus, C0π[x,y]+{(u,u1),(v,v1)}{(u,v),(u1,v1)} is a hamiltonian path of QnF between x and y passing through L as illustrated in Figure 2 (b).

Case 2.2. |E(L0)|+|F0|n3.

Note that |E(L1)|+|F1||E(L0)|+|F0|n3. By the induction hypothesis, Q[1]F1 has a hamiltonian path π[x,y] passing through L1. Since 2n1|E(L)||E(L0)|>2n12(n2)>0, Lemma 1 implies that there exists an edge (u,v)E(π[x,y])E(L1) such that {u0,v0} and L0 are compatible. Since |E(L0)|+|F0|n3, by the induction hypothesis, Q[0]F0 has a hamiltonian path π[u0,v0] passing through L0. Thus, π[u0,v0]π[x,y]+{(u0,u),(v0,v)}(u,v) is a hamiltonian path of QnF between x and y passing through L as illustrated in Figure 2 (c).

Case 3. xV0 and yV1, or yV0 and xV1.

Without loss of generality, assume that xV0 and yV1.

Case 3.1. |E(L0)|+|F0|=n2.

In this case, E(L1)=F1=. Theorem 2 implies that Q[0]F0 has a hamiltonian cycle C0 passing through L0. Since {x,y} and L are compatible, x is not an internal node in L, and so there is a neighbour u of x on C0 such that (x,u)E(L0). Recall that x is an odd node and y is an even node. Then u is an even node and u1 is an odd node. Thus, u1 and y are in different partite sets of Q[1], and so there is a hamiltonian path π[u1,y] in Q[1]. Therefore, C0π[u1,y]+(u,u1)(x,u) is a hamiltonian path of QnF between x and y passing through L as illustrated in Figure 3 (a).

Figure 3: Illustration of Case 3 of the Proof of Theorem 4

Case 3.2. |E(L0)|+|F0|n3.

Since 2n2(|E(L0)|+|E(L1)|)=2n2|E(L)|2n2(n3)>0, Lemma 2 implies that there exists a node uV0Y such that {x,u} and L0 are compatible and {y,u1} and L1 are compatible. Since |E(L1)|+|F1||E(L0)|+|F0|n3, by the induction hypothesis, Q[0]F0 has a hamiltonian path π[x,u] passing through L0, and Q[1]F1 has a hamiltonian path π[y,u1] passing through L1. Thus, π[x,u]π[y,u1]+(u,u1) is a hamiltonian path of QnF between x and y passing through L as illustrated in Figure 3 (b). ◻

4. Conclusion

In this note, we investigated the fault-tolerant prescribed hamiltonian laceability of hypercubes and proved that the hypercube Qn with n2 is (n2)-fault-tolerant-prescribed hamiltonian laceable but not (n1)-fault-tolerant-prescribed hamiltonian laceable. That is to say, given an arbitrary set FE(Qn) and a linear forest L in Qn with n2 such that |F|+|E(L)|n2, for two nodes x and y of different partite sets in Qn, QnF has a hamiltonian path between x and y passing through L if {u,v} and L are compatible. Since Qn is n-regular, the upper bound n2 on |E(L)|+|F| cannot be improved. The main result in this note generalized some known results.

Acknowledgments

We would thank the anonymous reviewers for their useful suggestions and comments that improved the quality of this paper.

References:

  1. Bondy, J.A. and Murty, U.S.R., 2008. Graph theory, volume 244 of Grad. Texts in Math. Springer, New York, 7, pp.79-80.

  2. Yang, Y., Li, J. and Wang, S., 2019. Embedding fault-free hamiltonian paths with prescribed linear forests into faulty ternary n-cubes. Theoretical Computer Science, 767, pp.1-15.
  3. Yang, Y. and Zhang, L., 2019. Fault-tolerant-prescribed hamiltonian laceability of balanced hypercubes. Information Processing Letters, 145, pp.11-15.

  4. Tsai, C.H., Tan, J.J., Liang, T. and Hsu, L.H., 2002. Fault-tolerant hamiltonian laceability of hypercubes. Information Processing Letters, 83(6), pp.301-306.

  5. Simmons, G. J., 1978. Almost all n-dimensional rectangular lattices are Hamilton laceable, Congressus Numerantium 21, pp.103-108.

  6. Guo, L., Qin, C. and Xu, L., 2020. Subgraph fault tolerance of distance optimally edge connected hypercubes and folded hypercubes. Journal of Parallel and Distributed Computing, 138, pp.190-198.

  7. Saad, Y. and Schultz, M.H., 1988. Topological properties of hypercubes. IEEE Transactions on Computers, 37(7), pp.867-872.
  8. Caha, R. and Koubek, V., 2006. Hamiltonian cycles and paths with a prescribed set of edges in hypercubes and dense sets. Journal of Graph Theory, 51(2), pp.137-169.
  9. Chan, M.Y. and Lee, S.J., 1991. On the existence of Hamiltonian circuits in faulty hypercubes. SIAM Journal on Discrete Mathematics, 4(4), pp.511-527.
  10. Chen, X.B., 2007. Cycles passing through prescribed edges in a hypercube with some faulty edges. Information Processing Letters, 104(6), pp.211-215.
  11. Chen, X.B., 2009. On path bipancyclicity of hypercubes. Information Processing Letters, 109(12), pp.594-598.
  12. Chen, X.B., 2009. Hamiltonian paths and cycles passing through a prescribed path in hypercubes. Information Processing Letters, 110(2), pp.77-82.
  13. Dvorák, T., 2005. Hamiltonian cycles with prescribed edges in hypercubes. SIAM Journal on Discrete Mathematics, 19(1), pp.135-144.
  14. Dvořák, T. and Gregor, P., 2007. Hamiltonian paths with prescribed edges in hypercubes. Discrete Mathematics, 307(16), pp.1982-1998.

  15. Lai, C.J., 2009. A note on path bipancyclicity of hypercubes. Information Processing Letters, 109(19), pp.1129-1130.
  16. Li, T.K., Tsai, C.H., Tan, J.J. and Hsu, L.H., 2003. Bipanconnectivity and edge-fault-tolerant bipancyclicity of hypercubes. Information Processing Letters, 87(2), pp.107-110.

  17. Tsai, C.H. and Jiang, S.Y., 2007. Path bipancyclicity of hypercubes. Information Processing Letters, 101(3), pp.93-97.
  18. Wang, W.Q. and Chen, X.B., 2008. A fault-free Hamiltonian cycle passing through prescribed edges in a hypercube with faulty edges. Information Processing Letters, 107(6), pp.205-210.