https://github.com/timvwese/sir-linear-threshold
collection of scripts that run experiments on tne LuMV models and present and archive their resluts
https://github.com/timvwese/sir-linear-threshold
Last synced: 4 months ago
JSON representation
collection of scripts that run experiments on tne LuMV models and present and archive their resluts
- Host: GitHub
- URL: https://github.com/timvwese/sir-linear-threshold
- Owner: TimVWese
- Created: 2024-02-14T14:48:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-25T19:28:01.000Z (over 1 year ago)
- Last Synced: 2025-07-12T19:51:16.874Z (11 months ago)
- Language: TeX
- Size: 31.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SIR - Linear Threshold epidemics
Companion code to [Epidemic risk perception and social interactions lead to awareness cascades on multiplex networks](https://arxiv.org/abs/2404.16466).
## Dependencies
Dependencies are in `Project.toml`.
[`General`](https://github.com/TimVWese/General.jl) and [`SIRLT`](https://github.com/TimVWese/SIRLT.jl) are not part of the Julia general registry. To install them, run
```julia
] dev https://github.com/TimVWese/General.jl https://github.com/TimVWese/SIRLT.jl
```
To install the others, run
```julia
using Pkg
Pkg.activate(".")
Pkg.instantiate()
```
## Usage
Adjust the desired parameters in `setup.jl` than initialize with
```bash
julia init.jl
```
Run with
```bash
julia -t $n_threads run.jl $network_i
```
where `$n_threads` is the number of threads to use and `$network_i` is the index of the network to evaluate.
When all networks are evaluated, run
```bash
julia finalise.jl
```
to collect the results.
## Archived results
In the folder `archived_results` the results presented in the paper can be found.