panickernetworks/Spatial-herd-immunity: Spatial herd immunity

Read full text
Authors: Panicker
Cited by: 0

Abstract

This release contains the code corresponding to the paper "Herd Immunity with Spatial Adaptation Based on Global Prevalence Information." It implements epidemic models in which individuals adapt their behavior or spatial interactions based on global prevalence information, giving rise to herd-immunity effects. The repository includes the Adapted Susceptible (AS), Adapted Infected (AI), and Adapted Susceptible–Infected (AIS) models, with implementations that produce infection prevalence as the primary observable. For each model, the release provides numerical solutions of the mean-field equations, fully mixed spatial network simulations, and static spatial network simulation. In addition to the baseline adaptation mechanisms, this release incorporates the power-law and sigmoid law adaptation schemes analyzed in the paper, consistently implemented across all three models.

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
8 January 2026