cafeteria-simulation-1.0.2
توضیحات
Python package for cafe simulation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cafeteria-simulation-1.0.2 |
| نام | cafeteria-simulation |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ryusei Ito |
| ایمیل نویسنده | 31807@toyota.kosen-ac.jp |
| آدرس صفحه اصلی | https://github.com/m-star18/cafeteria-simulation |
| آدرس اینترنتی | https://pypi.org/project/cafeteria-simulation/ |
| مجوز | Apache Software License 2.0 |
# cafeteria-simulation
Python package for cafeteria simulation

[](https://github.com/m-star18/cafeteria-simulation/issues)
[](https://github.com/m-star18/cafeteria-simulation/)
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install cafeteria-simulation.
```bash
pip install cafeteria-simulation
```
## Usage
The easiest simulation to perform
```python
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
- [greedy.py](https://github.com/m-star18/cafeteria-simulation/blob/master/sample/greedy.py)
- [basic.py](https://github.com/m-star18/cafeteria-simulation/blob/master/sample/basic.py)
- [_random.py](https://github.com/m-star18/cafeteria-simulation/blob/master/sample/_random.py)
- [puzzle.py](https://github.com/m-star18/cafeteria-simulation/blob/master/sample/puzzle.py)
## 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
- [m-star18](https://github.com/m-star18)
## License
[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
نیازمندی
| مقدار | نام |
|---|---|
| ~=50.3.0 | setuptools |
| ~=3.3.2 | matplotlib |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6, <3.9 | Python |
نحوه نصب
نصب پکیج whl cafeteria-simulation-1.0.2:
pip install cafeteria-simulation-1.0.2.whl
نصب پکیج tar.gz cafeteria-simulation-1.0.2:
pip install cafeteria-simulation-1.0.2.tar.gz