sudoku 生成数独,求解算法和穷举搜索的启发式算法
数独生成数独,用于求解算法和穷举搜索的启发式算法。该应用程序允许您在数独集合上测试算法的运行时间。演示实现的算法生成数独this . generate = function ( cellEmptyInput ) { this . refreshSudoku ( ) ; for ( var i = 0 ; i < this . getRandomInt ( 1 , 9 ) ; i ++ ) { this . transposeRowBig ( this . getRandomInt ( 0 , 2 ) , this . getRandomInt ( 0 , 2 ) ) ; } for ( var i = 0 ; i < this . getRandomInt ( 1 , 9 ) ; i ++ ) { this
下载地址
用户评论