tgba: move boolean properties from tgba_digraph to tgba
* src/tgba/tgbagraph.hh: Remove the set_bprop/get_bprop interface. * src/tgba/tgba.cc, src/tgba/tgba.hh: Add a new interface for setting/querying/copying the following properties: single_acc_set, state_based_acc, inherently_weak, deterministic. * src/dstarparse/dra2ba.cc, src/dstarparse/nra2nba.cc, src/neverparse/neverclaimparse.yy, src/saba/sabacomplementtgba.cc, src/tgba/tgbagraph.cc, src/tgbaalgos/degen.cc, src/tgbaalgos/dotty.cc, src/tgbaalgos/isdet.cc, src/tgbaalgos/lbtt.cc, src/tgbaalgos/minimize.cc, src/tgbaalgos/neverclaim.cc, src/tgbaalgos/postproc.cc, src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc, src/tgbatest/degenlskip.test, src/tgbatest/ltl2tgba.cc: Adjust to the new interface, or use it to bypass some useless work.
This commit is contained in:
parent
e3b5119f25
commit
b43f75e917
19 changed files with 160 additions and 87 deletions
|
|
@ -57,10 +57,10 @@ digraph G {
|
|||
0 -> 1
|
||||
1 [label="0", peripheries=2]
|
||||
1 -> 2 [label="1\n{Acc[1]}"]
|
||||
2 [label="1"]
|
||||
2 [label="2"]
|
||||
2 -> 3 [label="b\n"]
|
||||
2 -> 2 [label="!b\n"]
|
||||
3 [label="2"]
|
||||
3 [label="1"]
|
||||
3 -> 1 [label="a\n"]
|
||||
3 -> 3 [label="!a\n"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1072,13 +1072,11 @@ checked_main(int argc, char** argv)
|
|||
{
|
||||
if (daut->type == spot::Rabin)
|
||||
{
|
||||
spot::tgba_digraph_ptr res;
|
||||
if (dra2dba)
|
||||
res = spot::dstar_to_tgba(daut);
|
||||
a = spot::dstar_to_tgba(daut);
|
||||
else
|
||||
res = spot::nra_to_nba(daut);
|
||||
a = res;
|
||||
assert(res->get_bprop(spot::tgba_digraph::SBA));
|
||||
a = spot::nra_to_nba(daut);
|
||||
assert(a->is_sba());
|
||||
assume_sba = true;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue