示例#1
0
 /**
  * The ComputeAll method runs all possible initial board placements. This method is not called
  * anywhere, so it must be manually implemented
  */
 public static void ComputeAll() {
   for (int i = 0; i < 8; i++) {
     for (int j = 0; j < 8; j++) {
       // count=0;
       m = i;
       n = j;
       EightQueens(m, n);
       count = 0;
       board.reset();
     }
   }
 }