ivapylibs / puzzle_solver

1 stars 2 forks source link

Code: ``puzzle.parser.fromLayer`` #8

Closed pv33 closed 2 years ago

pv33 commented 3 years ago

This is part that parses the individual regions, extracts their information and then instantiates puzzle pieces from the information. I have chosen to decompose this process into two parts and assigned them member functions.

In principle, one could merge the two so that only a single loop is done.

I have elected to forego that joint computation. It is worth whatever cons might exist. Modern computing shouldn't care so much.

pv33 commented 3 years ago

Depends on #1 and #3