reduce_parity: expose the internal vectors of colors

* spot/twaalgos/parity.cc, spot/twaalgos/parity.hh: Add a
reduce_parity_data class for access to the vectors of colors
computed by reduce_parity.
* python/spot/impl.i: Add bindings for std::vector<int>.
This commit is contained in:
Alexandre Duret-Lutz 2022-10-14 17:55:36 +02:00
parent b0c299b9e9
commit 67722db78f
3 changed files with 64 additions and 35 deletions

View file

@ -520,6 +520,7 @@ namespace std {
%template(vectorbdd) vector<bdd>;
%template(aliasvector) vector<pair<string, bdd>>;
%template(vectorstring) vector<string>;
%template(vectorint) vector<int>;
%template(pair_formula_vectorstring) pair<spot::formula, vector<string>>;
%template(atomic_prop_set) set<spot::formula>;
%template(relabeling_map) map<spot::formula, spot::formula>;