24 #include <unordered_map> 25 #include <spot/misc/common.hh> 26 #include <spot/twacube/cube.hh> 27 #include <spot/twacube/twacube.hh> 28 #include <spot/twa/twagraph.hh> 36 std::unordered_map<int, int>& binder);
41 std::unordered_map<int, int>& reverse_binder);
45 SPOT_API std::vector<std::string>*
47 std::unordered_map<int, int>& ap_binder);
54 SPOT_API spot::twa_graph_ptr
spot::cube satone_to_cube(bdd one, cubeset &cubeset, std::unordered_map< int, int > &binder)
Transform one truth assignment represented as a BDD into a cube cube passed in parameter. The parameter binder map bdd indexes to cube indexes.
std::vector< std::string > * extract_aps(spot::const_twa_graph_ptr aut, std::unordered_map< int, int > &ap_binder)
Extract the atomic propositions from the automaton. This method also fill the binder, i.e. the mapping between BDD indexes to cube indexes.
twacube_ptr twa_to_twacube(spot::const_twa_graph_ptr aut)
Convert a twa into a twacube.
spot::twa_graph_ptr twacube_to_twa(spot::twacube_ptr twacube)
Convert a twacube into a twa.
unsigned * cube
A cube is only a set of bits in memory.
Definition: cube.hh:66
bdd cube_to_bdd(spot::cube cube, const cubeset &cubeset, std::unordered_map< int, int > &reverse_binder)
Transform a cube cube into bdd using the map that bind cube indexes to bdd indexes.