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
Metadata
Release files for cafeteria-simulation 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cafeteria-simulation-1.0.2.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cafeteria_simulation-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / cafeteria-simulation-1.0.2.tar.gz
| Download URL | cafeteria-simulation-1.0.2.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17d081a49bfaf4228e8cab18c24d3778ed141116c607672680fdd7434b2cb65d
|
|
BLAKE2b-256 checksum How to use checksums |
752d8706b32c256910f879bb360226a47cc0968c4069664311a7482ecfb70dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / cafeteria_simulation-1.0.2-py3-none-any.whl
| Download URL | cafeteria_simulation-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34e3e23e1554fb19ffca234f3bed7bc4b9add90bbb7ff51502559b3ca1bf5459
|
|
BLAKE2b-256 checksum How to use checksums |
35b7a18284d7e16576d8b857354dfb7ca22d6695dd7a85b91a76ffaeaaf99d51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|