Smoking Simulation is an app to simulate the spreading of smokers and non-smokers, their interactions and population during certain amount of time.
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 number 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.
The simulation process looks like this:
When the simulation is over, you can watch statistic plots representing data collected during the simulation
To run the application, clone this repository locally and run the main module:
python3 main.py
In case you need some help, feel free to visit an issue tracker, a chat room, or connect us via email address.
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.
The project was developed by: