acc: move unsat_mark in acc_cond
so that we can optimize it when no Fin are used * spot/twa/acc.cc, spot/twa/acc.hh: Do it. * spot/twaalgos/complete.cc, spot/twaalgos/strength.cc: Adjust.
This commit is contained in:
parent
2d3e7cecf5
commit
9bbcf85b3a
4 changed files with 17 additions and 25 deletions
|
|
@ -832,10 +832,6 @@ namespace spot
|
|||
// Return the set of sets appearing in the condition.
|
||||
acc_cond::mark_t used_sets() const;
|
||||
|
||||
// Return (true, m) if there exist some m that does not satisfy
|
||||
// the acceptance condition. Return (false, 0U) otherwise.
|
||||
std::pair<bool, acc_cond::mark_t> unsat_mark() const;
|
||||
|
||||
// Return the sets used as Inf or Fin in the acceptance condition
|
||||
std::pair<acc_cond::mark_t, acc_cond::mark_t> used_inf_fin_sets() const;
|
||||
|
||||
|
|
@ -958,6 +954,11 @@ namespace spot
|
|||
return acc_code::inf(m);
|
||||
}
|
||||
|
||||
// Return (true, m) if there exist some acceptance mark m that
|
||||
// does not satisfy the acceptance condition. Return (false, 0U)
|
||||
// otherwise.
|
||||
std::pair<bool, acc_cond::mark_t> unsat_mark() const;
|
||||
|
||||
protected:
|
||||
bool check_fin_acceptance() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue