In computer science, Dancing Links, also known as DLX, is the technique suggested by Donald Knuth to efficiently implement his Algorithm X. Algorithm X is a recursive, nondeterministic, depth-first, backtracking algorithm that finds all solutions to the exact cover problem. Some of the better-known exact cover problems include tiling, the n queens problem, and Sudoku.
The name Dancing Links comes from the way the algorithm works, as iterations of the algorithm cause the links to "dance" with partner links so as to resemble an "exquisitely choreographed dance." Knuth credits Hiroshi Hitotsumatsu and Kōhei Noshita with having invented the idea in 1979, but it is his paper which has popularized it.
Read more about Dancing Links: Implementation
Famous quotes containing the words dancing and/or links:
“My Mama has made bread
and Grampaw has come
and everybody is drunk
and dancing in the kitchen”
—Lucille Clifton (b. 1936)
“Nor stony tower, nor walls of beaten brass,
Nor airless dungeon, nor strong links of iron,
Can be retentive to the strength of spirit.”
—William Shakespeare (15641616)