added preprocessing call

This commit is contained in:
Raphael Maenle 2017-12-22 23:02:08 +01:00
parent 7c8d9cffe9
commit 6f57b382cb

View File

@ -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);