期刊文献+

数独求解的候选数优化算法设计 被引量:8

The Design of Candidates Optimization Algorithm about Sudoku Puzzle
下载PDF
导出
摘要 从数独的候选数集合特性出发,通过分析数独游戏的要求,针对标准数独,提出了四条优化规则。避免了计算机回溯法的完全枚举,得到候选数优化回溯法,减少了搜索次数,提高了求解的速度。并且针对3×3的数独,分别给出显性候选数规则跟隐形候选数规则的两个特例,得到了3×3数独的相应的6条优化准则。用两个数独难题进行验证,可知本算法相对于回溯法,节省了三分之一的时间,证明了所提算法的有效性。 A new method is proposd to solve standard sudoku based on the properties of Sudoku. This method isgiven by four optimal properties of Sudoku , which come from the characteristics of the candidate set. Using this method, calculation speed has been improved because the backtrack is avoided. Then, the 3 × 3 sudouku is taken as a example. Six optimal properties are given as the special cases of the four optimal properties mentioned above. At last, two sudoku puzzles are demonstated and solved by using the mehod. According to the result, this algorithm saves can be see more than one-third of the time than backtracking algorithm. That shows the method is very effect
出处 《科学技术与工程》 2011年第26期6409-6412,共4页 Science Technology and Engineering
关键词 数独 候选数 回溯法 算法性能 Sudoku candidates backtrack algorithm performance
  • 相关文献

参考文献4

  • 1Santos-Garcia G,Palomino M. Solving sudoku puzzles with rewriting rules, Electronic Notes in Theoretical Computer Science, 2007; (176) :79-93.
  • 2孟庆铃.数独问题人工解法的程序实现[J].甘肃科技,2006,22(9):150-151. 被引量:6
  • 3李盘荣.“数独”游戏的算法研究与实现.电脑知识与技术,2008,3(8):1715-1717.
  • 4Andrew Stuart. Show Candidates. http://www, sudokuwiki, org/sudo- ku. htm. 2011-4-19.

共引文献9

同被引文献27

引证文献8

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部