Simulation of smoking spreading in society.
Project description
Smoking Simulation
Smoking Simulation is an app to simulate the spreading of smokers and non-smokers, their interactions and population during certain amount of time.
Description
The application allows users to observe simulation of spreading smokers and their behavior among given population parameters (3 different cases provided). Simulation rules and scenarios are based on real-life researches on smokers in the USA, EU and Ukraine. After closing the simulation window, users can inspect 4 different plots showing the amount of smokers in different age categories during the period of simulation.
The main engine of the project is finite state machine algorithms that run the logical part of the application. All the visuals are provided with Python libraries Matplotlib and Seaborn.
Visuals
The simulation process looks like this:
When the simulation is over, you can watch statistics plots representing data collected during simulation
Usage
To run the application, clone this repository locally and run the main module:
python3 main.py
Support
In case you need some help, feel free to visit an issue tracker, a chat room, or connect us via email address.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Authors and acknowledgment
The project was developed by:
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for smoking_simulation-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21a8a67d8dfd988173d52c6b2d16bf4d899bd6bcb83eefdc644741608554ec84 |
|
MD5 | 325a51112d978477b992def427715bf1 |
|
BLAKE2b-256 | d57b621414f8b83804c545aac82588d1fc01f0da54c6e7ede825928d8777350a |