* 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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ namespace spot
|
|||
create_transition(const std::string& source, const std::string& dest);
|
||||
|
||||
void add_condition(transition* t, const ltl::formula* f);
|
||||
void add_neg_condition(transition* t, const ltl::formula* f);
|
||||
/// This assumes that all variables in \a f are known from dict.
|
||||
void add_conditions(transition* t, bdd f);
|
||||
void declare_acceptance_condition(const ltl::formula* f);
|
||||
|
|
@ -84,7 +83,6 @@ namespace spot
|
|||
virtual bdd compute_support_variables(const spot::state* state) const;
|
||||
|
||||
state* add_state(const std::string& name);
|
||||
bdd get_condition(const ltl::formula* f);
|
||||
bdd get_acceptance_condition(const ltl::formula* f);
|
||||
|
||||
typedef Sgi::hash_map<const std::string, tgba_explicit::state*,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue