Warnsdorff's algorithm

From Wikipedia, the free encyclopedia

Warnsdorff's algorithm is a heuristic method for solving the Knight's Tour. The algorithm was first described in "Des Rösselsprungs einfachste und allgemeinste Lösung" by H. C. Warnsdorff in 1823.

[edit] External links

A heuristic is a rule of thumb. Warnsdorf's rule was go to a next square that had the fewest further knight's moves. This more generally can be applied to any graph - as going to a next node that has least degree. Pohl generalized this by breaking ties at a next level. This led to a very powerful and linear time algorithm for finding Hamiltonian's in a graph. The knight's tour is a special case.

This combinatorics-related article is a stub. You can help Wikipedia by expanding it.