From 6f57b382cb0a70ff6eecebf517dae226d1c73e26 Mon Sep 17 00:00:00 2001 From: Raphael Maenle <17550607+g-spacewhale@users.noreply.github.com> Date: Fri, 22 Dec 2017 23:02:08 +0100 Subject: [PATCH] added preprocessing call --- Source/header/solve.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);