21#include <spot/twa/twagraph.hh>
81 ParityMin = Parity | 8,
82 ParityMax = Parity | 16,
83 ParityOdd = Parity | 32,
84 ParityEven = Parity | 64,
85 ParityMinOdd = ParityMin | ParityOdd,
86 ParityMaxOdd = ParityMax | ParityOdd,
87 ParityMinEven = ParityMin | ParityEven,
88 ParityMaxEven = ParityMax | ParityEven,
153 typedef int output_pref;
201 enum optimization_level { Low, Medium, High };
229 twa_graph_ptr do_simul(
const twa_graph_ptr& input,
int opt)
const;
230 twa_graph_ptr do_sba_simul(
const twa_graph_ptr& input,
int opt)
const;
231 twa_graph_ptr choose_degen(
const twa_graph_ptr& input)
const;
232 twa_graph_ptr do_degen(
const twa_graph_ptr& input)
const;
233 twa_graph_ptr do_degen_tba(
const twa_graph_ptr& input)
const;
234 twa_graph_ptr do_scc_filter(
const twa_graph_ptr& a,
bool arg)
const;
235 twa_graph_ptr do_scc_filter(
const twa_graph_ptr& a)
const;
236 twa_graph_ptr finalize(twa_graph_ptr tmp)
const;
238 output_type type_ = TGBA;
240 optimization_level level_ = High;
242 bool degen_reset_ =
true;
243 bool degen_order_ =
false;
244 int degen_cache_ = 1;
245 bool degen_lskip_ =
true;
246 bool degen_lowinit_ =
false;
247 bool degen_remscc_ =
true;
248 bool det_scc_ =
true;
250 bool det_stutter_ =
true;
251 int det_max_states_ = -1;
252 int det_max_edges_ = -1;
254 int simul_method_ = -1;
255 int simul_trans_pruning_ = 512;
258 int scc_filter_ = -1;
260 bool tba_determinisation_ =
false;
261 int sat_minimize_ = 0;
262 int sat_incr_steps_ = 0;
263 bool sat_langmap_ =
false;
266 int gen_reduce_parity_ = 1;
267 bool state_based_ =
false;
268 int wdba_minimize_ = -1;
269 int simul_max_ = 4096;
270 int merge_states_min_ = 128;
271 int wdba_det_max_ = 4096;
Manage a map of options.
Definition: optionmap.hh:34
Wrap TGBA/BA/Monitor post-processing algorithms in an easy interface.
Definition: postproc.hh:66
void set_pref(output_pref pref)
Select the desired characteristics of the output automaton.
Definition: postproc.hh:196
postprocessor(const option_map *opt=nullptr)
Construct a postprocessor.
void set_level(optimization_level level)
Set the optimization level.
Definition: postproc.hh:217
twa_graph_ptr run(twa_graph_ptr input, formula f=nullptr)
Optimize an automaton.
void set_type(output_type type)
Select the desired output type.
Definition: postproc.hh:138
Definition: automata.hh:26