Open Access
2017 Algorithms for finding knight's tours on Aztec diamonds
Samantha Davies, Chenxiao Xue, Carl Yerger
Involve 10(5): 721-734 (2017). DOI: 10.2140/involve.2017.10.721

Abstract

A knight’s tour is a sequence of knight’s moves such that each square on the board is visited exactly once. An Aztec diamond is a square board of size 2n where triangular regions of side length n 1 have been removed from all four corners.

We show that the existence of knight’s tours on Aztec diamonds cannot be proved inductively via smaller Aztec diamonds, and explain why a divide-and-conquer approach is also not promising. We then describe two algorithms that aim to efficiently find knight’s tours on Aztec diamonds. The first is based on random walks, a straightforward but limited technique that yielded tours on Aztec diamonds for all n22 apart from n = 17,21. The second is a path-conversion algorithm that finds a solution for all n 100. We then apply the path-conversion algorithm to random graphs to test the robustness of our algorithm. Online supplements provide source code, output and more details about these algorithms.

Citation

Download Citation

Samantha Davies. Chenxiao Xue. Carl Yerger. "Algorithms for finding knight's tours on Aztec diamonds." Involve 10 (5) 721 - 734, 2017. https://doi.org/10.2140/involve.2017.10.721

Information

Received: 28 July 2015; Revised: 8 July 2016; Accepted: 21 August 2016; Published: 2017
First available in Project Euclid: 19 October 2017

zbMATH: 1364.05043
MathSciNet: MR3652443
Digital Object Identifier: 10.2140/involve.2017.10.721

Subjects:
Primary: 05C45
Secondary: 05C57 , 97A20

Keywords: algorithm , Aztec diamond , Hamiltonian , knight's tour

Rights: Copyright © 2017 Mathematical Sciences Publishers

Vol.10 • No. 5 • 2017
MSP
Back to Top