计算机科学 > 数据结构与算法
[提交于 2020年10月18日]
标题:Solving Shisen-Sho boards
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We give a simple proof of that determining solvability of Shisen-Sho boards is NP-complete. Furthermore, we show that under realistic assumptions, one can compute in logarithmic time if two tiles form a playable pair. We combine an implementation of the algoritm to test playability of pairs with my earlier algorithm to solve Mahjong Solitaire boards with peeking, to obtain an algorithm to solve Shisen-Sho boards. We sample several Shisen-Sho and Mahjong Solitaire layouts for solvability for Shisen-Sho and Mahjong Solitaire.
提交历史
来自:Michiel de Bondt[v1] 2020年10月18日 星期日 16:16:18 UTC