28 lines
577 B
C++
28 lines
577 B
C++
#include "header.h"
|
|
|
|
int LogEntry::randomed(0);
|
|
|
|
int main()
|
|
{
|
|
|
|
unsigned int cols=5, rows=6;
|
|
|
|
vector<LogEntry> log;
|
|
Puzzle puzzleMat(cols, rows);
|
|
if(!puzzleMat.PreProcessing())
|
|
{
|
|
cerr << "Error occured at PreProcessing!";
|
|
return 0;
|
|
}
|
|
|
|
puzzleMat.createRandomBox();
|
|
cout << "here" << endl;
|
|
puzzleMat.a1.printConstraintMatrix();
|
|
|
|
//vector<vector<PuzzlePiece*>> ab1class = abstractionLayer1classify(log, p_myFirstBox,puzzleMat);
|
|
while(next(log, puzzleMat.p_myBox,puzzleMat));
|
|
|
|
puzzleMat.printPuzzle();
|
|
return 0;
|
|
}
|