Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imskully/ebola-cellular-automata
The simulation of the spread of the Ebola virus in a Cellular Automata with accompanying visualization.
https://github.com/imskully/ebola-cellular-automata
bootstrap c cellular-automata jquery php posix pthreads research visualization
Last synced: 3 days ago
JSON representation
The simulation of the spread of the Ebola virus in a Cellular Automata with accompanying visualization.
- Host: GitHub
- URL: https://github.com/imskully/ebola-cellular-automata
- Owner: ImSkully
- License: gpl-3.0
- Created: 2019-11-03T04:06:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-20T00:00:39.000Z (over 2 years ago)
- Last Synced: 2024-05-01T17:57:51.923Z (7 months ago)
- Topics: bootstrap, c, cellular-automata, jquery, php, posix, pthreads, research, visualization
- Language: JavaScript
- Homepage: https://skully.tech
- Size: 3.23 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cellular Automata Simulating Ebola
![License](https://img.shields.io/github/license/ImSkully/ebola-cellular-automata)
![Repo Size](https://img.shields.io/github/languages/code-size/ImSkully/ebola-cellular-automata)
![Version](https://img.shields.io/github/v/tag/imskully/ebola-cellular-automata)The simulation of the spread of the Ebola virus in a Cellular Automata made using C. Working program has functionality in both a serial and parallel computing environment, along with a visualization web application built with PHP.
## Usage
1. Adjust output parameters in the header.h of the respective program. *(Parallel/Serial)*
2. Execute the program and allow sufficient time for generation, `./ebola` or use the makefile `make quickrun`.
3. Once execution has completed, copy the contents of the `/output` directory and copy it to `ebola-visualization/public`.
* `api.php` - Contains definitions taken from the header.h during execution which defines the world parameters.
* `data.json` - Raw JSON data which contains the results of generation, this gets larger depending on the number of generations that were executed, a safe bet is to usually generate around 1-500.## makefile
The following pre-existing commands are defined in the makefiles in both versions of the program:
* `quickrun`
Generates, compiles and then executes the program.
* `generate`
Generates the output binary files for the C program.
* `compile`
Compiles the C binary files, requires generated output files to work.
* `clean`
Cleans up the working directory of all output files and the executable, this should only be done when rebuilding.