25#include <spot/twa/fwd.hh>
75 std::vector<std::vector<spot::formula>>
90 global_equiv_output_only = 6,
94 const std::vector<std::string>& inputs,
95 unsigned options = polarity | global_equiv,
96 std::ostream* verbose =
nullptr);
105 const std::vector<std::tuple<formula, bool, formula>>&
get_mapping()
const
121 void add_to_mapping(
formula from,
bool from_is_input,
formula to);
122 std::vector<std::tuple<formula, bool, formula>> mapping_;
124 bool global_equiv_output_only_;
Simplify a reactive specification, preserving realizability.
Definition: apcollect.hh:82
formula simplified_formula() const
Return the simplified formula.
Definition: apcollect.hh:99
void merge_mapping(const realizability_simplifier &other)
Augment the current mapping with output variable renaming from another realizability_simplifier.
void patch_mealy(twa_graph_ptr mealy) const
Patch a Mealy machine to add the missing APs.
const std::vector< std::tuple< formula, bool, formula > > & get_mapping() const
Returns a vector of (from,from_is_input,to)
Definition: apcollect.hh:105
void patch_game(twa_graph_ptr mealy) const
Patch a game to add the missing APs.
realizability_simplifier_option
Definition: apcollect.hh:84
atomic_prop_set create_atomic_prop_set(unsigned n)
construct an atomic_prop_set with n propositions
bdd atomic_prop_collect_as_bdd(formula f, const twa_ptr &a)
Return the set of atomic propositions occurring in a formula, as a BDD.
atomic_prop_set * atomic_prop_collect(formula f, atomic_prop_set *s=nullptr)
Return the set of atomic propositions occurring in a formula.
atomic_prop_set collect_literals(formula f)
Collect the literals occurring in f.
std::set< formula > atomic_prop_set
Set of atomic propositions.
Definition: apcollect.hh:33
std::vector< std::vector< spot::formula > > collect_equivalent_literals(formula f)
Collect equivalent APs.
Definition: automata.hh:26