Don't pass the automaton to enumerate_cycle and is_weak_scc.
The scc_map knows the automaton already. * src/tgbaalgos/cycles.cc, src/tgbaalgos/cycles.hh, src/tgbaalgos/isweakscc.cc, src/tgbaalgos/isweakscc.hh: Simplify the interface. * src/tgbatest/ltl2tgba.cc: Adjust calls.
This commit is contained in:
parent
40de47f159
commit
d228784c39
5 changed files with 17 additions and 18 deletions
|
|
@ -23,9 +23,8 @@
|
|||
|
||||
namespace spot
|
||||
{
|
||||
enumerate_cycles::enumerate_cycles(const tgba* aut,
|
||||
const scc_map& map)
|
||||
: aut_(aut), sm_(map)
|
||||
enumerate_cycles::enumerate_cycles(const scc_map& map)
|
||||
: aut_(map.get_aut()), sm_(map)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue