Merge branch 'master' into Team_ADWP_Histogram
This commit is contained in:
@ -72,7 +72,7 @@ bool AbstractionLayer_1::RemoveConstraintOnPosition(const coor constraintCoordin
|
||||
void AbstractionLayer_1::CreateRandomPuzzle()
|
||||
{
|
||||
std::minstd_rand simple_rand;
|
||||
simple_rand.seed((unsigned int)"dumbo");
|
||||
simple_rand.seed((unsigned int)time(nullptr)); //dumbo
|
||||
|
||||
for(int col = 0; col < m_constraintMatrix.size()-2; col++){
|
||||
for(int row = 0; row < (m_constraintMatrix[col].size() - 2);)
|
||||
|
@ -24,7 +24,15 @@
|
||||
#include <bitset>
|
||||
|
||||
#define DISPLAY false
|
||||
|
||||
#ifdef _WIN32
|
||||
#define PATH "..\\..\\..\\pieces\\%04d.jpg"
|
||||
#elif defined __unix__
|
||||
#define PATH "..//..//..//pieces//%04d.jpg"
|
||||
#elif defined __APPLE__
|
||||
#define PATH "..//..//..//pieces//%04d.jpg"
|
||||
#endif
|
||||
|
||||
#define IMG_SIZE 400
|
||||
#define TOP 6
|
||||
#define RIGHT 4
|
||||
|
Reference in New Issue
Block a user