Exact Cover - Finding Solutions

Finding Solutions

Knuth's Algorithm X is a recursive, nondeterministic, depth-first, backtracking algorithm that finds all solutions to the exact cover problem.

Dancing Links, commonly known as DLX, is the technique suggested by Donald Knuth to efficiently implement his Algorithm X on a computer. Dancing Links uses the matrix representation of the problem. Dancing Links implements the matrix as a series of doubly linked lists of the 1s of the matrix: each 1 element has a link to the next 1 above, below, to the left, and to the right of itself.

Read more about this topic:  Exact Cover

Famous quotes containing the words finding and/or solutions:

    “At the age of twelve I was finding the world too small: it appeared to me like a dull, trim back garden, in which only trivial games could be played.”
    —Elizabeth Bowen (1899–1973)

    “Football strategy does not originate in a scrimmage: it is useless to expect solutions in a political compaign.”
    —Walter Lippmann (1889–1974)