Commit Graph

155 Commits

Author SHA1 Message Date
TabDragon
cba4d204c8 Fixed errors due to no pictures in pieces folder 2017-12-29 14:33:22 +01:00
Raphael Maenle
4c59e04fa7 removedPictures - to big 2017-12-29 12:26:03 +01:00
Raphael Maenle
9de04656e4 started include of ab1 opencv - segfault!
added pictures into git for easier debug, can remove again
2017-12-29 12:07:56 +01:00
Raphael Maenle
caa74198bd NON FINAL: added dp calculation and most of RW code, included david code
still not runable code as dispatcher functions are only placeholders!
2017-12-23 21:46:41 +01:00
Raphael Maenle
7c5cfc8c6b removed printBox from Main 2017-12-23 10:12:16 +01:00
Raphael Maenle
eada1bba96 split functions, added printbox, fixed put into box 2017-12-23 10:11:07 +01:00
TabDragon
93226cca1b Fixed errors with different col and row problems 2017-12-23 00:17:56 +01:00
Raphael Maenle
ad3aa1295a edit: now its up printmatrix 2017-12-22 23:30:05 +01:00
Raphael Maenle
12574279ce added printpuzzle fucntions 2017-12-22 23:27:50 +01:00
Raphael Maenle
ae9e4633d6 added dp to puzzle 2017-12-22 23:09:23 +01:00
Raphael Maenle
6f57b382cb added preprocessing call 2017-12-22 23:02:08 +01:00
Raphael Maenle
7c8d9cffe9 Merge branch 'Team_CMU_MergeBase' of https://github.com/MMRVZ2017/MPK.Puzzle into Team_CMU_MergeBase 2017-12-22 23:00:31 +01:00
Raphael Maenle
edd3c8620b beforemerge 2017-12-22 22:55:55 +01:00
TabDragon
a81c39125f Segmentation error fixed 2017-12-22 22:47:14 +01:00
Raphael Maenle
bfed4aba05 added positive ageing to destructionPower 2017-12-21 13:35:13 +01:00
Raphael Maenle
86c4e26bc7 improved random generator, made information call from Part more direct
todo: add indexing to puzzlepieces and all four rotation into puzzlebox (or maybe only log?). this needs to be done for random algorithm and for realPuzzle
2017-12-21 13:07:01 +01:00
Raphael Maenle
bd07d291db started random algorithm. problem with funciton separation between properties and layer 2017-12-21 12:43:31 +01:00
Raphael Maenle
dd9f8f3250 redid some of the includes and changed way statics are saved 2017-12-21 12:20:57 +01:00
TabDragon
0faadc8c25 Fixed Merge Errors 2017-12-20 23:15:17 +01:00
Raphael Maenle
9720613543 Merge branch 'Team_CMU_MergeBase' of https://github.com/MMRVZ2017/MPK.Puzzle into Team_CMU_MergeBase 2017-12-20 23:03:49 +01:00
Raphael Maenle
37eed7ef88 edited destructionLayer, changed includes 2017-12-20 23:01:04 +01:00
TabDragon
60e57b9ae0 Added forward declarations to avoid ring compiler errors 2017-12-20 22:58:00 +01:00
Raphael Maenle
e641199ce4 Merge branch 'Team_CMU_MergeBase' of https://github.com/MMRVZ2017/MPK.Puzzle into Team_CMU_MergeBase 2017-12-20 22:11:49 +01:00
Raphael Maenle
b0aaeb84b2 added DestructionLayer, fixed minor problems 2017-12-20 22:10:08 +01:00
TabDragon
7ba76b4881 Fixed error in AbstractionLayer + redefine of solve.h 2017-12-20 22:09:41 +01:00
Raphael Maenle
23d97293a3 Merge branch 'Team_CMU_MergeBase' of https://github.com/MMRVZ2017/MPK.Puzzle into Team_CMU_MergeBase 2017-12-20 22:05:30 +01:00
Raphael Maenle
058a96ab08 added destructionPower as abstractionLayer 2017-12-20 22:05:04 +01:00
TabDragon
1fabe84848 Fixed compiler errors with ring initialisation and qVector + MakeFile included 2017-12-20 22:02:09 +01:00
Raphael Maenle
ce5e007bc7 Removed lots of slack, edited map functions into dispatcher, puzzleMat missing
Removed overconstructed logic, changed vector to map. PuzzleMat object not defined yet, for implementation, make the functions that have already been called through it.
2017-12-20 18:23:39 +01:00
Raphael Maenle
c885e472fb implemented #1 layer
everything with the excemtion of image recogniation in preprocessing should be fully implemented. Can now begin deleting all legacy  code.
2017-12-20 17:35:52 +01:00
Raphael Maenle
507533531c unfinished merge, problems with randomgenerator
random generator in class needs to return a randomized puzzlebox
2017-12-18 22:50:03 +01:00
Raphael Maenle
90e31ddba6 Merge branch 'TeamCGPU_TestWithBaseLayer' into Team_CMU_MergeBase 2017-12-18 21:24:21 +01:00
Raphael Maenle
0048f5b42d removed comments form non working 2017-12-18 13:37:31 +01:00
Raphael Maenle
ffac7fbcb9
removed todo 2017-12-16 22:01:18 +01:00
g-spacewhale
ba4d757c5a minor code improvements
changed coor from m,n to col,row as per philipp request. added typecast to uint8 before bitmaskconversion.
2017-12-16 00:10:52 +01:00
Raphael Maenle
2ef3f164c7 added basic dP calculation, removed deprication warnings
Changed for loops to auto range, changed returns to bool literals, changed return of constructor to more basic call.

added dP calculation, save of the per piece runtime is still missing in puzzlebox or constraint matrix.
2017-12-13 10:47:15 +01:00
Raphael Maenle
ccf26f8d8a added empty functions for calls in structure.cpp
check if set or next abstraction is now done at the very beginning!
2017-12-12 11:42:31 +01:00
g-spacewhale
bf3b103251 Added David Code, removed Clion Stuff 2017-12-07 16:26:45 +01:00
d-kaselautzke
26ce1477bd Merge Branch TeamCMU the last 2017-12-06 21:56:26 +01:00
d-kaselautzke
0469915cd9 Merge branch TeamCMU the 2nd 2017-12-06 21:26:06 +01:00
d-kaselautzke
f0e287af20 Merge branch TeamCMU
random generator v2 + coor class
2017-12-06 21:24:11 +01:00
d-kaselautzke
e66aa080bb changed m,n to Coor class
changed every unsigned int m,n to coor myCoor. except of getPiece
2017-12-06 20:56:01 +01:00
Raphael Maenle
9b282e83ca generating "Random" Pieces from picture source now
rgb values stored as double in the piece base class. this is bound to change once other group has expanded piece base class.
2017-12-06 16:25:13 +01:00
Raphael Maenle
cd7bc1c42a removed legacy 2017-12-06 11:03:38 +01:00
Raphael Maenle
eb489a58c2 removed bulk project files
Lets see if this works.
2017-12-06 11:02:19 +01:00
c-weidinger
067f64c9ab Deleted Source/.idea 2017-12-05 19:52:54 +01:00
c-weidinger
bf521f741d Gitignore 2017-12-05 19:47:20 +01:00
c-weidinger
a78ec0c34e Changed Gitignore 2017-12-05 19:44:54 +01:00
Raphael Maenle
abb2126d61
updated readme to show todos 2017-12-03 20:35:35 +01:00
c-weidinger
586f9d0d3e Merge 2017-12-03 20:18:52 +01:00