You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, this class is tightly-coupled to the implementation details of DiscreteDemography. This coupling is bad design and happened "organically".
This class should be able to fully contain the entire current state of the model. Thus, it should contain copies of the events in the DiscreteDemography class and manage the "event ranges".
This class should also be able to "reset" itself, and spawn an "unevolved" copy (e.g., ready to go from time zero again). Given a set of initial deme sizes, it would also be handy to be able to set the state to start at an arbitrary time.
The text was updated successfully, but these errors were encountered:
The new class is completely independent of DiscreteDemography.
Closes#782Closes#783
This PR also affects the implementation of changes made in
PRs #773 and #774
Currently, this class is tightly-coupled to the implementation details of
DiscreteDemography
. This coupling is bad design and happened "organically".This class should be able to fully contain the entire current state of the model. Thus, it should contain copies of the events in the
DiscreteDemography
class and manage the "event ranges".This class should also be able to "reset" itself, and spawn an "unevolved" copy (e.g., ready to go from time zero again). Given a set of initial deme sizes, it would also be handy to be able to set the state to start at an arbitrary time.
The text was updated successfully, but these errors were encountered: