Abstract
The snake-in-the-box problem asks for the maximum length of a chordless path (also called snake) in the \(n\)-cube. A computer-aided approach for classifying long snakes in the \(n\)-cube is here developed. A recursive construction and isomorph rejection via canonical augmentation form the core of the approach. The snake-in-the box problem has earlier been solved for \(n\le 7\); that work is here extended by showing that the longest snake in the 8-cube has 98 edges.
Similar content being viewed by others
References
Carlson, B.P., Hougen, D.F.: Phenotype feedback genetic algorithm operators for heuristic encoding of snakes within hypercubes. In: Proceeding 12th Annual Conference Genetic and Evolutionary Computation, pp. 791–798 (2010)
Chen, Y., Flum, J.: On parameterized path and chordless path problems. In: Proceeding 22nd Annual IEEE Conference Computational Complexity, pp. 250–263 (2007)
Davies, D.W.: Longest “separated” paths and loops in an N Cube. IEEE Trans. Electron. Comput. 2, 261–261 (1965)
Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, San Fransisco (1979)
Kaski, P., Östergård, P.R.J.: Classification Algorithms for Codes and Designs. Springer, Berlin (2006)
Kautz, W.H.: Unit-distance error-checking codes. IRE Trans. Electron. Comput., 179–180 (1958)
Kinny, D.: Monte-Carlo search for snakes and coils. In: Proceeding Multi-disciplinary Trends in, Artificial Intelligence, pp. 271–283 (2012)
Kochut, K.J.: Snake-in-the-box codes for dimension 7. J. Combin. Math. Combin. Comput. 20, 175–185 (1996)
McKay, B.D.: nauty user’s guide (version 1.5). Computer Science Department, Australian National University, Canberra, Tech. Rep. TR-CS-90-02 (1990)
McKay, B.D.: Isomorph-free exhaustive generation. J. Algorithms 26, 306–324 (1998)
McKay, B.D., Piperno, A.: Practical graph isomorphism. II. J. Symbolic Comput. 60, 94–112 (2014)
Östergård, P.R.J., Pettersson, V.H.: On the maximum length of coil-in-the-box codes in dimension 8. (Submitted for publication)
Potter, W.D., Robinson, R.W., Miller, J.A., Kochut, K.J., Redys, D.Z.: Using the genetic algorithm to find snake-in-the-box codes. In: Proceedings 7th International Conference on Industrial and Engineering Application of Artificial Intelligence and Expert Systems, pp. 421–426 (1994)
Paterson, K.G., Tuliani, J.: Some new circuit codes. IEEE Trans. Inform. Theory 44, 1305–1309 (1998)
Sloane, N.J.A.: (2012) The On-Line Encyclopedia of Integer Sequences [Online]. Available: http://oeis.org
Tuohy, D.R., Potter, W.D., Casella, D.A.: Searching for snake-in-the-box codes with evolved pruning models. In: Proceedings 2007 International Conference Genetic and Evolutionary, Methods, pp. 3–9 (2007)
Wynn, E.: Constructing circuit codes by permuting initial sequences. CoRR (2012). Available: http://arxiv.org/pdf/1201.1647
Yehezkeally, Y., Schwartz, M.: Snake-in-the-box codes for rank modulation. IEEE Trans. Inform. Theory 58, 5471–5483 (2012)
Zinovik, I., Chebiryak, Y., Kroening, D.: Periodic orbits and equilibria in glass models for gene regulatory networks. IEEE Trans. Inform. Theory 56, 805–820 (2010)
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was supported in part by the Academy of Finland under Grant No. 132122, the GETA Graduate School, and the Nokia Foundation.
Rights and permissions
About this article
Cite this article
Östergård, P.R.J., Pettersson, V.H. Exhaustive Search for Snake-in-the-Box Codes. Graphs and Combinatorics 31, 1019–1028 (2015). https://doi.org/10.1007/s00373-014-1423-3
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00373-014-1423-3