Too Long; Didn't Read
How to Build a SIR model in 20 minutes or less is easy to do with HASH, a platform for building multi-agent models. We're going to use HASH to create a single agent and send messages to neighbors. We'll also add a field called recovery_timestep when an agent gets exposed and when they recover. If the agent is sick and has any neighbors nearby, we’ll send a message telling them they’ve been exposed. This type of compartmental model is one of the most fundamental tools used by epidemiologists today.
Share Your Thoughts