No description
| cmd | ||
| config | ||
| internal | ||
| .env | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
Plague sim
A simulator of the spread of diseases. University project
Example of an ini file in config/parameters.ini
(without the specified ini file, the weights are generated by themselves)
[simulation]
external_contact=0.8561863219304897
hand_washing=0.7786869438194688
touching_mw=0.8275166538384962
random_cough=0.2453500293553117
quality_of_protection=0.018794712095728337
poor_protection=0.06845399479897865
ventilation_quality=0.24352626971200045
infection_from_animals=0.4115376439485465
blood=0.4389679792541689
sexual_route=0.35986797134752485
dirty_water=0.20464688374072723
ingestion=0.720787964464197
prevention=0.4710356702996838
self-medication=0.8809326394535034
hospital_treatment=0.9428237386235948
number_of_people=185
Launching the app
git clone https://git.wolkodaf2946.ru/Wolkodaf/Plague_sim.git
To run the simulator, you need a pre-installed Golang programming language.
We execute such commands in the root directory of the project:
go mod download
go run cmd/main.go