* src/tgbaparse/tgbaparse.yy (cond_list): Simplify into...
(condition): ... this. We now accept only one condition, which is a formula. * src/tgba/tgbaexplicit.hh (tgba_explicit::add_neg_condition, tgba_explicit::get_condition): Remove, unused. * src/tgba/tgbaexplicit.cc: Likewise.
This commit is contained in:
parent
e341cc9ab6
commit
1811786597
4 changed files with 30 additions and 59 deletions
|
|
@ -171,15 +171,6 @@ namespace spot
|
|||
return t;
|
||||
}
|
||||
|
||||
bdd
|
||||
tgba_explicit::get_condition(const ltl::formula* f)
|
||||
{
|
||||
assert(dynamic_cast<const ltl::atomic_prop*>(f));
|
||||
int v = dict_->register_proposition(f, this);
|
||||
ltl::destroy(f);
|
||||
return bdd_ithvar(v);
|
||||
}
|
||||
|
||||
void
|
||||
tgba_explicit::add_condition(transition* t, const ltl::formula* f)
|
||||
{
|
||||
|
|
@ -187,12 +178,6 @@ namespace spot
|
|||
ltl::destroy(f);
|
||||
}
|
||||
|
||||
void
|
||||
tgba_explicit::add_neg_condition(transition* t, const ltl::formula* f)
|
||||
{
|
||||
t->condition -= get_condition(f);
|
||||
}
|
||||
|
||||
void
|
||||
tgba_explicit::add_conditions(transition* t, bdd f)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue