Skip to content
/ EDBM Public

A Rust DBM Library for the verification engines of ECDAR

License

Notifications You must be signed in to change notification settings

Ecdar/EDBM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecdar DBM Library

EDBM is a DBM (Difference bounds matrix) library for Rust. It is designed for the verification engines of ECDAR (Environment for Compositional Design and Analysis of Real Time Systems).

EDBM is based on the main features from UDBM with some key differences:

  • Rust memory and thread safety guarantees
  • Concurrent operations on DBMs and Federations by making the shared memory model optional
  • Type state usage protocol to ensure that DBMs are valid (non-empty and closed/in canonical form) when necessary and disallowing unnecessary close operations.

Using EDBM

EDBM is (soon) available on crates.io. The recommended way to use it is to add a dependency to your Cargo.toml:

[dependencies]
edbm = ...

Performance Optimization

To improve the performance of debug builds using EDBM one may add the following to Cargo.toml.

# Enable optimizations for EDBM in debug mode, but not for our code:
[profile.dev.package.edbm]
opt-level = 3

Do not build EDBM with the expensive_asserts feature enabled unless it is necessary for debugging internal EDBM consistency errors, it has a huge performance impact.

License

EDBM is a derivative work of UDBM from the UPPAAL organization. This requires the project to be GNU General Public License v3.0. Source code directly based on UDBM code is marked with comments.

About

A Rust DBM Library for the verification engines of ECDAR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages