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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file malbrid-0.0.7.tar.gz.
File metadata
- Download URL: malbrid-0.0.7.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3df6cc33e2d7ef04e64edb69fb987a28f35d3dea092da50b6baf545105174274
|
|
| MD5 |
09769f6368ad909f1b52d083e738e099
|
|
| BLAKE2b-256 |
b0406327c93a3dedc409b5b22dc478b79ec8e13924a57abfe558927505f0dfb9
|
File details
Details for the file malbrid-0.0.7-py3-none-any.whl.
File metadata
- Download URL: malbrid-0.0.7-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c93853b8f577a1bd320343374e19d1da2d0154de04735428d35115592df2980
|
|
| MD5 |
88cdc0724ff474fd7b23e49ccf6ad366
|
|
| BLAKE2b-256 |
9f4dc5721784d9b6fa9a75c1079127737df076961a52e53a9398af5c92cbfc88
|