Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.34 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.34 KB

MC-DAU

Model Checking Dominance Act Utilitarianism

This code includes functions to allow for the model checking of automata with specifications in dominance act utilitarian deontic logic.

Finite weighted automata are defined as graphs of states and transition relations, given weights as edge properties, and prescribed actions via a dictionary of action names and edges. Automata can be model checked for obligations by defining an Obligation object that takes a LTL formula written in the nuXmv language to be converted into a CTL formula for the purposes of checking compliance along all paths.

Examples

The examples.py file includes methods for running examples of this project's capabilities. Make sure you change the path to the nuXmv executable at the start of the file.

Dependencies

This code entails the following dependencies: numpy, igraph, cvxpy, joblib, tqdm, pymdptoolbox.

This code also relies on the nuXmv model checker (https://es-static.fbk.eu/tools/nuxmv/).