Skip to main content

An implementation of efficient Shapley value calculation of routing problem

Project description

Shapley-Routing

Documentation can be found here.

Installation

:one: Install Poetry:

pip install poetry

If you encounter an error, try:

export PATH="/home/<user>/.local/bin:$PATH"

:two: Install dependencies:

poetry install

Testing

Run style check

poetry run flake8 .
poetry run black .

Running unit tests

poetry run pytest -v .

Running unit tests with coverage

poetry run coverage run -m pytest -v .
poetry run coverage report -m

Docs

Docs can be built using the following commands:

cd docs/
poetry run make html

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

shapleyrouting-0.1.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

shapleyrouting-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file shapleyrouting-0.1.0.tar.gz.

File metadata

  • Download URL: shapleyrouting-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.9 Darwin/21.3.0

File hashes

Hashes for shapleyrouting-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d94bf2359204049c8442bc8fb96e74f28c95961b25a0cd16e5755fc63a39aa7
MD5 83461e648f49defad4e3b43215337980
BLAKE2b-256 2f803809fb3bb728522a4f26ca213cdcc28fab50c504ac5ae7b1503b50cd6357

See more details on using hashes here.

File details

Details for the file shapleyrouting-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: shapleyrouting-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.9 Darwin/21.3.0

File hashes

Hashes for shapleyrouting-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9449311c95c698fc274315fe28ab744ef8873b8c7f8dc0097f82ffd19a9ba421
MD5 5b6f277b886a69ba9001292d53782bbf
BLAKE2b-256 c3c92a3a37e5253642608c100ec67244296db30305596b1c8e93b2c8848332bb

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