postproc: add a "simul" option to select the simulation algorithm

* src/tgbaalgos/postproc.hh, src/tgbaalgos/postproc.cc: Honor the
"simul" option in the option_map.
(do_simul, do_degen): New method to wrap the algorithms that may be
altered via option_map.
* src/bin/man/ltl2tgba.x (simul): Document this option.
This commit is contained in:
Alexandre Duret-Lutz 2013-02-12 17:24:24 +01:00
parent c46891edc7
commit 5796114e37
3 changed files with 66 additions and 35 deletions

View file

@ -90,13 +90,17 @@ namespace spot
const tgba* run(const tgba* input_disown, const ltl::formula* f);
private:
const tgba* do_simul(const tgba* input);
const tgba* do_degen(const tgba* input);
output_type type_;
output_pref pref_;
optimization_level level_;
// Fine-tuning degeneralization options.
bool degen_reset;
bool degen_order;
bool degen_cache;
// Fine-tuning options fetched from the option_map.
bool degen_reset_;
bool degen_order_;
bool degen_cache_;
int simul_;
};
/// @}
}