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

Hospital beds in node_identifier_helper.py #126

Closed lubo93 closed 4 years ago

lubo93 commented 4 years ago

Does anyone still need the "hospital_beds" : hospital_beds node identifier in node_identifier_helper.py? Otherwise I would delete it in a PR.

dburov190 commented 4 years ago

Please leave it, it'll go into the new ContactNetwok class I'm working on right now

odunbar commented 4 years ago

Our code structure is based on the fact that nodes are representing people one-to-one. I don't think a getter-setter wrapper will change this?

glwagner commented 4 years ago

I agree that no matter how the contact network is wrapped, there is no longer the concept of a "hospital bed" in our current model. Instead, the HealthService rewires the network according to some set of rules when patients are hospitalized.

Because the concept of a "hospital bed" does not exist in our current framework, there are no nodes that correspond to hospital beds. Thus there is no need for a hospital beds "node identifier".

dburov190 commented 4 years ago

Fixed by #136