Skip to main content
Log in

Exhaustive Search for Snake-in-the-Box Codes

  • Original Paper
  • Published:
Graphs and Combinatorics Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. 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)

  2. Chen, Y., Flum, J.: On parameterized path and chordless path problems. In: Proceeding 22nd Annual IEEE Conference Computational Complexity, pp. 250–263 (2007)

  3. Davies, D.W.: Longest “separated” paths and loops in an N Cube. IEEE Trans. Electron. Comput. 2, 261–261 (1965)

    Article  Google Scholar 

  4. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, San Fransisco (1979)

    MATH  Google Scholar 

  5. Kaski, P., Östergård, P.R.J.: Classification Algorithms for Codes and Designs. Springer, Berlin (2006)

    MATH  Google Scholar 

  6. Kautz, W.H.: Unit-distance error-checking codes. IRE Trans. Electron. Comput., 179–180 (1958)

  7. Kinny, D.: Monte-Carlo search for snakes and coils. In: Proceeding Multi-disciplinary Trends in, Artificial Intelligence, pp. 271–283 (2012)

  8. Kochut, K.J.: Snake-in-the-box codes for dimension 7. J. Combin. Math. Combin. Comput. 20, 175–185 (1996)

    MATH  MathSciNet  Google Scholar 

  9. McKay, B.D.: nauty user’s guide (version 1.5). Computer Science Department, Australian National University, Canberra, Tech. Rep. TR-CS-90-02 (1990)

  10. McKay, B.D.: Isomorph-free exhaustive generation. J. Algorithms 26, 306–324 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  11. McKay, B.D., Piperno, A.: Practical graph isomorphism. II. J. Symbolic Comput. 60, 94–112 (2014)

    Article  MATH  MathSciNet  Google Scholar 

  12. Östergård, P.R.J., Pettersson, V.H.: On the maximum length of coil-in-the-box codes in dimension 8. (Submitted for publication)

  13. 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)

  14. Paterson, K.G., Tuliani, J.: Some new circuit codes. IEEE Trans. Inform. Theory 44, 1305–1309 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  15. Sloane, N.J.A.: (2012) The On-Line Encyclopedia of Integer Sequences [Online]. Available: http://oeis.org

  16. 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)

  17. Wynn, E.: Constructing circuit codes by permuting initial sequences. CoRR (2012). Available: http://arxiv.org/pdf/1201.1647

  18. Yehezkeally, Y., Schwartz, M.: Snake-in-the-box codes for rank modulation. IEEE Trans. Inform. Theory 58, 5471–5483 (2012)

    Article  MathSciNet  Google Scholar 

  19. 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)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ville H. Pettersson.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00373-014-1423-3

Keywords

Navigation