Met4FoF / agentMET4FOF

Metrological Agent-based system (MET4FOF project)
Other
22 stars 8 forks source link

Consider refactoring of AgentMet4FoF to an abstract base class #274

Open BjoernLudwigPTB opened 3 years ago

BjoernLudwigPTB commented 3 years ago

The aforementioned class is actually not meant to be innstanciated directly, since it is missing some important implementations. In Python there are so-called abstract base classes (ABCs) to cover such use cases: https://docs.python.org/3/library/abc.html. We should consider making use of this feature and turning thhe accordings methods into @abstractmethod s.