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.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cafeteria_simulation-1.0.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file cafeteria-simulation-1.0.0.tar.gz.

File metadata

  • Download URL: cafeteria-simulation-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for cafeteria-simulation-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bb545953aaa1e45ef2944eab835da356af2b69c1365fb348539ab75876a0c514
MD5 beada05fa1a2463ad6401506cbb3cbb2
BLAKE2b-256 b58c07e43d57b367b511ba8dddc7fc5053341709fa93b34c27232fa6de0d0909

See more details on using hashes here.

File details

Details for the file cafeteria_simulation-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cafeteria_simulation-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for cafeteria_simulation-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 851b8d6670fc565915228214f8057674e75f33ec88278c6c0c39d1dacdc80a7e
MD5 a8a83f96dd529f71a317591c519d1a32
BLAKE2b-256 7b7c417055eaa8410254b4c00bee87510069a7cbbb36a4016a6a7852017dd020

See more details on using hashes here.

Supported by

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