squaresLab/Darjeeling

Add transformation numbering via NumberedTransformation class

Opened this issue · 0 comments

Every transformation should be assigned a unique number, starting from zero. Numbers can be used for fast lookups by number and would be useful for debugging (e.g., a candidate patch could be represented as a sequence of transformation numbers). To separate the concern of generating/representing transformations from numbering them, a simple NumberedTransformation wrapped should be introduced.