2017-12-02 14:39:19 +01:00
|
|
|
#include "header.h"
|
2017-12-06 16:25:13 +01:00
|
|
|
|
|
|
|
int LogEntry::randomed(0);
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
|
2017-12-16 00:10:52 +01:00
|
|
|
unsigned int cols=5, rows=6;
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
vector<LogEntry> log;
|
|
|
|
Puzzle puzzleMat(cols, rows);
|
2017-12-29 14:33:22 +01:00
|
|
|
if(!puzzleMat.PreProcessing())
|
|
|
|
{
|
|
|
|
cerr << "Error occured at PreProcessing!";
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2017-12-21 12:43:31 +01:00
|
|
|
puzzleMat.createRandomBox();
|
2017-12-23 10:11:07 +01:00
|
|
|
cout << "here" << endl;
|
|
|
|
puzzleMat.a1.printConstraintMatrix();
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
//vector<vector<PuzzlePiece*>> ab1class = abstractionLayer1classify(log, p_myFirstBox,puzzleMat);
|
2017-12-21 12:20:57 +01:00
|
|
|
while(next(log, puzzleMat.p_myBox,puzzleMat));
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
puzzleMat.printPuzzle();
|
2017-12-23 10:11:07 +01:00
|
|
|
return 0;
|
2017-12-02 14:39:19 +01:00
|
|
|
}
|