Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2012, Vol. 38 ›› Issue (10): 161-163. doi: 10.3969/j.issn.1000-3428.2012.10.049

• Networks and Communications • Previous Articles     Next Articles

Research of Weight Method with Sudoku Difficulty Level Partition

WU Lin-bo, XIAO Hua-yong, YANG Zong-ze   

  1. (School of Science, Northwestern Polytechnical University, Xi’an 710129, China)
  • Received:2011-06-28 Online:2012-05-20 Published:2012-05-20

数独难度级别划分的权重法研究

吴林波,肖华勇,杨宗泽   

  1. (西北工业大学理学院,西安 710129)
  • 作者简介:吴林波(1986-),男,硕士,主研方向:人工智能;肖华勇,副教授、博士;杨宗泽,本科生
  • 基金资助:
    西北工业大学大学生创新基金资助项目“数独难度级别划分与生成算法研究”

Abstract: This paper gives a few filling and deleting rules to imitate artificial intelligence to solve Sudoku under the candidate mode, and based on the proposed artificial intelligence rules, it constructs the difficulty scale and the algorithm of artificial intelligence solving. Validating the scale with a sample of 500 Dr.Sudoku puzzles rated externally into five gradations of difficulty. Goodman-Kruskal r coefficient is 0.82, indicating significant correlation the two scales. It gives an algorithm that can generate five different levels of Sudoku puzzles randomly.

Key words: Sudoku, filling and deleting rules, artificial intelligence, difficulty measure, correlation coefficient, random generation

摘要: 给出候选数模式下模仿人工智能求解数独的一系列填数及删减规则,在此基础上提出模仿人工智能的求解算法及数独难度衡量方法。从数独博士5个难度级别中随机抽取各100道题目,采用难度衡量标准重新分级,并将结果与数独博士等级划分标准做相关性检验, 得到Goodman-Kruskal相关系数r=0.82,说明该标准与数独博士的难度划分标准有较强的相关性,并给出随机生成数独题目的算法。通过难度衡量方法与生成算法,可以随机生成5个不同难度的数独谜题。

关键词: 数独, 填数及删减规则, 人工智能, 难度衡量, 相关系数, 随机生成

CLC Number: