Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Python package for cafe simulation

Project description

cafeteria-simulation

Python package for cafeteria simulation

Python package Github issues Github license

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

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cafeteria-simulation, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size cafeteria_simulation-1.0.2-py3-none-any.whl (10.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cafeteria-simulation-1.0.2.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page