Add support for computing operator nesting depth
* spot/tl/hierarchy.hh, spot/tl/hierarchy.cc (nesting_depth): New function. * python/spot/__init__.py: Also make it a method of formula in Python * bin/common_output.cc, bin/common_output.hh: Implement --stats=%[OP]n. * NEWS: Mention it. * tests/core/format.test, tests/python/formulas.ipynb: Test it.
This commit is contained in:
parent
49b76bcf66
commit
62d1e0219d
8 changed files with 218 additions and 25 deletions
6
NEWS
6
NEWS
|
|
@ -73,6 +73,9 @@ New in spot 2.4.2.dev (not yet released)
|
|||
by their acceptance name (Buchi, co-Buchi, Streett, etc.) or
|
||||
"other" if no name is known for the acceptance condition.
|
||||
|
||||
- Tools that produce formulas now support --format=%[OP]n to
|
||||
display the nesting depth of operator OP.
|
||||
|
||||
- All tools learned to check the SPOT_OOM_ABORT environment
|
||||
variable. This is only useful for debuging out-of-memory
|
||||
conditions; see the spot-x(7) man page for detail.
|
||||
|
|
@ -194,6 +197,9 @@ New in spot 2.4.2.dev (not yet released)
|
|||
accept additionnal arguments and pass them to fun(). See
|
||||
https://spot.lrde.epita.fr/tut03.html for some examples.
|
||||
|
||||
- A the new function spot::nesting_depth() computes the nesting
|
||||
depth of any LTL operator.
|
||||
|
||||
- The new function spot::print_aiger() encodes an automaton as an
|
||||
AIGER circuit and prints it. This is only possible for automata
|
||||
whose acceptance condition is trivial. It relies on a new named
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue