degen: add a lowinit option
* src/tgbaalgos/degen.cc, src/tgbaalgos/degen.hh: New argument to disable the "jump to the accepting level if the entering state as an accepting self-loop" optimization. * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Check the degen-lowinit option and pass it on to degeneralize(). * src/bin/spot-x.cc: Document it. * src/tgbatest/degenlskip.test: Add some tests. * src/tgbatest/ltl2ta.test: Update value. We output less accepting states now.
This commit is contained in:
parent
6e8170e386
commit
7bb183b929
7 changed files with 149 additions and 82 deletions
|
|
@ -83,6 +83,12 @@ states. A consequence of skipping levels is that the degeneralized \
|
|||
automaton tends to have smaller cycles around the accepting states. \
|
||||
Disabling skipping will produce automata with large cycles, and often \
|
||||
with more states.") },
|
||||
{ DOC("degen-lowinit", "Whenever the degeneralization algorihm enters \
|
||||
a new SCC (or starts from the initial states), it starts on a level that \
|
||||
is compatible with all outgoing transitions. If degen-lowinit is zero \
|
||||
(the default) and the corresponding state (in the generalized automaton) \
|
||||
has an accepting self-loop, then the level is set to the accepting \
|
||||
level, as it might favor finding accepting cycles earlier.") },
|
||||
{ DOC("simul", "Set to 0 to disable simulation-based reductions. \
|
||||
Set to 1 to use only direct simulation. Set to 2 to use only reverse \
|
||||
simulation. Set to 3 to iterate both direct and reverse simulations. \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue