Skip to main content

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.

Source Distribution

cafeteria-simulation-1.0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

cafeteria_simulation-1.0.1-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page