word: implement twa word parsing

* spot/twaalgos/word.hh: add parse_word method and a new constructor
* spot/twaalgos/word.cc: implement word parsing
* python/spot/__init__.py: add parse_word method binding
* tests/python/word.ipynb: add word parsing tests
This commit is contained in:
Amaury Fauchille 2016-02-02 19:07:42 +01:00 committed by Alexandre Duret-Lutz
parent 61b1f200b6
commit 1fd76ee918
4 changed files with 393 additions and 7 deletions

View file

@ -860,3 +860,7 @@ def sat_minimize(aut, acc=None, colored=False,
args += ',dichotomy';
from spot.impl import sat_minimize as sm
return sm(aut, args, state_based)
def parse_word(word, dic=_bdd_dict):
from spot.impl import parse_word as pw
return pw(word, dic)