How good is the Warnsdorff's knight's tour heuristic?
Samuel L. Marateck

TL;DR
This paper evaluates the effectiveness of Warnsdorff's heuristic for finding knight's tours on an 8x8 chessboard by analyzing all move permutations and their success rates.
Contribution
It provides a comprehensive computer analysis of all 8! move order permutations to assess the heuristic's success rate on every starting square.
Findings
Quantifies the percentage of permutations leading to non-Hamiltonian paths.
Analyzes the heuristic's performance across all starting positions.
Provides insights into the heuristic's reliability and limitations.
Abstract
Warnsdorffs rule for a knights tour is a heuristic, i.e., it is a rule that does not produce the desired result all the time. It is a classic example of a greedy method in that it is based on a series of locally optimal choices. This note describes an analysis that determines how good the heuristic is on an 8 X 8 chessboard. The order of appearance in a permutation of the eight possible moves a knight can make determines the path the knight takes. A computer analysis is done of the 8! permutations of the order of a knights moves in Warnsdorffs rule on an 8 X 8 chessboard for tours starting on each of the 64 squares. Whenever a tie occurs for moves to vertices that have the lowest degree, the first of these vertices encountered in the programming loop is chosen. The number of permutations of the 8! total that yield non-Hamiltonian paths is tallied. This will be the same value if we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsArtificial Intelligence in Games · Data Management and Algorithms · Constraint Satisfaction and Optimization
