ナンバープレイス解法アルゴリズムとFortranによる実装
スポンサーリンク
概要
- 論文の詳細を見る
Number Place is a puzzle which buries the 9×9 squares by the number of 1-9 according to the rules. The solution of Number Place is explained by various homepages and books. It seems that however, what explained the algorithm of solution concretely is not found. Then, in this paper, the algorithm of Number Place solution devised uniquely is introduced. Furthermore, the program which actually created the algorithm using Fortran which is one of the programming languages is also introduced. The logical type array of 9×9×9 of Fortran (it is called a logical cube in this paper) is used for expressing the 9×9 squares of Number Place. When this 3-dimensional logical type array was used together with the functions for array offered after Fortran9O, it turns out that the processing which had to use many do loops in Fortran77 becomes unnecessary, and we can program algorithm of Number Place solution very simply
- 2006-10-30