add binding for language_containment_checker and document them
* spot/tl/contain.cc, spot/tl/contain.hh: Simplify the use of language_containment_checker by adding default argument. * python/spot/__init__.py, python/spot/impl.i: Bind it in Python. * doc/org/tut04.org: New file to illustrate it. * doc/org/tut.org, doc/Makefile.am: Add it. * NEWS: Mention those changes.
This commit is contained in:
parent
69cea65b35
commit
b408827110
8 changed files with 122 additions and 8 deletions
|
|
@ -874,3 +874,7 @@ def sat_minimize(aut, acc=None, colored=False,
|
|||
def parse_word(word, dic=_bdd_dict):
|
||||
from spot.impl import parse_word as pw
|
||||
return pw(word, dic)
|
||||
|
||||
def language_containment_checker(dic=_bdd_dict):
|
||||
from spot.impl import language_containment_checker as c
|
||||
return c(dic)
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@
|
|||
#include <spot/twa/bdddict.hh>
|
||||
|
||||
#include <spot/tl/apcollect.hh>
|
||||
#include <spot/tl/contain.hh>
|
||||
#include <spot/tl/dot.hh>
|
||||
#include <spot/tl/nenoform.hh>
|
||||
#include <spot/tl/print.hh>
|
||||
|
|
@ -374,6 +375,7 @@ namespace std {
|
|||
%include <spot/twa/twa.hh>
|
||||
|
||||
%include <spot/tl/apcollect.hh>
|
||||
%include <spot/tl/contain.hh>
|
||||
%include <spot/tl/dot.hh>
|
||||
%include <spot/tl/nenoform.hh>
|
||||
%include <spot/tl/print.hh>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue