Algorithms 2012, 5(2), 176-213; doi:10.3390/a5020176
Article

Finding All Solutions and Instances of Numberlink and Slitherlink by ZDDs

1email, 2,3,* email, 2,3email, 2email, 2,3email and 2,3email
Received: 16 November 2011; in revised form: 29 February 2012 / Accepted: 19 March 2012 / Published: 5 April 2012
(This article belongs to the Special Issue Puzzle/Game Algorithms)
This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Abstract: Link puzzles involve finding paths or a cycle in a grid that satisfy given local and global properties. This paper proposes algorithms that enumerate solutions and instances of two link puzzles, Slitherlink and Numberlink, by zero-suppressed binary decision diagrams (ZDDs). A ZDD is a compact data structure for a family of sets provided with a rich family of set operations, by which, for example, one can easily extract a subfamily satisfying a desired property. Thanks to the nature of ZDDs, our algorithms offer a tool to assist users to design instances of those link puzzles.
Keywords: link puzzles; Slitherlink; Numberlink; solvers; instance generations
PDF Full-text Download PDF Full-Text [298 KB, uploaded 5 April 2012 08:19 CEST]

Export to BibTeX |
EndNote


MDPI and ACS Style

Yoshinaka, R.; Saitoh, T.; Kawahara, J.; Tsuruma, K.; Iwashita, H.; Minato, S.-I. Finding All Solutions and Instances of Numberlink and Slitherlink by ZDDs. Algorithms 2012, 5, 176-213.

AMA Style

Yoshinaka R, Saitoh T, Kawahara J, Tsuruma K, Iwashita H, Minato S-I. Finding All Solutions and Instances of Numberlink and Slitherlink by ZDDs. Algorithms. 2012; 5(2):176-213.

Chicago/Turabian Style

Yoshinaka, Ryo; Saitoh, Toshiki; Kawahara, Jun; Tsuruma, Koji; Iwashita, Hiroaki; Minato, Shin-ichi. 2012. "Finding All Solutions and Instances of Numberlink and Slitherlink by ZDDs." Algorithms 5, no. 2: 176-213.

Algorithms EISSN 1999-4893 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert