Generalized Gray codes with prescribed ends

被引:8
作者
Dvorak, Tomas [1 ]
Gregor, Petr [1 ]
Koubek, Vaclav [1 ]
机构
[1] Charles Univ Prague, Fac Math & Phys, Prague, Czech Republic
关键词
Gray code; Hamiltonian path; Hypercube; Path partition; Disjoint path cover; Prescribed endvertices; FAULTY HYPERCUBES; PATHS; PARTITIONS; CYCLES;
D O I
10.1016/j.tcs.2017.01.010
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An n-bit Gray code is a sequence of all n-bit vectors such that consecutive vectors differ in a single bit. It is well-known that given alpha, beta is an element of{0,1}(n), an n-bit Gray code between alpha and beta exists iff the Hamming distance d(alpha, beta) of alpha and beta is odd. We generalize this classical result to k pairwise disjoint pairs alpha(i), beta(i) is an element of{0,1}(n): if d(alpha(i), beta(i)) is odd for all i and k < n, then the set of all n-bit vectors can be partitioned into k sequences such that the i-th sequence leads from alpha(i) to beta(i) and consecutive vectors differ in a single bit. This holds for every n > 1 with one exception in the case when n = k +1 = 4. Our result is optimal in the sense that for every n > 2 there are n pairwise disjoint pairs alpha(i), beta(i) is an element of{0,1}(n) with d(alpha(i), beta(i)) odd for which such sequences do not exist. (C) 2017 Elsevier B.V. All rights reserved.
引用
收藏
页码:70 / 94
页数:25
相关论文
共 17 条
[1]  
[Anonymous], CAS PEST MAT
[2]  
[Anonymous], 2005, ART COMPUTER PROGRAM
[3]  
Bollobas Bela, 2013, Modern Graph Theory, Graduate texts in mathematics
[4]   Spanning multi-paths in hypercubes [J].
Caha, Rostislav ;
Koubek, Vaclav .
DISCRETE MATHEMATICS, 2007, 307 (16) :2053-2066
[5]  
Castafieda N., 2010, GRAPH THEORY NOTES N, VLVIII, P42
[6]  
Castaneda N., 2009, C NUMERANTIUM, V197, P193
[7]   Path Coverings with Prescribed Ends in Faulty Hypercubes [J].
Castaneda, Nelson ;
Gotchev, Ivan S. .
GRAPHS AND COMBINATORICS, 2015, 31 (04) :833-869
[8]   Paired many-to-many disjoint path covers of the hypercubes [J].
Chen, Xie-Bin .
INFORMATION SCIENCES, 2013, 236 :218-223
[9]   Hamiltonian cycles with prescribed edges in hypercubes [J].
Dvorák, T .
SIAM JOURNAL ON DISCRETE MATHEMATICS, 2005, 19 (01) :135-144
[10]  
Dvorak T., 2005, DISCRETE MATH THE AE, P363