code now functional

This commit is contained in:
Raphael Maenle
2018-01-07 20:08:50 +01:00
parent fc9743a77a
commit c78518b1e9
8 changed files with 127 additions and 167 deletions

View File

@ -5,7 +5,7 @@ int LogEntry::randomed(0);
int main()
{
unsigned int cols=36, rows=28;
unsigned int cols=36,rows=28;
vector<LogEntry> log;
Puzzle puzzleMat(cols, rows);
@ -16,10 +16,11 @@ int main()
}
//puzzleMat.createRandomBox();
puzzleMat.a1.printConstraintMatrix();
cout << "Solving Puzzle now...";
while(next(log, puzzleMat));
cout << "Done!" << endl;
puzzleMat.printPuzzle();
return 0;
}