Skip to main content

A Python package to apply probabilistic logic programming to navigation tasks.

Project description

Probabilistic Mission Design

This repository implements Probabilistic Mission Design (ProMis). ProMis enables users to formalize their knowledge of local rules, such as traffic regulations, to constrain an agent's actions and movements. To achieve this, we employ probabilistic first-order logic, a mathematical framework that combines formal reasoning with probabilistic inference. This provides a weighted belief whether the encoded rules are satisfied for a state or action.

Using ProMis, we pave the way towards Constitutional Agents. Such agents can give reasons for their actions and act in a principled fashion even under uncertainty. To this end, ProMis provides high-level, easy-to-understand, and adaptable control over the navigation process, for example, to seamlessly integrate local laws, operator requirements, and environmental uncertainties into logical and spatial constraints.

Using ProMis, scalar fields of the probability of adhering to the agent's constitution are obtained across its state space. These can then be utilized for tasks such as path planning, automated clearance granting, explaining the impact of, and optimizing mission parameters. For instance, the following shows ProMis being applied in a diverse set of scenarios, with a high probability of satisfying all flight restrictions being shown in blue, a low probability being shown in red, and unsuitable spaces being transparent.

Usage

To install ProMis, please follow the instructions here. For an in-depth walkthrough on applying ProMis in your own applications, you can check our usage guide. An interactive version of the usage guide is also available.

Cite

Please consult and cite the following publications for an in-depth discussion of the methods implemented in this repository.

For specific use cases, please cite the following works as well.

Documentation

ProMis' documentation is available online. It can also be built locally with the following commands.

git clone 
pip install ".[doc]"

mkdir -p doc/source/notebooks
cp examples/*.ipynb doc/source/notebooks
sphinx-build -b html doc/source _build/html

To view the documentation, open the file ProMis/doc/build/html/index.html using the browser of your choice.

Contributing

This project is set up to be checked and formatted with ruff check and ruff format. Use pytest to run automated tests.

License

Copyright (c) 2023 Simon Kohaut, Honda Research Institute Europe GmbH, Felix Divo, and contributors. See LICENSE.md for details.

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

promis-3.0.0.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

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

promis-3.0.0-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file promis-3.0.0.tar.gz.

File metadata

  • Download URL: promis-3.0.0.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for promis-3.0.0.tar.gz
Algorithm Hash digest
SHA256 45013398da8c5acc698644483aace1ad6c942d12f7ad3c243654a1e9a2b5ec67
MD5 401ce7df42eae5658a1002cffd260506
BLAKE2b-256 462ee2c7c474fa0d6bc389644fe85ab8edb46a6907c4c174dfdcfd917ce17593

See more details on using hashes here.

Provenance

The following attestation bundles were made for promis-3.0.0.tar.gz:

Publisher: python-publish.yml on HRI-EU/ProMis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file promis-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: promis-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for promis-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b0637525eb1e8dfe575bd442d677f25ab582cccf925b9be416ad28f7472524f
MD5 1b6525bec06e4f5dcb9f3ec6c5cba35e
BLAKE2b-256 73f2370a339a608e36118a6ef21e0b10257315044251f019e050fcdda870a41e

See more details on using hashes here.

Provenance

The following attestation bundles were made for promis-3.0.0-py3-none-any.whl:

Publisher: python-publish.yml on HRI-EU/ProMis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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