22 #include <spot/twa/twagraph.hh>
23 #include <spot/twaalgos/game.hh>
57 SPOT_API twa_graph_ptr
59 const bdd& output_bdd,
bool complete_env);
69 SPOT_API twa_graph_ptr
87 double total_time = 0.0;
88 double trans_time = 0.0;
89 double split_time = 0.0;
90 double paritize_time = 0.0;
91 double solve_time = 0.0;
92 double strat2aut_time = 0.0;
93 double aig_time = 0.0;
94 unsigned nb_states_arena = 0;
95 unsigned nb_states_arena_env = 0;
96 unsigned nb_strat_states = 0;
97 unsigned nb_strat_edges = 0;
98 unsigned nb_latches = 0;
99 unsigned nb_gates = 0;
100 bool realizable =
false;
104 : force_sbacc{false},
108 verbose_stream{nullptr},
109 dict(make_bdd_dict())
116 std::optional<bench_var> bv;
117 std::ostream* verbose_stream;
124 SPOT_API std::ostream&
125 operator<<(std::ostream& os, synthesis_info::algo s);
129 SPOT_API std::ostream &
144 SPOT_API twa_graph_ptr
146 const std::vector<std::string>& all_outs,
148 SPOT_API twa_graph_ptr
150 const std::vector<std::string>& all_outs);
151 SPOT_API twa_graph_ptr
153 const std::vector<std::string>& all_outs,
155 SPOT_API twa_graph_ptr
157 const std::vector<std::string>& all_outs);
166 SPOT_API twa_graph_ptr
168 SPOT_API twa_graph_ptr
178 enum class realizability_code
187 realizability_code success;
205 SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>>
208 SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>>
210 const std::vector<std::string>& outs);
227 const std::vector<std::string>& output_aps,
Manage a map of options.
Definition: optionmap.hh:38
bool solve_game(const twa_graph_ptr &arena)
Generic interface for game solving.
twa_graph_ptr solved_game_to_separated_mealy(twa_graph_ptr arena, synthesis_info &gi)
creates a separated mealy machine from a solved game taking into account the options given in gi....
twa_graph_ptr unsplit_2step(const const_twa_graph_ptr &aut)
the inverse of split_2step
twa_graph_ptr ltl_to_game(const formula &f, const std::vector< std::string > &all_outs, synthesis_info &gi)
Creates a game from a specification and a set of output propositions.
std::pair< std::vector< formula >, std::vector< std::set< formula > > > split_independant_formulas(formula f, const std::vector< std::string > &outs)
Seeks to decompose a formula into independently synthesizable sub-parts. The conjunction of all sub-p...
twa_graph_ptr split_2step(const const_twa_graph_ptr &aut, const bdd &output_bdd, bool complete_env)
make each transition a 2-step transition, transforming the graph into an alternating arena
mealy_like try_create_direct_strategy(formula f, const std::vector< std::string > &output_aps, synthesis_info &gi)
Creates a strategy for the formula given by calling all intermediate steps.
Definition: automata.hh:27
A struct that represents different types of mealy like objects.
Definition: synthesis.hh:177
Definition: synthesis.hh:86
Benchmarking data and options for synthesis.
Definition: synthesis.hh:75