From 9678575b811adad507ee6c6aa1d79c159a27263c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 26 Apr 2013 22:10:51 +0000 Subject: Removed solver debug output. --- src/sudoku.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/sudoku.cc b/src/sudoku.cc index d40a8c8..88695de 100644 --- a/src/sudoku.cc +++ b/src/sudoku.cc @@ -1,7 +1,7 @@ #include "sudoku.h" -#include +// #include #include @@ -337,20 +337,20 @@ int Sudoku::solve_search() bool Sudoku::solve_search_step(int &iterations, Sudoku & solution) { - qDebug() << "iteration " << iterations; - for (int row = 0; row < 9; row ++) { - qDebug() - << cell(row, 0).value() - << cell(row, 1).value() - << cell(row, 2).value() - << cell(row, 3).value() - << cell(row, 4).value() - << cell(row, 5).value() - << cell(row, 6).value() - << cell(row, 7).value() - << cell(row, 8).value(); - } - +// qDebug() << "iteration " << iterations; +// for (int row = 0; row < 9; row ++) { +// qDebug() +// << cell(row, 0).value() +// << cell(row, 1).value() +// << cell(row, 2).value() +// << cell(row, 3).value() +// << cell(row, 4).value() +// << cell(row, 5).value() +// << cell(row, 6).value() +// << cell(row, 7).value() +// << cell(row, 8).value(); +// } +// if (solved()) { solution.assign((*this)); return true; -- cgit v1.2.3