拼图

上传者: 42148053 | 上传时间: 2023-04-02 22:57:11 | 文件大小: 13KB | 文件类型: ZIP
N拼图 这是什么项目? 这个用Python编写的项目旨在使用A *搜索算法或其变体之一来解决N益智游戏。 如何使用 ? 先决条件 Python 3.8 用法 我们只需要生成一个难题并将其传递给我们的求解器即可: 生成器用法: python gen.py [-h] [-s] [-u] [-i ITERATIONS] size -h :帮助 -s :拼图必须是可解决的 -u :拼图必须无法解决 -i :洗牌需要多少次迭代 :拼图大小 求解器用法: python src/main.py [-h] [-l {NONE,DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-s {A*,uniform,greedy}] [-H {manhattan,hamming,linear_conflict}] -h :帮助 -l :日志级别(默认为ERROR ) -

文件下载

资源详情

[{"title":"( 23 个子文件 13KB ) 拼图","children":[{"title":"npuzzle-master","children":[{"title":"src","children":[{"title":"util.py <span style='color:#111;'> 962B </span>","children":null,"spread":false},{"title":"puzzle_generator.py <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"main.py <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"parsing","children":[{"title":"parser.py <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"integrity.py <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"TODO.md <span style='color:#111;'> 271B </span>","children":null,"spread":false},{"title":"heuristic.py <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"input_test","children":[{"title":"4-puzzle","children":[{"title":"not_solvable <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"easy <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"many <span style='color:#111;'> 96B </span>","children":null,"spread":false}],"spread":true},{"title":"3-puzzle","children":[{"title":"easy_test <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"medium_test <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"not_solvable <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":"linear_conflict <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"hard <span style='color:#111;'> 19B </span>","children":null,"spread":false}],"spread":true},{"title":"5-puzzle","children":[{"title":"easy <span style='color:#111;'> 69B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"data_model.py <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false},{"title":"solver.py <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"solvable.py <span style='color:#111;'> 1017B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"Pipfile <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":"gen.py <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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