nalmadi / EMIP-Toolkit

EMIP Toolkit (EMTK): A Python Library for Processing Eye Movement in Programming Data
17 stars 22 forks source link

Eliminate inheritance in class design #7

Closed sdotpeng closed 3 years ago

sdotpeng commented 3 years ago

Initially, we chose inheritance for class design. Every eye movement element was modeled as a super class, while the subclasses being the specific eye movements from various types of eye trackers. However, we think it would make it difficult when we add support for more types of eye trackers in future development. Now, @sdotpeng will eliminate inheritance in our program, making universal class of eye movement for various eye trackers.

sdotpeng commented 3 years ago

The code has been refactored, and inheritance was eliminated. All eye trackers use the same type of classes now.