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
|
|
@ -247,6 +247,7 @@ TESTS_twa = \
|
|||
core/degendet.test \
|
||||
core/degenid.test \
|
||||
core/degenlskip.test \
|
||||
core/degenscc.test \
|
||||
core/randomize.test \
|
||||
core/lbttparse.test \
|
||||
core/scc.test \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue