No description
Find a file
2025-12-08 06:13:52 +03:00
cmd feat: Plague_sim betta 2025-12-08 06:04:23 +03:00
config feat: Plague_sim betta 2025-12-08 06:04:23 +03:00
internal feat: Plague_sim betta 2025-12-08 06:04:23 +03:00
.env feat: Plague_sim betta 2025-12-08 06:04:23 +03:00
.gitignore feat: Plague_sim betta 2025-12-08 06:04:23 +03:00
go.mod feat: Plague_sim betta 2025-12-08 06:04:23 +03:00
go.sum feat: Plague_sim betta 2025-12-08 06:04:23 +03:00
README.md docs: Changes in README.md 2025-12-08 06:13:52 +03:00

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