tba_determinize: add a cycle_threshold

* src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh
(tba_determinize, tba_determinize_check): Add a cycle_threshold
argument.
* src/tgbaalgos/postproc.cc: Use it.
* src/tgbatest/ltl2tgba.cc: Adjust calls.
This commit is contained in:
Alexandre Duret-Lutz 2013-01-22 18:53:45 +01:00
parent 0117fc2c36
commit 63b7cdb6c8
4 changed files with 77 additions and 36 deletions

View file

@ -1451,7 +1451,7 @@ main(int argc, char** argv)
&& (!f || f->is_syntactic_recurrence()))
{
tm.start("determinization");
determinized = tba_determinize(a, opt_determinize_threshold);
determinized = tba_determinize(a, 0, opt_determinize_threshold);
tm.stop("determinization");
if (determinized)
a = determinized;
@ -1713,7 +1713,7 @@ main(int argc, char** argv)
{
std::cout << "this is not an obligation property";
const spot::tgba* tmp =
tba_determinize_check(a, opt_o_threshold, f, 0);
tba_determinize_check(a, 0, opt_o_threshold, f, 0);
if (tmp != 0 && tmp != a)
{
std::cout << ", but it is a recurrence property";