CISSAlgorithm origin & lineage registry

AlgorithmsData structuresEdit on GitHubEdit history

Dancing Links

DLX2000

A technique that exploits the fact that a node removed from a doubly linked list still holds its neighbor pointers, so it can be put back in constant time. It is used to remove and restore rows and columns in the backtracking search for exact cover (Algorithm X).

Origin

Donald E. Knuth (2000). Dancing links. arXiv:cs/0011047 (Millennial Perspectives in Computer Science, 2000).arxiv.org/abs/cs/0011047Knuth credits Hitotumatu and Noshita (1979) with earlier use of the linked-list technique.

Lineage

Algorithms 2 · Relations 1

Parent algorithms

Where it came from
Depth-First Search1882CompositionEstimated60%

Structural analysisDancing links implements the choose-and-undo steps of a depth-first backtracking search for exact covers with linked-list operations. — arxiv.org/abs/cs/0011047

Notable implementations

No implementations registered yet. Try a repo scan to find some. Repo scan

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…