Dancing links. Knuth, D. E. 2000. cite arxiv:cs/0011047Comment: Abstract added by Greg Kuperberg
Paper abstract bibtex The author presents two tricks to accelerate depth-first search algorithms for a class of combinatorial puzzle problems, such as tiling a tray by a fixed set of polyominoes. The first trick is to implement each assumption of the search with reversible local operations on doubly linked lists. By this trick, every step of the search affects the data incrementally. The second trick is to add a ghost square that represents the identity of each polyomino. Thus puts the rule that each polyomino be used once on the same footing as the rule that each square be covered once. The coding simplifies to a more abstract form which is equivalent to 0-1 integer programming. More significantly for the total computation time, the search can naturally switch between placing a fixed polyomino or covering a fixed square at different stages, according to a combined heuristic. Finally the author reports excellent performance for his algorithm for some familiar puzzles. These include tiling a hexagon by 19 hexiamonds and the N queens problem for N up to 18.
@misc{knuth2000dancing,
abstract = {The author presents two tricks to accelerate depth-first search algorithms
for a class of combinatorial puzzle problems, such as tiling a tray by a fixed
set of polyominoes. The first trick is to implement each assumption of the
search with reversible local operations on doubly linked lists. By this trick,
every step of the search affects the data incrementally.
The second trick is to add a ghost square that represents the identity of
each polyomino. Thus puts the rule that each polyomino be used once on the same
footing as the rule that each square be covered once. The coding simplifies to
a more abstract form which is equivalent to 0-1 integer programming. More
significantly for the total computation time, the search can naturally switch
between placing a fixed polyomino or covering a fixed square at different
stages, according to a combined heuristic.
Finally the author reports excellent performance for his algorithm for some
familiar puzzles. These include tiling a hexagon by 19 hexiamonds and the N
queens problem for N up to 18.},
added-at = {2020-03-09T17:17:05.000+0100},
author = {Knuth, Donald E.},
biburl = {https://www.bibsonomy.org/bibtex/23dd29607414ffc64826b0ca9930c002d/mstarzinger},
description = {Dancing links},
interhash = {56cecd8976f2e1c83fcf2bf93a4218c7},
intrahash = {3dd29607414ffc64826b0ca9930c002d},
keywords = {sudoku algorithm},
note = {cite arxiv:cs/0011047Comment: Abstract added by Greg Kuperberg},
timestamp = {2020-03-09T17:17:05.000+0100},
title = {Dancing links},
url = {http://arxiv.org/abs/cs/0011047},
year = 2000
}
Downloads: 0
{"_id":"DnfW3X2EN4EWnvuLA","bibbaseid":"knuth-dancinglinks-2000","authorIDs":[],"author_short":["Knuth, D. E."],"bibdata":{"bibtype":"misc","type":"misc","abstract":"The author presents two tricks to accelerate depth-first search algorithms for a class of combinatorial puzzle problems, such as tiling a tray by a fixed set of polyominoes. The first trick is to implement each assumption of the search with reversible local operations on doubly linked lists. By this trick, every step of the search affects the data incrementally. The second trick is to add a ghost square that represents the identity of each polyomino. Thus puts the rule that each polyomino be used once on the same footing as the rule that each square be covered once. The coding simplifies to a more abstract form which is equivalent to 0-1 integer programming. More significantly for the total computation time, the search can naturally switch between placing a fixed polyomino or covering a fixed square at different stages, according to a combined heuristic. Finally the author reports excellent performance for his algorithm for some familiar puzzles. These include tiling a hexagon by 19 hexiamonds and the N queens problem for N up to 18.","added-at":"2020-03-09T17:17:05.000+0100","author":[{"propositions":[],"lastnames":["Knuth"],"firstnames":["Donald","E."],"suffixes":[]}],"biburl":"https://www.bibsonomy.org/bibtex/23dd29607414ffc64826b0ca9930c002d/mstarzinger","description":"Dancing links","interhash":"56cecd8976f2e1c83fcf2bf93a4218c7","intrahash":"3dd29607414ffc64826b0ca9930c002d","keywords":"sudoku algorithm","note":"cite arxiv:cs/0011047Comment: Abstract added by Greg Kuperberg","timestamp":"2020-03-09T17:17:05.000+0100","title":"Dancing links","url":"http://arxiv.org/abs/cs/0011047","year":"2000","bibtex":"@misc{knuth2000dancing,\n abstract = {The author presents two tricks to accelerate depth-first search algorithms\r\nfor a class of combinatorial puzzle problems, such as tiling a tray by a fixed\r\nset of polyominoes. The first trick is to implement each assumption of the\r\nsearch with reversible local operations on doubly linked lists. By this trick,\r\nevery step of the search affects the data incrementally.\r\n The second trick is to add a ghost square that represents the identity of\r\neach polyomino. Thus puts the rule that each polyomino be used once on the same\r\nfooting as the rule that each square be covered once. The coding simplifies to\r\na more abstract form which is equivalent to 0-1 integer programming. More\r\nsignificantly for the total computation time, the search can naturally switch\r\nbetween placing a fixed polyomino or covering a fixed square at different\r\nstages, according to a combined heuristic.\r\n Finally the author reports excellent performance for his algorithm for some\r\nfamiliar puzzles. These include tiling a hexagon by 19 hexiamonds and the N\r\nqueens problem for N up to 18.},\n added-at = {2020-03-09T17:17:05.000+0100},\n author = {Knuth, Donald E.},\n biburl = {https://www.bibsonomy.org/bibtex/23dd29607414ffc64826b0ca9930c002d/mstarzinger},\n description = {Dancing links},\n interhash = {56cecd8976f2e1c83fcf2bf93a4218c7},\n intrahash = {3dd29607414ffc64826b0ca9930c002d},\n keywords = {sudoku algorithm},\n note = {cite arxiv:cs/0011047Comment: Abstract added by Greg Kuperberg},\n timestamp = {2020-03-09T17:17:05.000+0100},\n title = {Dancing links},\n url = {http://arxiv.org/abs/cs/0011047},\n year = 2000\n}\n\n","author_short":["Knuth, D. E."],"key":"knuth2000dancing","id":"knuth2000dancing","bibbaseid":"knuth-dancinglinks-2000","role":"author","urls":{"Paper":"http://arxiv.org/abs/cs/0011047"},"keyword":["sudoku algorithm"],"downloads":0},"bibtype":"misc","biburl":"http://www.bibsonomy.org/bib/author/knuth?items=1000","creationDate":"2020-09-02T04:23:16.273Z","downloads":0,"keywords":["sudoku algorithm"],"search_terms":["dancing","links","knuth"],"title":"Dancing links","year":2000,"dataSources":["itEMDWSsMF4yAjQgP"]}