* 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:
Alexandre Duret-Lutz 2003-11-28 16:57:55 +00:00
parent e341cc9ab6
commit 1811786597
4 changed files with 30 additions and 59 deletions

View file

@ -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)
{