Remove is_syntactic_weak_scc and is_syntactic_terminal_scc
Those cannot work now that automata are not labeled by formulas anymore. * src/tgbaalgos/isweakscc.cc, src/tgbaalgos/isweakscc.hh (is_syntactic_weak_scc, is_syntactic_terminal_scc): Remove.
This commit is contained in:
parent
ead04cb1ac
commit
57e7bbb3b1
2 changed files with 2 additions and 62 deletions
|
|
@ -89,44 +89,6 @@ namespace spot
|
|||
== bdd_support(map.get_aut()->neg_acceptance_conditions()));
|
||||
}
|
||||
|
||||
bool
|
||||
is_syntactic_weak_scc(scc_map& map, unsigned scc)
|
||||
{
|
||||
const tgba_explicit_formula* aut =
|
||||
dynamic_cast<const tgba_explicit_formula*>(map.get_aut());
|
||||
if (!aut)
|
||||
return false;
|
||||
|
||||
for (auto ss: map.states_of(scc))
|
||||
{
|
||||
const state_explicit_formula* s =
|
||||
down_cast<const state_explicit_formula*>(ss);
|
||||
assert(s);
|
||||
if (aut->get_label(s)->is_syntactic_persistence())
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
is_syntactic_terminal_scc(scc_map& map, unsigned scc)
|
||||
{
|
||||
const tgba_explicit_formula* aut =
|
||||
dynamic_cast<const tgba_explicit_formula*>(map.get_aut());
|
||||
if (!aut)
|
||||
return false;
|
||||
|
||||
for (auto ss: map.states_of(scc))
|
||||
{
|
||||
const state_explicit_formula* s =
|
||||
down_cast<const state_explicit_formula*>(ss);
|
||||
assert(s);
|
||||
if (aut->get_label(s)->is_syntactic_guarantee())
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
is_complete_scc(scc_map& map, unsigned scc)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue