degen: detect superfluous SCCs and remove them
Suggested by Maximilien Colange. * spot/twaalgos/degen.cc: If the output has more SCC than the input, detect useless SCCs and remove them. * spot/twaalgos/postproc.cc, spot/twaalgos/postproc.hh, spot/twaalgos/degen.hh: Add support for a degen-remscc option. * bin/spot-x.cc, NEWS: Document it. * tests/core/degenscc.test: New file. * tests/Makefile.am: Add it. * tests/core/det.test: Lower some expected size (yay!).
This commit is contained in:
parent
ce5e3b654f
commit
900b344c9a
9 changed files with 147 additions and 22 deletions
|
|
@ -207,6 +207,7 @@ namespace spot
|
|||
int degen_cache_ = 1;
|
||||
bool degen_lskip_ = true;
|
||||
bool degen_lowinit_ = false;
|
||||
bool degen_remscc_ = true;
|
||||
bool det_scc_ = true;
|
||||
bool det_simul_ = true;
|
||||
bool det_stutter_ = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue