In preparation for the Snapshot computation #101 this PR adds base classes to reduce code repetitions. This introduces a new interface class MicroManagerInterface, a base class MicroManager and renames the original MicroManager class in MicroManagerCoupling. The PR also changes the structure and position of the main-method to allow snapshot execution via a flag as suggested in #101.
This is also done with the idea to extend this base class in a potential future restructuting process of the MicroManagerCoupling class.
Feedback on how to implement the base classes in clean way is highly apprecitated as I wasn't able to find examples or best practices regarding this scenario, in which a base class handles part of a constrcutor.
Checklist:
[x] I made sure that the CI passed before I ask for a review.
[x] I added a summary of the changes (compared to the last release) in the CHANGELOG.md.
[x] If necessary, I made changes to the documentation and/or added new content.
[x] I will remember to squash-and-merge, providing a useful summary of the changes of this PR.
In preparation for the Snapshot computation #101 this PR adds base classes to reduce code repetitions. This introduces a new interface class
MicroManagerInterface
, a base classMicroManager
and renames the originalMicroManager
class inMicroManagerCoupling
. The PR also changes the structure and position of themain
-method to allow snapshot execution via a flag as suggested in #101.This is also done with the idea to extend this base class in a potential future restructuting process of the
MicroManagerCoupling
class.Feedback on how to implement the base classes in clean way is highly apprecitated as I wasn't able to find examples or best practices regarding this scenario, in which a base class handles part of a constrcutor.
Checklist:
CHANGELOG.md
.