A node in the -dimensional hypercube is called an odd node (resp. an even node) if the sum of all digits of the node is odd (resp. even). Let and let be a linear forest in such that for . Let be an odd node and an even node in such that none of the paths in has or as internal node or both of them as end nodes. In this note, we prove that there is a Hamiltonian path between and passing through in . The upper bound on 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 the set for a positive integer
.
Given a bipartite graph , a
linear forest in is a subgraph each component of which
is a path. Let be an subset of
and let be a linear forest in such that for some non-negative
integer . For any two nodes ,
in different partite sets of ,
and are said to be
compatible if none of the paths in has or as internal node or both of them as end
nodes. Denote by a path
between and . The graph is said to be -fault-tolerant-prescribed hamiltonian
laceable if admits
a hamiltonian path passing
through under the condition that
and are compatible [3]. Particularly, is said to be -fault-tolerant-hamiltonian
laceable if [4], and -prescribed-hamiltonian
laceable if , and hamiltonian
laceable if [5].
The -dimensional hypercube is
one of the most attractive interconnection networks for multiprocessor
systems and it is bipartite, hamiltonian, -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 , is -fault-tolerant hamiltonian laceable
but not -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 , let and let be a linear forest in such that and . Then admits a hamiltonian cycle passing
through .
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
is -prescribed hamiltonian laceable if
or , and -prescribed hamiltonian laceable if
.
In this note, we will generalize Theorems 1 and 2, and prove that with is -fault-tolerant-prescribed
hamiltonian laceable but not -fault-tolerant-prescribed
hamiltonian laceable.
2. Preliminaries
The -dimensional
hypercube is a
simple graph consists of nodes,
each of which is an -bit binary
string with the form . Two nodes are adjacent if and only if they
differ in exactly one bit. An edge is called an edge in dimension if and differ in the bit, where . A node in is called an odd
node (resp. even node) if the sum of
all digits of the node is odd (resp. even). Let and be the set of all odd nodes and all
even nodes in , respectively.
Then is a bipartition of
. Fix . Let and let be a linear forest in . There are different ways to decompose into two disjoint copies, and , of by deleting all the edges in
dimension of for an arbitrary , where each node of has in the bit for . For any , abbreviated as , and denote by and the restrictions of and in , respectively. For an arbitrary node
, there is exactly one
neighbour of in , and we denote it by .
The following two lemmas will be used in the proof of our main result
in Section 3.
Lemma 1. Given , let be a
hamiltonian path passing through in . If , and , then
there exists an edge such that and are compatible.
Proof of Lemma 1. There are
edge candidates in total. Note that each component of a linear forest is
a path. Let . Then it fails the lemma only if
. or is an internal node of , or
. and are the two end nodes of some
component of .
Let be an internal node of
, if any. Then it makes at
most one candidate in fail if is an
end node of , and at most two
candidates fail otherwise (see, for example, in Figure 1, an internal
node of the path , a component of
, makes and fail if ). Note
that each component of is a
path. Let be a component
of of length at least 1.
Then such a pair makes no
candidate in
fail if is not adjacent to
in , and makes at most one candidate fail otherwise (see, for
example, in Figure 1, the pair of the end nodes of a component
of makes fail if ).
Figure 1: Illustration of an example in the Proof of Lemma 1
Note that . Let be the
number of components of length at least 1 in , and let , , …, be the components. Then and the number of internal nodes
of is .
Thus, the total number of edge candidates that fail the lemma does not
exceed .
Since , the lemma follows.
Lemma 2. Given , let ,
be two nodes
such that they are incident with at most one edge of and , respectively. If ,
then there exists a node such that and
are compatible, and and are compatible.
Proof of Lemma 2. There are node candidates in total. Let
. Then it fails the
lemma only if
. is an internal node of , or
. is an internal node of , or
. and are the two end nodes of some component
of , or
. and are the two end nodes of some
component of .
If , then
there is no such
that or hold. If , then the number
of internal nodes of does not
exceed and the number of
such that holds does not exceed
. Therefore, the total number of
such a node that or hold does not exceed
. Similarly, the total
number of such a node that or hold does not exceed
. Therefore, the number
of such a node that fails the
lemma does not exceed . Since ,
the lemma follows.
3. Main Result
Theorem 4. Let . The hypercube is
-fault-tolerant-prescribed
hamiltonian laceable but not -fault-tolerant-prescribed
hamiltonian laceable.
Proof of Theorem 4. By Theorem 1, with is not -fault-tolerant hamiltonian
laceable, and so it is not -fault-tolerant-prescribed
hamiltonian laceable. It remains to prove that is -fault-tolerant hamiltonian laceable
for . Let and let be a linear forest in such that . Let and such that and are compatible. In the following, it is
enough to prove that admits a
hamiltonian path passing
through , and it suffices to
consider the case that .
We will prove the above statement by induction on . It is trivial for the base case . For , , Theorems 1 and 3 imply
that the statement holds. In the remainder, assume that the statement
holds for and prove that it
also holds for , where . By Theorems 1 and 3, the
statement holds for
or , respectively. It
remains to show that it also holds for and . Since , there is a
dimension, say dimension 0, such that there is no edge of in this dimension. Let , be a decomposition of by deleting all the edges in
dimension 0. Without loss of generality, assume that . There
are three cases to be considered.
Case 1. and .
Suppose first that . Then , and . Let . Then . By
the induction hypothesis, has a hamiltonian path passing through . Let if lies on , and let be an arbitrary edge in otherwise.
Clearly, and lie in different partite sets of
, and so has a hamiltonian path .
Suppose now that . By the induction hypothesis, has a hamiltonian path passing through . Note that and .
Then , and so Lemma 1 implies
that there exists an edge such that and are compatible. Since ,
by the induction hypothesis, has a hamiltonian path passing through .
For all the possible scenarios above, is a hamiltonian path of
between and passing through as illustrated in Figure 2 (a).
Figure 2: Illustration of Cases 1-2 of the Proof of Theorem 4
Case 2. and .
Case 2.1..
In this case, ,
, and
. Theorem 2 implies that has a hamiltonian cycle passing through . Since , there exists an edge such that
. Thus,
and the path are
compatible. Combing this with (), by Theorem 3, has a hamiltonian path passing through . Thus, is a
hamiltonian path of between
and passing through as illustrated in Figure 2 (b).
Case 2.2..
Note that . By the induction hypothesis, has a hamiltonian path passing through . Since , Lemma 1 implies
that there exists an edge such that and are compatible. Since , by the induction
hypothesis, has a
hamiltonian path
passing through . Thus, is a hamiltonian path of
between and passing through as illustrated in Figure 2 (c).
Case 3. and , or and .
Without loss of generality, assume that and .
Case 3.1..
In this case, . Theorem 2 implies that has a hamiltonian cycle passing through . Since and are compatible, is not an internal node in , and so there is a neighbour of on such that . Recall that is an odd node and is an even node. Then is an even node and is an odd node. Thus, and are in different partite sets of , and so there is a hamiltonian path
in . Therefore, is a
hamiltonian path of between
and passing through as illustrated in Figure 3 (a).
Figure 3: Illustration of Case 3 of the Proof of Theorem 4
Case 3.2..
Since , Lemma 2 implies
that there exists a node such that and
are compatible and and are compatible. Since , by the induction hypothesis, has a hamiltonian path passing through , and has a hamiltonian path passing through . Thus, is a
hamiltonian path of between
and passing through 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
with is -fault-tolerant-prescribed
hamiltonian laceable but not -fault-tolerant-prescribed
hamiltonian laceable. That is to say, given an arbitrary set and a linear forest in with such that , for two nodes and of different partite sets in , has a hamiltonian path between
and passing through if and are compatible. Since is -regular, the upper bound on 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:
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.
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.
Yang, Y. and Zhang,
L., 2019. Fault-tolerant-prescribed hamiltonian laceability of balanced
hypercubes. Information Processing Letters, 145, pp.11-15.
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.
Simmons, G. J., 1978. Almost all -dimensional rectangular lattices are
Hamilton laceable, Congressus Numerantium 21, pp.103-108.
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.
Saad, Y. and Schultz, M.H., 1988. Topological properties of
hypercubes. IEEE Transactions on Computers, 37(7), pp.867-872.
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.
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.
Chen, X.B.,
2007. Cycles passing through prescribed edges in a hypercube with some
faulty edges. Information Processing Letters, 104(6),
pp.211-215.
Chen, X.B., 2009. On path bipancyclicity of hypercubes.
Information Processing Letters, 109(12), pp.594-598.
Chen,
X.B., 2009. Hamiltonian paths and cycles passing through a prescribed
path in hypercubes. Information Processing Letters, 110(2),
pp.77-82.
Dvorák, T., 2005. Hamiltonian cycles with prescribed edges in
hypercubes. SIAM Journal on Discrete Mathematics, 19(1),
pp.135-144.
Dvořák, T. and Gregor, P., 2007. Hamiltonian paths with
prescribed edges in hypercubes. Discrete Mathematics, 307(16),
pp.1982-1998.
Lai, C.J., 2009. A note on path bipancyclicity of hypercubes.
Information Processing Letters, 109(19), pp.1129-1130.
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.
Tsai, C.H. and Jiang, S.Y., 2007. Path bipancyclicity of hypercubes.
Information Processing Letters, 101(3), pp.93-97.
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.