Closed rlarg closed 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.
Please check the logic and if there are any areas for improvement etc. - Preview.
Ive implemented a different hub system, ive also added the code improvements you made.
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.