Journal of Information Processing
Online ISSN : 1882-6652
ISSN-L : 1882-6652
Solving Slitherlink with FPGA and SMT Solver
Tetsuo MiyauchiKiyofumi Tanaka
著者情報
キーワード: Slitherlink, FPGA, SMT solver, Z3
ジャーナル フリー

2020 年 28 巻 p. 959-969

詳細
抄録

“Slitherlink” is one of popular pencil puzzles. The purpose of the puzzle is to make a link according to the digits written in cells. While determining the existence of a solution to a given puzzle is proved to be an NP-complete class of problems, which means it is difficult to find an effective algorithm to solve the puzzle, solving the puzzle has been studied and there are several previous researches for the puzzle. In this paper, we show two new methods to solve the puzzle. One is with hardware acceleration on an FPGA and the other is based on an SMT solver. We focus on determining inside or outside for each cell instead of making a link and propose a new formulation. With hardware acceleration, it takes 0.1578 seconds on average for solving 10 × 10 puzzles, and with an SMT solver, our solution is faster than previous researches in most cases.

著者関連情報
© 2020 by the Information Processing Society of Japan
前の記事 次の記事
feedback
Top