项目作者: PetropoulakisPanagiotis

项目描述 :
kakuro as csp problem
高级语言: Python
项目地址: git://github.com/PetropoulakisPanagiotis/kakuro.git
创建时间: 2017-12-23T15:02:15Z
项目社区:https://github.com/PetropoulakisPanagiotis/kakuro

开源协议:MIT License

下载


License: MIT

Kakuro as a CSP problem




Kakuro.py can solve kakuro puzzles using forward checking (FC) and maintaining arc consistency (MAC) algorithms. Puzzles are hard-coded, but you can define your own puzzle configuration.


Note: I only own the kakuro.py module. The other modules are taken from the:

UC Berkeley CS188 Intro to AI Course.

More information about kakuro can be found at: https://en.wikipedia.org/wiki/Kakuro.

Compilation:

  1. python3 kakuro.py

Author