↫ Home Uncovering ghouls using Answer Set Programming Recently I came across this nice puzzle - Haunted. These days my impulse when presented with puzzle is throw Answer Set Programming on it. To get idea of ASP follow this blog which solves another puzzle which has somewhat straightforward encoding in ASP. A sample puzzle instance and its solution is shown above. In haunted you have to figure out
.-----. .------------------. .--' | .-' '-. 1 ** .--' | | | 2 ** .---' | | | 3 ** | | | | 4 ** | | | .. | 5 ** | | | .' '. | 6 ** | | | | | | 7 ** | .--. | | | | | 8 ** '---' | | | | | | 9 ** | | | | | | 10 ** | | | | | | 11 ** | | | | | | 12 ** | | | | | | 13 ** | | | | | | 14 ** | | | | | | 15 ** | | | | | | 16 ** | | | | | | 17 ** | | | | | | 18 ** | | | | | | 19 ** | | | '. .' | 20 ** .------'
This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever. Did you know that we have a nice collection of puzzles here on less than dot? Some are harder than others so there is something for everyone. You can pi
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く