Replace most uses of scc_map by scc_info.
This involves reimplementing some algorithms using tgba_digraph, and implementing an explicit product that takes two tgba_digraphs and produces a tgba_digraph. * src/tgbaalgos/product.cc, src/tgbaalgos/product.hh: New files. * src/tgbaalgos/Makefile.am: Adjust. * src/bin/ltlcross.cc, src/tgba/tgba.cc, src/tgba/tgba.hh, src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh, src/tgbaalgos/cycles.cc, src/tgbaalgos/cycles.hh, src/tgbaalgos/degen.cc, src/tgbaalgos/degen.hh, src/tgbaalgos/isweakscc.cc, src/tgbaalgos/isweakscc.hh, src/tgbaalgos/minimize.cc, src/tgbaalgos/minimize.hh, src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh, src/tgbaalgos/safety.cc, src/tgbaalgos/safety.hh, src/tgbaalgos/sccinfo.cc, src/tgbaalgos/sccinfo.hh, src/tgbatest/complementation.cc, src/tgbatest/emptchk.cc, src/tgbatest/ltl2ta.test, src/tgbatest/ltl2tgba.cc, src/tgbatest/randtgba.cc: Update to use scc_info and/or tgba_digraph.
This commit is contained in:
parent
b6745482af
commit
2fb436a174
27 changed files with 497 additions and 394 deletions
|
|
@ -65,9 +65,10 @@ namespace spot
|
|||
/// transitions.
|
||||
//@{
|
||||
SPOT_API tgba_digraph_ptr
|
||||
tgba_powerset(const const_tgba_ptr& aut, power_map& pm, bool merge = true);
|
||||
tgba_powerset(const const_tgba_digraph_ptr& aut,
|
||||
power_map& pm, bool merge = true);
|
||||
SPOT_API tgba_digraph_ptr
|
||||
tgba_powerset(const const_tgba_ptr& aut);
|
||||
tgba_powerset(const const_tgba_digraph_ptr& aut);
|
||||
//@}
|
||||
|
||||
|
||||
|
|
@ -107,7 +108,7 @@ namespace spot
|
|||
/// whenever an SCC of the constructed automaton has more than \a
|
||||
/// threshold_cycles cycles.
|
||||
SPOT_API tgba_digraph_ptr
|
||||
tba_determinize(const const_tgba_ptr& aut,
|
||||
tba_determinize(const const_tgba_digraph_ptr& aut,
|
||||
unsigned threshold_states = 0,
|
||||
unsigned threshold_cycles = 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue