PuzzleSolver/Source/main.cpp

26 lines
434 B
C++
Raw Normal View History

#include "header.h"
int LogEntry::randomed(0);
int main()
{
unsigned int cols=36, rows=28;
vector<LogEntry> log;
Puzzle puzzleMat(cols, rows);
if(!puzzleMat.PreProcessing())
{
cerr << "Error occurred at PreProcessing!";
return 0;
}
//puzzleMat.createRandomBox();
puzzleMat.a1.printConstraintMatrix();
while(next(log, puzzleMat));
puzzleMat.printPuzzle();
return 0;
}