数独游戏
董猛
(
宁波工程学院
电信学院,浙江
宁波
315010)
摘
要
:
过对数独求解规则的分析
,
归纳总结一套有效的求解算法
,
以计算机直接模拟人脑的思维方式
,
逐个排除不可能出现
在宫格中的数字。
论文详细阐述了比较排除法的算法思想
,
画出程序流程图
,
并提供主要代码。
实验证明算法是正确并高效的。
关键词
:
数独
策略
搜索
Sudoku game
Dong Meng
(NINGBO UNIVERSITY OF TECHNOLOGY, Ningbo,Zhejiang,315000 C
hina
;
)
Abstract:
Logarithmic alone solve rule analysis, sum up a set of effective algorithm, in computer simulation of
the human brain thinking directly, don't rule out one by one may appear in the GongGe Numbers. Paper illustrates
the
comparison
method
of
algorithm
thought,
draw
the
procedure
flow
chart,
and
provides
the
key
code.
Experimental results show algorithm is correct and effective.
Key words:
Sudoku search strategy
1
引言