SwanseaUniversityMedical / multimorbidity_hypergraphs

GNU General Public License v3.0
4 stars 0 forks source link

Restructure the lib to use a class #3

Closed jim-rafferty closed 3 years ago

jim-rafferty commented 3 years ago

Currently everything is just passed in and out of functions but as features are added it may be useful to restructure the lib around a class with methods called on that class. It's really important to make sure that the numba compilation stuff works with this type of structure before going to far down this road. At least, a numba compiled function that is called by a method should work, but is a but ugly.

jim-rafferty commented 3 years ago

Done in commit d032811ff9da0c19116688e8f073089ad9ed060a (still needs proper testing).