Not all edges looked so nice.
Since I haven't optimized anything I had to work with large error margins.
To make it clear - I use the word "edge" for both cases:
- the while piece edge (contour)
- one side of a piece
therefor I have 1000 contours described with something like 300-600 points per side.
So what about the #complexitytheory ?
Well I had to optimize for space on my working bench. I had about 1m^2 of space and had to move it away if the space was needed for other stuff.
This included:
- dividing whole puzzle into four quadrants (Q1-Q4 in the picture from last post)
- stacking those parts on a hard paper
- creating buckets with puzzle pieces stored in ranges (like 1-50, 51-100 in boxes)
- while working on the quadrant you set focus for the tool which chooses the proper solving direction
- the tool gives you a candidate
- you go to the box
- find the piece (which was very tedious job)
- compare the proposed edges
- mark result (yes/no/next)
- repeat
This all involved a lot of stack and heap work ;-)