Skip to content

A Disease Simulator written in Rust with a Python-based command interface

License

Notifications You must be signed in to change notification settings

AzeezDa/neophoebe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEOPHOEBE - A Disease Simulator

Namesake: Phoebe

A Disease Simulator written in Rust with a Python-based command interface.

Table of Content

  1. Setup
  2. Running the Simulation
  3. Examples
  4. Theory / Thought Process

Setup

Windows (Best option)

  1. Run the setup.bat script
  2. If no errors showed up then you are done!

Linux (Not Recommended)

  1. Type . ./setup.sh in a terminal (yes the . is important)
  2. If no errors showed up then you are done!

Running the Simulation

The simplest way to run the simulation is to run python src/run.py <parameters_file> -p where <parameters_file> is the path to the .ron parameters file you want to simulate. For more help run python src/run.py -h

Examples

Here are some examples from the examples/ directory

Given the parameters file at examples/no_restriction/parameters.ron the output figure of that simulation is:

Output figure of an example simulation

Given the parameters file at examples/community_restriction/parameters.ron the output figure of that simulation is:

Output figure of an example simulation

Theory / Thought Process

The theory and thought process behind the implementation can be found in docs/neophoebe.pdf.

About

A Disease Simulator written in Rust with a Python-based command interface

Topics

Resources

License

Stars

Watchers

Forks