Skip to main content

A Linear Hybrid System/Automaton Verification Library for Python

Project description

The Malbrid library is a Python library for simulating linear hybrid systems modelled as linear linear hybrid automata.

While no full documentation is yet available, the example Jupyter notebooks show how to model automata and how to simulate them.

Table of contents

Installation

While the library is not available to be installed via PyPI, it can be installed by checking out the repository and running:

pip install -e .

Getting started

Have a look at the examples in the “examples” directory which run with Jupyter Notebook. They describe a bouncing ball example as well as a ball-with-a-paddle example. The latter also shows how to construct the product of two linear hybrid automata on-the-fly.

Notes on Soundness

This examples of the library contains a couple of checks that test if numerical imprecision during the simulation can cause the wrong discrete transitions to be taken. In such a case, an exception is thrown, and the library contains an exception class so that the respective exception can be caught in your own program.

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

malbrid-0.0.11.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

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

malbrid-0.0.11-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file malbrid-0.0.11.tar.gz.

File metadata

  • Download URL: malbrid-0.0.11.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for malbrid-0.0.11.tar.gz
Algorithm Hash digest
SHA256 95ae9dfa33440019daf0c6002384dbd484c347332167a53c9e0d8f6adbdc6e9f
MD5 6576d3689a304108e170a99bf92671ff
BLAKE2b-256 bf305b42e1857e2523b4057ac6a0ad1843a93436abaacaeb7e6fd7e6b9fdeed0

See more details on using hashes here.

File details

Details for the file malbrid-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: malbrid-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for malbrid-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 d6efbdda744564d31ffe6ce3fc8fee43fa7d6beef4ff4b8a9fc56746ee99ee2c
MD5 057636240dacb07d55bafc7de143f0c0
BLAKE2b-256 220510fb610ef16ad793fd09d777ccfd8c26b5dde50f8f74f3711c6f7af83a6a

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