Metadata-Version: 2.1
Name: cafeteria-simulation
Version: 0.0.3
Summary: Python package for cafe simulation
Home-page: https://github.com/m-star18/cafeteria-simulation
Author: Ryusei Ito
Author-email: 31807@toyota.kosen-ac.jp
License: Apache Software License 2.0
Platform: UNKNOWN
Requires-Python: >=3.6, <3.9
Description-Content-Type: text/markdown
Requires-Dist: setuptools (~=50.3.0)
Requires-Dist: matplotlib (~=3.3.2)

# cafeteria-simulation

Python package for cafeteria simulation

![Python package](https://github.com/m-star18/cafeteria-simulation/workflows/Python%20package/badge.svg)
[![Github issues](https://img.shields.io/github/issues/m-star18/cafeteria-simulation)](https://github.com/m-star18/cafeteria-simulation/issues)
[![Github license](https://img.shields.io/github/license/m-star18/cafeteria-simulation)](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 = 100

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)

## 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)


