In [1]:
from IPython.display import display
import spot
spot.setup()
In [2]:
for a in spot.automata('ltl2tgba -s "a U b"; ltl2tgba --lbtt "b"|', 'ltl2tgba -H "GFa" "a & GFb"|'):
display(a)
A single automaton can be read using spot.automaton()
, with the same convention.
In [3]:
spot.automaton('ltl2tgba -s6 "a U b"|')
Out[3]:
In [4]:
spot.automaton('non-existing-command|')
In [5]:
for a in spot.automata("ltl2tgba 'a U b'|", 'ltl2tgba "syntax U U error"|'):
display(a)
Reading an empty file with spot.automaton()
is an error.
In [6]:
spot.automaton('true|')
In [ ]: