Revamp tgbaexplicit.hh
* src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc: Factor most of the code in an explicit_graph<State, Type> that inherits from type. The tgba_explicit type<State> now inherits from explicit_graph<State,tgba>. * src/ltlvisit/contain.cc, src/neverparse/neverclaimparse.yy src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh, src/tgbaalgos/cutscc.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh, src/tgbaalgos/emptiness.cc, src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh, src/tgbaalgos/minimize.cc, src/tgbaalgos/powerset.cc, src/tgbaalgos/randomgraph.cc, src/tgbaalgos/sccfilter.cc, src/tgbaparse/tgbaparse.yy, src/tgbatest/complementation.cc, src/tgbatest/explicit.cc, src/tgbatest/explprod.cc, src/tgbatest/ltl2tgba.cc, src/tgbatest/mixprod.cc, src/tgbatest/powerset.cc, src/tgbatest/tgbaread.cc, src/tgbatest/tripprod.cc: Replace tgba_explicit* by the actual type used. * src/tgbatest/explicit2.cc: New file. * src/tgbatest/Makefile.am: Add it.
This commit is contained in:
parent
9e2b932fe6
commit
a15aac2845
27 changed files with 810 additions and 708 deletions
|
|
@ -198,7 +198,7 @@ namespace spot
|
|||
|
||||
void
|
||||
conj_bdd_to_acc(tgba_explicit_formula* a, bdd b,
|
||||
tgba_explicit::transition* t)
|
||||
state_explicit_formula::transition* t)
|
||||
{
|
||||
assert(b != bddfalse);
|
||||
while (b != bddtrue)
|
||||
|
|
@ -692,7 +692,7 @@ namespace spot
|
|||
}
|
||||
|
||||
|
||||
tgba_explicit*
|
||||
tgba_explicit_formula*
|
||||
ltl_to_tgba_fm(const formula* f, bdd_dict* dict,
|
||||
bool exprop, bool symb_merge, bool branching_postponement,
|
||||
bool fair_loop_approx, const atomic_prop_set* unobs,
|
||||
|
|
@ -945,7 +945,7 @@ namespace spot
|
|||
}
|
||||
if (!a->has_state(constant::true_instance()))
|
||||
formulae_to_translate.insert(constant::true_instance());
|
||||
tgba_explicit::transition* t =
|
||||
state_explicit_formula::transition* t =
|
||||
a->create_transition(now, constant::true_instance());
|
||||
a->add_condition(t, d.bdd_to_formula(cond_for_true));
|
||||
}
|
||||
|
|
@ -969,7 +969,7 @@ namespace spot
|
|||
bdd cond = j->second - cond_for_true;
|
||||
if (cond == bddfalse) // Skip false transitions.
|
||||
continue;
|
||||
tgba_explicit::transition* t =
|
||||
state_explicit_formula::transition* t =
|
||||
a->create_transition(now, dest);
|
||||
a->add_condition(t, d.bdd_to_formula(cond));
|
||||
d.conj_bdd_to_acc(a, j->first, t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue