Implement tba_determinize_check(), following Dax et al. (ATVA'07).
* src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh (tba_determinize_check): New function. * src/tgbatest/ltl2tgba.cc (-O): Use it.
This commit is contained in:
parent
bd2e78c1ed
commit
4ac6468bfc
3 changed files with 103 additions and 1 deletions
|
|
@ -1440,7 +1440,7 @@ main(int argc, char** argv)
|
|||
|
||||
spot::tgba* determinized = 0;
|
||||
if (opt_determinize && a->number_of_acceptance_conditions() <= 1
|
||||
&& f->is_syntactic_recurrence())
|
||||
&& (!f || f->is_syntactic_recurrence()))
|
||||
{
|
||||
tm.start("determinization");
|
||||
a = determinized = tba_determinize(a);
|
||||
|
|
@ -1702,6 +1702,12 @@ main(int argc, char** argv)
|
|||
if (minimized == 0)
|
||||
{
|
||||
std::cout << "this is not an obligation property";
|
||||
const spot::tgba* tmp = tba_determinize_check(a, f);
|
||||
if (tmp != 0 && tmp != a)
|
||||
{
|
||||
std::cout << ", but it is a recurrence property";
|
||||
delete tmp;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue