Commit Graph

68 Commits

Author SHA1 Message Date
Raphael Maenle
9f876e5c34 Merge branch 'RM_tryColor' of https://github.com/MMRVZ2017/MPK.Puzzle into RM_tryColor 2018-01-29 20:05:39 +01:00
Raphael Maenle
cf576db19d added dp calcualtion 2018-01-29 20:05:37 +01:00
d-kaselautzke
a073453a82 Added combinedQualityTop2 and SetBestTop2
Probably a better version of CalculateNewCombinedQuality and SetBestOrMoreLayersArithmetical. Use this two new functions or the two Arithmetical functions!
2018-01-29 19:32:09 +01:00
Raphael Maenle
a6da2298c8 added outputfuntion 2018-01-29 16:32:55 +01:00
Raphael Maenle
df071457d0 fully added color implementation 2018-01-29 16:16:27 +01:00
Raphael Maenle
5029044157 stash 2018-01-29 13:41:19 +01:00
Raphael Maenle
79109e1d34 simplifed cut 2018-01-27 18:27:20 +01:00
Raphael Maenle
884a20eb44 changed cut function 2018-01-27 18:14:57 +01:00
Raphael Maenle
4ed991539d poempelfind broken 2018-01-27 18:07:42 +01:00
Raphael Maenle
9cd267bc7d added color check 2018-01-27 16:27:06 +01:00
Raphael Maenle
e906b63dc1 removed minor changes 2018-01-27 16:06:03 +01:00
Raphael Maenle
d3d7d53a45 added a4 result presentation 2018-01-27 13:54:09 +01:00
Raphael Maenle
a289ccee57 added cut back 2018-01-27 13:24:44 +01:00
c-weidinger
9e2abfd64d Layer Poempl and SURF working together 2018-01-27 10:22:24 +01:00
Raphael Maenle
9a3661647a Merge branch 'Layer_SURFFeatures' of https://github.com/MMRVZ2017/MPK.Puzzle into Layer_SURFFeatures 2018-01-26 22:30:08 +01:00
Raphael Maenle
7920e73bfb removed calls to other layers to get into solver
problem with imread in preprocess when multiple layers make call. This was subv. by deactivating these layers.
2018-01-26 22:27:46 +01:00
JRauer
1787af11ab One Bug found and changed 2018-01-26 22:26:19 +01:00
Maximilian Papa
b4641fe65b Included the Layer_SURFFeature in code 2018-01-25 22:14:00 +01:00
Raphael Maenle
a9731c2edd readded RemoveSimilar 2018-01-23 09:07:26 +01:00
Raphael Maenle
a7ce247eb9 debugging 2018-01-22 20:09:57 +01:00
Raphael Maenle
7979d28422 Layer logic done, dispatcher simplified 2018-01-22 19:20:25 +01:00
Raphael Maenle
1f87d00d8b removed debug messages 2018-01-20 22:41:48 +01:00
Raphael Maenle
cefa63da54 fixed backtrack bug in logslasher function 2018-01-20 22:31:56 +01:00
Raphael Maenle
bc1a7eb6b5 Merge branch 'master' into MergeBranch_resultImage 2018-01-20 22:01:53 +01:00
Raphael Maenle
fe04ebcd01 removed bloat 2018-01-20 15:05:54 +01:00
Raphael Maenle
7a3b33455d Changed dp calculation 2018-01-20 09:40:03 +01:00
Raphael Maenle
1c85bee091 RM: aging, minor edits
aging erhöht, damit histo aufgerufen wird.
histo layer matrix position verändert, damit die stimmt
histo.image daten sind momentan immer NULL -> error bei Aufruf
2018-01-19 22:09:12 +01:00
Raphael Maenle
d91dded858 RM: added into dispatcher strucure 2018-01-19 21:36:31 +01:00
Raphael Maenle
4701720d3a edited in puzzlecreator 2018-01-16 22:53:05 +01:00
Raphael Maenle
ab2741a743 changed name of layer 1 to layer 0
and slightly modified speedtable: hard coded inverse to make calculation easier
2018-01-08 18:44:32 +01:00
Raphael Maenle
c0f0417d3b dispatcher-a1 now functional
a1 Solver finds solutions for puzzles, dispatcher correctly distributes layers.
2018-01-08 18:33:30 +01:00
Raphael Maenle
6754873cfd Dispatcherprobleme bestehen
Springt momentan nicht in die nächste Reihe. Debugging gehört hier weiter gemacht.
2018-01-07 21:58:16 +01:00
Raphael Maenle
c78518b1e9 code now functional 2018-01-07 20:08:50 +01:00
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
d-kaselautzke
9d98ed83fa Added SetBestOrMoreLayersArithmetical and CalculateNewCombinedQuality 2018-01-05 01:18:23 +01:00
TabDragon
4f9f43991c Changed qualityVector from map to vector of pairs
This change is better for the dispatcher, as he can sort the qualityvector now easily by the quality of each part
2018-01-02 13:59:16 +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
ae9e4633d6 added dp to puzzle 2017-12-22 23:09:23 +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
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
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
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
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