PyPI project page suggest the following example usage:
from ltlf2dfa.parser.pltlf import PLTLfParser
parser = PLTLfParser()
formula_str = "H(a -> Y b)"
formula = parser(formula_str) # returns a PLTLfFormula
print(formula)
followed by
dfa = formula.to_dfa()
print(dfa)
The first part behaves as described but generating the DFA fails with
Could not find the value .*DFA for formula with free variables:[\s]*(.*?)\n.*, in the text provided
Could not find the value .*Accepting states:[\s]*(.*?)\n.*, in the text provided
PyPI project page suggest the following example usage:
followed by
The first part behaves as described but generating the DFA fails with
the output of
print(dfa)
is an empty graph