spot 2.13
|
Simplify a reactive specification, preserving realizability. More...
#include <spot/tl/apcollect.hh>
Public Types | |
enum | realizability_simplifier_option { polarity = 1 , global_equiv = 2 , global_equiv_output_only = 6 } |
typedef std::vector< std::tuple< formula, bool, formula > > | mapping_t |
Public Member Functions | |
realizability_simplifier (formula f, const std::vector< std::string > &inputs, unsigned options=polarity|global_equiv, std::ostream *verbose=nullptr) | |
formula | simplified_formula () const |
Return the simplified formula. More... | |
const std::vector< std::tuple< formula, bool, formula > > & | get_mapping () const |
Returns a vector of (from,from_is_input,to) More... | |
void | merge_mapping (const realizability_simplifier &other) |
Augment the current mapping with output variable renaming from another realizability_simplifier. More... | |
void | patch_mealy (twa_graph_ptr mealy) const |
Patch a Mealy machine to add the missing APs. More... | |
void | patch_game (twa_graph_ptr mealy) const |
Patch a game to add the missing APs. More... | |
std::pair< formula, mapping_t > | simplify (formula f) |
Simplify a formula, returning a mapping. More... | |
Protected Attributes | |
data * | data_ |
Simplify a reactive specification, preserving realizability.
|
inline |
Returns a vector of (from,from_is_input,to)
void spot::realizability_simplifier::merge_mapping | ( | const realizability_simplifier & | other | ) |
Augment the current mapping with output variable renaming from another realizability_simplifier.
void spot::realizability_simplifier::patch_game | ( | twa_graph_ptr | mealy | ) | const |
Patch a game to add the missing APs.
void spot::realizability_simplifier::patch_mealy | ( | twa_graph_ptr | mealy | ) | const |
Patch a Mealy machine to add the missing APs.
|
inline |
Return the simplified formula.
|
inherited |
Simplify a formula, returning a mapping.