acc: introduce fin_one_extract()
* spot/twa/acc.cc, spot/twa/acc.hh (acc_cond::fin_one_extract, acc_code::acc_cond::fin_one_extract): New methods. * python/spot/impl.i: Add support for the return type. * tests/python/acc_cond.ipynb: Test them.
This commit is contained in:
parent
2d1cb0ddcd
commit
7fedb3dc61
4 changed files with 246 additions and 16 deletions
|
|
@ -468,6 +468,8 @@ namespace std {
|
|||
%template(liststr) list<std::string>;
|
||||
%template(pairunsigned) pair<unsigned, unsigned>;
|
||||
%template(pairmark_t) pair<spot::acc_cond::mark_t, spot::acc_cond::mark_t>;
|
||||
%template(pairintacccode) pair<int, spot::acc_cond::acc_code>;
|
||||
%template(pairintacccond) pair<int, spot::acc_cond>;
|
||||
%template(vectorformula) vector<spot::formula>;
|
||||
%template(vectorunsigned) vector<unsigned>;
|
||||
%template(vectorpairunsigned) vector<pair<unsigned, unsigned>>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue