Transport-for-the-North/caf.distribute

Gravity Model Results Base Class

Open

#50 opened on Nov 8, 2024

 (0 comments) (0 reactions) (0 assignees)Python (4 forks)auto 404
buggood first issuequestion

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

GravityModelResults seems to only act as a base class for the other results, if this is the case it could be renamed to GravityModelResultsBase and inherit from abc.ABC to make it clearer the intention of the class. Additionally an abstract property for summary should be added.

https://github.com/Transport-for-the-North/caf.distribute/blob/e407015087e802eb12164defda70f340cd57d7f6/src/caf/distribute/gravity_model/core.py#L29-L60

Contributor guide