spades1404 / ABMCovid

Agent Based Model of CoViD-19
0 stars 0 forks source link

Added a central hub and simplified another function #4

Closed rlarg closed 4 years ago

rlarg commented 4 years ago

Added a third, shared coordinate which agents have a chance of moving to. This emulates a populated central hub/location, e.g. shops.

grabNeighboursAgents() changed to a list comprehension.

Modified some characteristics as agents were not getting infected, causing the model to end early.

rlarg commented 4 years ago

Please check the logic and if there are any areas for improvement etc. - Preview.

spades1404 commented 4 years ago

Ive implemented a different hub system, ive also added the code improvements you made.