added printpuzzle fucntions

This commit is contained in:
Raphael Maenle
2017-12-22 23:27:50 +01:00
parent ae9e4633d6
commit 12574279ce
3 changed files with 16 additions and 3 deletions

View File

@ -43,8 +43,7 @@ public:
Puzzle(unsigned int newcols,unsigned int newrows):rows(newrows),cols(newcols)
{
a1.PreProcessing({rows,cols}, nullptr);
a1.InitialiseConstraintMatrixSize(newcols+2, newrows+2);
a1.setEdgeZero();
a1.CreateRandomPuzzle();
}
coor getSizeAsCoor()