Some epidemic models for simulation and plotting.
An excuse to learn how to embed python with C :)
-
install python and python-dev packages (tested with python2.7)
-
install numpy and scipy libraries for python:
-
clone this repository:
$ git clone https://github.com/pthevenet/Epidemics.git
-
make
$ make cli
-
'help' command for more instructions
$ ./CLI help
Or simply use the models !
`./CLI kmk 99 1 0 0.001 0.01 500 500`
`./CLI rm 9900 100 5000 5000 0.65 0.25 0.01 0.058 0.01 500 500`