diff --git a/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp b/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp index a1cf9a9..d5cf7ba 100644 --- a/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp +++ b/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp @@ -13,12 +13,18 @@ void AbstractionLayer_1::PreProcessing(const vector* partArray) bool AbstractionLayer_1::EvalueteQuality (const coor constraintCoordinate, qualityVector& qVector) { - + for(int i=0;i> (shifts*2) | Part << sizeof(uint8_t)*8 - (shifts*2); +} + diff --git a/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.h b/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.h index 95f480e..31daab2 100644 --- a/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.h +++ b/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.h @@ -18,7 +18,8 @@ public: bool EvalueteQuality (const coor constraintCoordinate, qualityVector& qVector); bool SetConstraintOnPosition(const coor constraintCoordinate, const AbstractionLayer_1_Properties constraint); bool RemoveConstraintOnPosition(const coor constraintCoordinate); - + bool PlaceOfPartGood(coor myCoor, uint8_t& myPart); + void shift(uint8_t& Part, int shifts); void setEdgeZero(); diff --git a/Source/header/solve.h b/Source/header/solve.h index ad72406..a54d4ff 100755 --- a/Source/header/solve.h +++ b/Source/header/solve.h @@ -1,5 +1,6 @@ #include #include +#include "input.h" #include #include