ivapylibs / puzzle_solver

1 stars 2 forks source link

Idea about manager class design #29

Closed Uio96 closed 2 years ago

Uio96 commented 3 years ago

The current manager is like

parser(fromLayer (trackpointer) or simple (perceiver)) -> manager (compare with ground truth in pairs/generate associates)

and in manager, there is a match function based on the moments feature and greedy algorithm association.

Based on my understanding, the main difference in manager is that the match function (feature extraction + association part) can be different. So I suggest having a base manager class which have a match function but is not implemented yet. Then its child class can override it. It is a similar design to the matcher class in piece, where match->matchDifferent->moments.