diff --git a/Source/header/solve.h b/Source/header/solve.h index 347119b..47ade58 100755 --- a/Source/header/solve.h +++ b/Source/header/solve.h @@ -42,6 +42,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(); } @@ -49,7 +50,7 @@ public: coor getSizeAsCoor() {return {cols,rows};} - DestructionPower dp; + DestructionPower* dp; AbstractionLayer_1 a1; void removeConstrains(coor removeCoordinates);