tapios / risk-networks

Code for risk networks: a blend of compartmental models, graphs, data assimilation and semi-supervised learning
Other
2 stars 2 forks source link

Move diagram generation, transition rates setting etc. to KineticModel #144

Open dburov190 opened 4 years ago

dburov190 commented 4 years ago

Currently (i.e. after #136), ContactNetwork accepts transition rates for KineticModel; however, transition rates for MasterEquationEnsemble are set separately. This creates confusion, so it's better to either

Besides, generate_diagram_indep and generate_diagram_neigh methods are inside ContactNetwork simply because of the names of weight labels; they don't really belong there. This can be fixed via a Glossary class which would hold all parameter names.