Skip to main content

Solving General Lattice Puzzles

  • Conference paper
Frontiers in Algorithmics (FAW 2010)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6213))

Included in the following conference series:

Abstract

In this paper we describe implementations of two general methods for solving puzzles on any structured lattice. We define the puzzle as a graph induced by (finite portion of) the lattice, and apply a back-tracking method for iteratively find all solutions by identifying parts of the puzzle (or transformed versions of them) with subgraphs of the puzzle, such that the entire puzzle graph is covered without overlaps by the graphs of the parts. Alternatively, we reduce the puzzle problem to a submatrix-selection problem, and solve the latter problem by using the “dancing-links” trick of Knuth. A few expediting heuristics are discussed, and experimental results on various lattice puzzles are presented.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. De Bruijn, N.G.: Programmeren van de pentomino puzzle. Euclides 47, 90–104 (1971–1972)

    Google Scholar 

  2. Demaine, E.D., Demaine, M.L.: Jigsaw puzzles, edge matching, and polyomino packing: Connections and complexity. Graphs and Combinatorics 23(suppl.), 195–208 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  3. Dudeney, H.E.: 74.—The broken chessboard. In: The Canterbury Puzzles, 90–92 (1908)

    Google Scholar 

  4. Fletcher, J.G.: A program to solve the pentomino problem by the recursive use of macros. Comm. of the ACM 8, 621–623 (1965)

    Article  Google Scholar 

  5. Gardner, M.: Mathematical games: More about complex dominoes, plus the answers to last month;s puzzles. Scientific American 197, 126–140 (1957)

    Article  Google Scholar 

  6. Garey, M., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-completeness. Freeman, San Francisco (1979)

    MATH  Google Scholar 

  7. Golomb, S.W.: Checkerboards and polyominoes. American Mathematical Monthly 61, 675–682 (1954)

    Article  MathSciNet  MATH  Google Scholar 

  8. Golomb, S.W.: Polyominoes, Scribners, New York (1965); 2nd edn. Princeton University Press, Princeton (1994)

    Google Scholar 

  9. Golomb, S.W., Baumart, L.D.: Backtrack programming, J. J. of the ACM 12, 516–524 (1965)

    Article  MathSciNet  MATH  Google Scholar 

  10. Haselgrove, C.B., Haselgrove, J.: A computer program for pentominoes. Eureka 23, 16–18 (1960)

    Google Scholar 

  11. Haselgrove, J.: Packing a square with Y-pentominoes. J. of Recreational Mathematics 7, 229 (1974)

    Google Scholar 

  12. Knuth, D.E.: Dancing links. In: Davies, J., Roscoe, B., Woodcock, J. (eds.) Millennial Perspectives in Computer Science, pp. 187–214. Palgrave Macmillan, England (2000), http://arxiv.org/abs/cs/0011047

    Google Scholar 

  13. Lewis, H.R.: Complexity of solvable cases of the decision problem for the predicate calculus. In: 19th Ann. Symp. on Foundations of Computer Science, Ann Arbor, MI, pp. 35–47 (1978)

    Google Scholar 

  14. Meeus, J.: Some polyomino and polyamond problems. J. of Recreational Mathematics 6, 215–220 (1973)

    MathSciNet  MATH  Google Scholar 

  15. Scott, D.S.: Programming a combinatorial puzzle, Technical Report 1, Dept. of Electrical Engineering, Princeton University (June 1958)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Barequet, G., Tal, S. (2010). Solving General Lattice Puzzles. In: Lee, DT., Chen, D.Z., Ying, S. (eds) Frontiers in Algorithmics. FAW 2010. Lecture Notes in Computer Science, vol 6213. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-14553-7_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-14553-7_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-14552-0

  • Online ISBN: 978-3-642-14553-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics