Python package for cafe simulation
Project description
cafeteria-simulation
Python package for cafeteria simulation
Installation
Use the package manager pip to install cafeteria-simulation.
pip install cafeteria-simulation
Usage
The easiest simulation to perform
from cafe import Cafeteria, TOYOTA
TIME = 300
env = Cafeteria(TOYOTA.data, TIME)
for _ in range(TIME):
env.run([])
# A graph showing the change in scores
env.show()
You can specify it by assigning the coordinates [table number, seat number] to run().
Also, you can refer to the number of people in group_member up to 10 groups.
Sample
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.
Contributors
License
Project details
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
Close
Hashes for cafeteria-simulation-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d081a49bfaf4228e8cab18c24d3778ed141116c607672680fdd7434b2cb65d |
|
MD5 | d32a1272afeed88ca485ad73217b4cc2 |
|
BLAKE2b-256 | 752d8706b32c256910f879bb360226a47cc0968c4069664311a7482ecfb70dc1 |
Close
Hashes for cafeteria_simulation-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34e3e23e1554fb19ffca234f3bed7bc4b9add90bbb7ff51502559b3ca1bf5459 |
|
MD5 | c201aa18fb8c3e133bb6cf08064ed4f0 |
|
BLAKE2b-256 | 35b7a18284d7e16576d8b857354dfb7ca22d6695dd7a85b91a76ffaeaaf99d51 |