×

A construction of Gray codes inducing complete graphs. (English) Zbl 1144.05037

Summary: A binary Gray code \(G(n)\) of length \(n\), is a list of all \(2^n\) \(n\)-bit codewords such that successive codewords differ in only one bit position. The sequence of bit positions where the single change occurs when going to the next codeword in \(G(n)\), denoted by \(S(n):= s_1,s_2,\dots, s_{2^n-1}\), is called the transition sequence of the Gray code \(G(n)\). The graph \({\mathcal G}_{G(n)}\) induced by a Gray code \(G(n)\) has vertex set \(\{1,2,\dots,n\}\) and edge set \(\{\{s_i,s_{i+1}\}: 1\leq i\leq 2^n-2\}\). If the first and the last codeword differ only in position \(s_{2^n}\), the code is cyclic and we extend the graph by two more edges \(\{s_{2^n-1},s_{2^n}\}\) and \(\{s_{2^n},s_1\}\). We solve a problem of E. L. Wilmer and M. D. Ernst [Discrete Math. 257, 585–598 (2002; Zbl 1009.05094)] about a construction of an \(n\)-bit Gray code inducing the complete graph \(K_n\). The technique used to solve this problem is based on a Gray code construction due to Bakos [A. Ádám, Truth functions and the problem of their realization by two-terminal graphs, Budapest: Akadémial Kiadó (1968; Zbl 0155.02003)], and which is presented in D. E. Knuth [The art of computer programming. Vol. 4, Fascicle 2. Generating all tuples and permutations. Reading, MA: Addison-Wesley (2005; Zbl 1127.68068)].

MSC:

05C35 Extremal problems in graph theory
94B60 Other types of codes
05C90 Applications of graph theory
Full Text: DOI

References:

[1] Ádám, A., Truth Functions and the Problem of their Realization by Two-Terminal Graphs (1968), Akadémiai Kiadó: Akadémiai Kiadó Budapest · Zbl 0155.02003
[2] Bultena, B.; Ruskey, F., Transition restricted Gray codes, Electron. J. Combin., 3, #R11 (1996) · Zbl 0864.05066
[3] Gilbert, E. N., Gray codes and path on the \(n\)-cube, Bell System Tech. J., 37, 815-826 (1958)
[4] Goddyn, L.; Gvozdjak, P., Binary Gray codes with long bit runs, Electron. J. Combin., 10, #R27 (2003) · Zbl 1023.05080
[5] Goddyn, L.; Lawrence, G. M.; Nemeth, E., Gray codes with optimized run lengths, Utilitas Math., 34, 179-192 (1988) · Zbl 0664.94023
[6] D.E. Knuth, The Art of Computer Programming, vol. 4, Addison-Wesley as part of “fascicle” 2, USA, 2005.; D.E. Knuth, The Art of Computer Programming, vol. 4, Addison-Wesley as part of “fascicle” 2, USA, 2005. · Zbl 1127.68068
[7] Robinson, J. P.; Cohn, M., Counting sequences, IEEE Trans. Comput., C-30, 17-23 (1981) · Zbl 0455.94053
[8] Savage, C. D.; Winkler, P., Monotone Gray codes and the middle levels problems, J. Combin. Theory Ser. A, 70, 230-248 (1995) · Zbl 0827.05039
[9] I.N. Suparta, A.J. van Zanten, Balanced Gray codes, Report CS 03-03, Department of Computer Science, Universiteit Maastricht, The Netherlands, 2003.; I.N. Suparta, A.J. van Zanten, Balanced Gray codes, Report CS 03-03, Department of Computer Science, Universiteit Maastricht, The Netherlands, 2003.
[10] Vickers, V. E.; Silverman, J., A technique for generating specialized Gray codes, IEEE Trans. Comput., C-29, 329-331 (1980) · Zbl 0431.94056
[11] Wilmer, E. L.; Ernst, M. D., Graphs induced by Gray codes, Discrete Math., 257, 585-598 (2002) · Zbl 1009.05094
[12] van Zanten, A. J.; Suparta, IN., Totally balanced and exponentially balanced Gray codes, J. Discrete Anal. Oper. Res., 11, 81-98 (2004) · Zbl 1078.94040
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.