数字建模-模拟一:数独(陈丽娟、蒋鑫、陈德进).doc

数字建模-模拟一:数独(陈丽娟、蒋鑫、陈德进).doc

  1. 1、本文档共14页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Page PAGE 13 of 14 Team#3 Team Creating Sudoku Puzzles Summary Sudoku puzzle is an attractive game which is very popular in the world now. At current, creating and evaluating the difficulty level of Sudoku puzzles is a significant problem. In our paper we design an algorithm that based on improvement backdating method and can produce different difficulty Sudoku with a unique solution, then evaluate the complexity of it. First, we define the basic operation of finding the smallest candidate number and judging whether the layout is final layout or death layout. On this basis, using the search algorithm minimum candidate number and backtracking exhaustively state space to minimize algorithm complexity. Then, construct a decision tree and use backdating method to define difficulty evaluation from three aspects. The three aspects are the number of known grids in original layout, the smallest known number of each row and each line, the search number in solving the final layout. Through a lot of experiments we endow them with corresponding weights, and use the weights to calculate the difficulty grade of each original layout. Finally, design an algorithm to produce an original layout which satisfies the rules of Sudoku. Solve it and get all the final layouts of it, then use backtracking to seek an original layout with unique solution meeting the chosen difficulty level. key words: the search algorithm minimum candidate; decision tree; weights; backtracking Content TOC \o 1-3 \h \z \u 1. Introduction 3 2. Description and Analysis 3 3. Assumptions 4 4. Symbols and Terms 5 4.1 Symbols 5 4.2 Terms [1] 5 5. Model Design and Solve 5 5.1 Basic Operation [1] 5 5.2 The search algorithm based on the minimum number of candidates 6 5.3 The Measurement for Difficulty Grades [2] 8 5.4 Original Layout Creation[1] 9 5.4.1 Create the original layout having solutions 9 5.4.2 Creat the original layout with unique solution 10 5.6 Analyze the Complicacy 11 5.6.1 Space

文档评论(0)

132****9321 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档