数独是源自18世纪瑞士的一种数学游戏。是一种运用纸、笔进行演算的逻辑游戏。玩家需要根据9×9盘面上的已知数字,推理出所有剩余空格的数字,并满足每一行、每一列、每一个粗线宫(3*3)内的数字均含1-9,
本程序是完全符合南京大学软件学院09级c++要求,大家可以作为模板对照程序用,实现了标记,难度等等等。本程序代码并未封装在其中,如有需要可以mail我,当然邮箱在资源中。
使用随机数对数独进行破译,通过查找空位然后对空位赋随机值来实现对数独填空的功能,最后利用循环来对已填好的数独进行检查,查看其是否满足数独要求
里面有数独生成算法,还有基础的解数独算法,1.本来想写一个候选解法,发现没必要,因为就是让电脑先去猜一个可能数,发现错误时返回填其它可能数.2.还有挖孔是随机挖的,所以可能造成电脑解不出时,是因为某个
文档类,资源类,可以把它收藏。回家看看对咱们的论文有好处
修正1.14.1中一个Bug
升级软件,添加唯一矩形法提示方法的支持
数独求解以及数独检查用DLL包括求解及检查是否为正确数独两个函数
使用ConstraintSolver(Kodkod)编写的求解数独程序
自己开发的数独小程序,对很多的数独题目都进行过测试,没有遇到问题。如果题目本身包含多种可能的解,则只给出一种。