21#include <spot/twa/twagraph.hh>
22#include <spot/twaalgos/game.hh>
23#include <spot/twaalgos/relabel.hh>
57 SPOT_API twa_graph_ptr
59 const bdd& output_bdd,
bool complete_env =
true);
64 SPOT_API twa_graph_ptr
65 split_2step(
const const_twa_graph_ptr& aut,
bool complete_env =
true);
75 SPOT_API twa_graph_ptr
94 double total_time = 0.0;
95 double trans_time = 0.0;
96 double split_time = 0.0;
97 double paritize_time = 0.0;
98 double solve_time = 0.0;
99 double strat2aut_time = 0.0;
100 double simplify_strat_time = 0.0;
101 double aig_time = 0.0;
102 unsigned nb_states_arena = 0;
103 unsigned nb_states_arena_env = 0;
104 unsigned nb_strat_states = 0;
105 unsigned nb_strat_edges = 0;
106 unsigned nb_simpl_strat_states = 0;
107 unsigned nb_simpl_strat_edges = 0;
108 unsigned nb_latches = 0;
109 unsigned nb_gates = 0;
110 bool realizable =
false;
114 : force_sbacc{false},
118 verbose_stream{nullptr},
119 dict(make_bdd_dict())
126 std::optional<bench_var> bv;
127 std::ostream* verbose_stream;
134 SPOT_API std::ostream&
135 operator<<(std::ostream& os, synthesis_info::algo s);
139 SPOT_API std::ostream &
154 SPOT_API twa_graph_ptr
156 const std::vector<std::string>& all_outs,
158 SPOT_API twa_graph_ptr
160 const std::vector<std::string>& all_outs);
161 SPOT_API twa_graph_ptr
163 const std::vector<std::string>& all_outs,
165 SPOT_API twa_graph_ptr
167 const std::vector<std::string>& all_outs);
178 SPOT_API twa_graph_ptr
180 SPOT_API twa_graph_ptr
182 SPOT_API twa_graph_ptr
184 SPOT_API twa_graph_ptr
186 SPOT_API twa_graph_ptr
188 SPOT_API twa_graph_ptr
197 enum class realizability_code
206 realizability_code success;
224 SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>>
227 SPOT_API std::pair<std::vector<formula>, std::vector<std::set<formula>>>
229 const std::vector<std::string>& outs);
248 const std::vector<std::string>& output_aps,
261 relabeling_map env_map;
262 relabeling_map player_map;
281 bool split_env =
false,
282 bool split_play =
false,
283 unsigned max_letter = -1u,
284 unsigned max_letter_mult = -1u);
Manage a map of options.
Definition: optionmap.hh:34
bool solve_game(const twa_graph_ptr &arena)
Generic interface for game solving.
twa_graph_ptr solved_game_to_split_mealy(twa_graph_ptr arena, synthesis_info &gi)
creates a mealy machine from a solved game arena taking into account the options given in gi....
twa_graph_ptr split_2step(const const_twa_graph_ptr &aut, const bdd &output_bdd, bool complete_env=true)
make each transition a 2-step transition, transforming the graph into an alternating arena
twa_graph_ptr solved_game_to_separated_mealy(twa_graph_ptr arena, synthesis_info &gi)
creates a mealy machine from a solved game arena taking into account the options given in gi....
std::pair< std::vector< formula >, std::vector< std::set< formula > > > split_independent_formulas(formula f, const std::vector< std::string > &outs)
Seeks to decompose a formula into independently synthetizable sub-parts. The conjunction of all sub-p...
twa_graph_ptr unsplit_2step(const const_twa_graph_ptr &aut)
the inverse of split_2step
game_relabeling_map partitioned_game_relabel_here(twa_graph_ptr &arena, bool relabel_env, bool relabel_play, bool split_env=false, bool split_play=false, unsigned max_letter=-1u, unsigned max_letter_mult=-1u)
Tries to relabel a SPLIT game arena using fresh propositions. Can be applied to env or player dependi...
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.
mealy_like try_create_direct_strategy(formula f, const std::vector< std::string > &output_aps, synthesis_info &gi, bool want_strategy=false)
Creates a strategy for the formula given by calling all intermediate steps.
twa_graph_ptr solved_game_to_mealy(twa_graph_ptr arena, synthesis_info &gi)
creates a mealy machine from a solved game arena taking into account the options given in gi....
void relabel_game_here(twa_graph_ptr &arena, game_relabeling_map &rel_maps)
Undoes a relabeling done by partitioned_game_relabel_here. A dedicated function is necessary in order...
Definition: automata.hh:26
Definition: synthesis.hh:260
A struct that represents different types of mealy like objects.
Definition: synthesis.hh:196
Definition: synthesis.hh:93
Benchmarking data and options for synthesis.
Definition: synthesis.hh:81