English

Taming the Knight's Tour: Minimizing Turns and Crossings

Data Structures and Algorithms 2022-01-19 v2

Abstract

We introduce two new metrics of "simplicity" for knight's tours: the number of turns and the number of crossings. We give a novel algorithm that produces tours with 9.25n+O(1)9.25n+O(1) turns and 12n+O(1)12n+O(1) crossings on an n×nn\times n board, and we show lower bounds of (6ϵ)n(6-\epsilon)n and 4nO(1)4n-O(1) on the respective problems of minimizing these metrics. Hence, our algorithm achieves approximation ratios of 9.25/6+o(1)9.25/6+o(1) and 3+o(1)3+o(1). Our algorithm takes linear time and is fully parallelizable, i.e., the tour can be computed in O(n2/p)O(n^2/p) time using pp processors in the CREW PRAM model. We generalize our techniques to rectangular boards, high-dimensional boards, symmetric tours, odd boards with a missing corner, and tours for (1,4)(1,4)-leapers. In doing so, we show that these extensions also admit a constant approximation ratio on the minimum number of turns, and on the number of crossings in most cases.

Keywords

Cite

@article{arxiv.1904.02824,
  title  = {Taming the Knight's Tour: Minimizing Turns and Crossings},
  author = {Juan Jose Besa and Timothy Johnson and Nil Mamano and Martha C. Osegueda and Parker Williams},
  journal= {arXiv preprint arXiv:1904.02824},
  year   = {2022}
}

Comments

43 pages, 29 figures. FUN 2020 (FUN with Algorithms); FUN 2020 special issue in TCS