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.