Constructions of Snake-in-the-Box Codes for Rank Modulation

Snake-in-the-box code is a Gray code, which is capable of detecting a single error. Gray codes are important in the context of the rank modulation scheme, which was suggested recently for representing information in flash memories. For a Gray code in this scheme, the codewords are permutations, two consecutive codewords are obtained using the push-to-the-top operation, and distance measure is defined on permutations. In this paper, the Kendall's T-metric is used as the distance measure. We present a general method for constructing such Gray codes. We apply the method recursively to obtain a snake of length M<sub>2n+1</sub> = ((2n + 1)(2n) - 1)M<sub>2n-1</sub> for permutations of S<sub>2n+1</sub>, from a snake of length M<sub>2n-1</sub> for permutations of S<sub>2n-1</sub>. Thus, we have lim;n→∞ M<sub>2n+1</sub>/S<sub>2n+1</sub> ≈0.4338, improving on the previous known ratio of lim;n→∞ 1/√(πn). Using the general method, we also present a direct construction. This direct construction is based on necklaces and it might yield snakes of length (2n + 1)!/2-2n + 1 for permutations of S<sub>2n+1</sub>. The direct construction was applied successfully for S<sub>7</sub> and S<sub>9</sub>, and hence lim;n→∞ M<sub>2n+1</sub>/S<sub>2n+1</sub> ≈0.4743.

[1]  K. J. Krafka,et al.  The Snake-in-the-Box problem , 2010, ACM SE '10.

[2]  Moshe Schwartz,et al.  Snake-in-the-Box Codes for Rank Modulation , 2011, IEEE Transactions on Information Theory.

[3]  H. Fredricksen A Survey of Full Length Nonlinear Shift Register Cycle Algorithms , 1982 .

[4]  M. Kendall,et al.  Rank Correlation Methods , 1949 .

[5]  Kenneth G. Paterson,et al.  Near optimal single-track Gray codes , 1996, IEEE Trans. Inf. Theory.

[6]  Anxiao Jiang,et al.  Correcting Charge-Constrained Errors in the Rank-Modulation Scheme , 2010, IEEE Transactions on Information Theory.

[7]  Peter Winkler,et al.  Monotone Gray Codes and the Middle Levels Problem , 1995, J. Comb. Theory, Ser. A.

[8]  Moshe Schwartz Constant-Weight Gray Codes for Local Rank Modulation , 2011, IEEE Transactions on Information Theory.

[9]  Anxiao Jiang,et al.  Rank modulation for flash memories , 2008, 2008 IEEE International Symposium on Information Theory.

[10]  R. Forthofer,et al.  Rank Correlation Methods , 1981 .

[11]  W. Marsden I and J , 2012 .

[12]  Tuvi Etzion,et al.  Algorithms for the generation of full-length shift-register sequences , 1984, IEEE Trans. Inf. Theory.

[13]  Michael Langberg,et al.  Generalized Gray Codes for Local Rank Modulation , 2011, IEEE Transactions on Information Theory.

[14]  Anna de Mier,et al.  Spanning trees of 3-uniform hypergraphs , 2010, Adv. Appl. Math..

[15]  Carla Savage,et al.  A Survey of Combinatorial Gray Codes , 1997, SIAM Rev..