Giter Site home page Giter Site logo

epidemicsimulations.jl's Introduction

Epidemic Simulations

Work in progress. Contains basic examples of SIR, SIS, SEIR and SIRC models on a given graph.

All of the following simulations are using an infection probability of 0.33 and a recovery probability of 0.20. The time series plots have a much higher node count of 100k; the graph animations all have 200 nodes. SEIR and SIRC have a couple of additonal parameters.

Example running:

G = static_scale_free(200, 400, 2.5)

model = SIR()
initialise!(model, G, 80)
simulate!(model)

SIR Watts-Strogatz

G = watts_strogatz(200, 4, 0.2)

sir_watts_strogatz_gif

sir_watts_strogatz_png

SIR Static Scale Free

G = static_scale_free(200, 400, 2.5)

sir_static_scale_free_gif

sir_static_scale_free_png

SIS Barabási-Albert

G = barabasi_albert(200, 1)

sis_barabasi_albert_gif

sis_barabasi_albert_png

SEIR Watts-Strogatz

seir_watts_strogatz_gif

seir_watts_strogatz_png

SIRC Static Scale Free

sirc_static_scale_free_gif

sirc_static_scale_free_png

epidemicsimulations.jl's People

Contributors

rokkuran avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

juliaepi

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.