sudoku:基于Python的Sudoku求解器

上传者: 42122988 | 上传时间: 2022-11-08 23:15:05 | 文件大小: 249KB | 文件类型: ZIP
数独 我总是喜欢程序化的数独求解器,尤其是当我对手机上的一个难以捉摸的数独实例感到沮丧时。 同时,我在漫长的休息中选择了几种编程语言,包括python和javascript。 因此,我们开始-具有基于javascript的UI组件的基于python的数独求解器。 用法 基于终端的CLI 数独 基于Web的gui后端(为浏览器生成html) post.py [-h | -p] 客制化 最终,应通过cmdline或cfg文件完成此操作。 但现在... 默认情况下,策略创建为启用状态。 在策略子类中重写Optional.default()以返回False以禁用它。 默认情况下,挂钩是禁用的。 在hook子类中重写Optional.default()以返回True启用它。 更新playbook.py中的Options.DEFAULT_LEVEL以更改策略级别。 特征 通过演绎法解决

文件下载

资源详情

[{"title":"( 43 个子文件 249KB ) sudoku:基于Python的Sudoku求解器","children":[{"title":"sudoku-master","children":[{"title":"NOTICE <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"sudoku.py <span style='color:#111;'> 12.61KB </span>","children":null,"spread":false},{"title":"game.py <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"logger.py <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"sample","children":[{"title":"test.txt <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"hard_sudoku.txt <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"solver_illustrated.pdf <span style='color:#111;'> 210.40KB </span>","children":null,"spread":false},{"title":"p096_sudoku.txt <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"hook","children":[{"title":"stat.py <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"snap.py <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":"step.py <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"TODO <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"strategy","children":[{"title":"trial.py <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"hidden_group.py <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"intersection.py <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"death_blossom.py <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"ape.py <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"als.py <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"xy_chain.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"xyz_wing.py <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"singleton.py <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"y_wing.py <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"unique_rectangle.py <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"wxyz_wing.py <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"aic.py <span style='color:#111;'> 15.31KB </span>","children":null,"spread":false},{"title":"forcing_chain.py <span style='color:#111;'> 15.22KB </span>","children":null,"spread":false},{"title":"medusa.py <span style='color:#111;'> 12.31KB </span>","children":null,"spread":false},{"title":"almost_locked_set.py <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"chain.py <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"naked_group.py <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"fish.py <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"web","children":[{"title":"sudoku.html <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"sudoku.css <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"sudoku.php <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"sudoku.js <span style='color:#111;'> 13.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"playbook.py <span style='color:#111;'> 16.26KB </span>","children":null,"spread":false},{"title":"post.py <span style='color:#111;'> 14.44KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明