Commit Graph

29 Commits

Author SHA1 Message Date
Raphael Maenle
fc9743a77a dispatcher funktioniert halb, es fehlt noch 'setflag' und average quality calculation 2018-01-07 14:16:57 +01:00
Raphael Maenle
882737bd30 Abstraction1 Komplett eingebunden - Probleme nun auf Dispatcherseite
Die Bilder sind in einem Ordner über dem Github abgespeichert, sieht man eh wohin die PATH zeigt. Bilder werden die "WORKING PIECES" verwendet.
2018-01-06 23:23:42 +01:00
TabDragon
cba4d204c8 Fixed errors due to no pictures in pieces folder 2017-12-29 14:33:22 +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
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
60e57b9ae0 Added forward declarations to avoid ring compiler errors 2017-12-20 22:58:00 +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
0048f5b42d removed comments form non working 2017-12-18 13:37:31 +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
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
c-weidinger
3ddb217f6d Merged First and NextCoor 2017-12-03 20:12:32 +01:00
Raphael Maenle
e2d2e403f5 changed all uint to unsigned int 2017-12-02 17:03:12 +01:00
c-weidinger
17c3841650 Clion Project created
Included Raphaels code in CLion Project
2017-12-02 14:39:19 +01:00
g-spacewhale
82d0c740c3 added a simple converter from part to puzzlepiece called convertPart2PuzzlePiece. takes and gives vectors only 2017-11-30 14:19:25 +01:00
2c71dd7a47 Added rotation functionality, minor cleanups on the way 2017-11-28 21:35:49 +01:00
3567b77cec added basic construct to keep on turning puzzle piece. non functional as of yet. 2017-11-22 16:06:23 +01:00
g-spacewhale
74e1e2e224 changed to use heavypuzzle in main 2017-11-21 16:05:38 +01:00
g-spacewhale
e947a8b24f slight update to structure. going into subbranch now 2017-11-21 11:19:51 +01:00
g-spacewhale
772a1d815a added hardest puzzle #evafornoobs. does not compute 2017-11-19 23:03:11 +01:00
g-spacewhale
aa00553bdb removed bugs. some puzzles take forever. most can be solved 2017-11-19 22:53:00 +01:00
g-spacewhale
15940f41da added more strucuture to strucutur.cpp. commiting now to extract new debugging branch 2017-11-19 17:52:02 +01:00
c308b6d9e8 furthered structure.cpp with code segments. edited log class in solve.h 2017-11-18 22:48:40 +01:00
g-spacewhale
037d20096a added codebase. changed folderstructure 2017-11-18 08:22:35 +01:00
g-spacewhale
b05fedb76e added folder structure 2017-11-17 22:10:36 +01:00
g-spacewhale
c876daacc7 added main 2017-11-17 21:38:47 +01:00