Skip to content

Python scripts to generate a set of labelled transition systems from the mCRL2 examples

License

Notifications You must be signed in to change notification settings

MERCorg/mCRL2-lts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains a collection of mCRL2 case studies along with scripts to generate their corresponding labeled transition systems (LTSs). The goal is to provide a diverse set of large LTSs for benchmarking and research purposes.

We use Docker to provide a reproducible environment for generating the LTSs, especially since the compiling rewriter is not avaiable on Windows. The Docker image can be built using the following command:

docker build . -t mcrl2-lts

Afterwards, we mount the cases and output directories into the container. This is done because the output is rather large, so we only want to store it on the host machine.

docker run -it --mount type=bind,source=./output/,target=/root/output --mount type=bind,source=./cases/,target=/root/cases mcrl2-lts

Inside the container, we can run the generation script as follows:

python3 /root/scripts/generate.py /root/mCRL2/build/stage/bin /root/cases/ /root/output/

This will produce the output LTSs in the output directory on the host machine, in compressed .aut.bz2 format to save space. Furthermore, a summary file summary.json will be created containing information about each generated LTS.

About

Python scripts to generate a set of labelled transition systems from the mCRL2 examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published