8000 GitHub - yanntm/RdPZ3: Experimental project playing with Z3 and Petri nets in python.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yanntm/RdPZ3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RdPZ3

Experimental project playing with Z3 and Petri nets in python.

pip install z3-solver
# build some examples as pnml
for i in net1 net2 net3 ;  do python -m tests.build_nets $i examples/${i}_exported.pnml ; done
# export pnml to dot for debugging
for i in examples/*.pnml ; do python -m rdpz3.main -pnml $i -d ; done
# look at dot models
cd examples ; for i in *.dot ; do dot -Tpdf $i -o $i.pdf ; done ; cd ..
# open the pdf
evince examples/*.dot.pdf
# check property
for i in examples/*.pnml ; do python -m rdpz3.main -pnml $i -prop "prop.place[1] == 1"; done

About

Experimental project playing with Z3 and Petri nets in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0