Git Product home page Git Product logo

abm_cti's Introduction

Agent based models for simulating infectious diseases

Here are agent based models for simulating infectious diseases. The two main programs are:

  • abm_spaces.cc - a structured agent based model of a Covid-19 epidemic
  • abm_hetgen.cc - an agent based model with highly heterogeneous agents to simulate short duration infection outbreaks

Details for compiling and running the programs are in the comments section at the top of each programme. We develop and test under Linux.

Earlier prototypes of both programs are c19p5.R and hetgen.py. Please note though that the C++ code has changed substantially since the prototypes which are buggy and seldom if ever maintained. The speed difference between the C++ programs and the prototypes is so massive that we are now committed solely to maintaining the C++ code.

Other useful files:

  • Makefile - contains various useful targets

  • analyze5.R, analyzeTaT2.R, analyze10000five.R, k_neighbours_average.R - for analysing the output of abm_spaces

  • analyze_hetgen.py - for running abm_hetgen or analysing its output or both

  • out_hetgen.csv.gz - output of abm_hetgen used in the paper doc_hetgen.tex

  • spaces_data.tar.gz - output used in the paper doc_spaces.tex

The analysis in the ABM-Spaces paper (doc_spaces.tex) can be reproduced by running:

  • make analyze10000five (This is the primary analysis which will output five.htm and combine all the raw data in abm_spaces_output.csv)

  • make analyzeTaT2 (This is the secondary analysis which will output TaT2.htm)

abm_cti's People

Contributors

eduardgrebe avatar nathangeffen avatar marcuslowx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.