Track finite formulae.
I.e., SERE without star, or LTL formula using only X and Boolean operators. * src/ltlast/formula.hh, src/ltlast/formula.cc: Add a bit for tracking finite formulas. * src/ltlast/atomic_prop.cc, src/ltlast/automatop.cc, src/ltlast/bunop.cc, src/ltlast/constant.cc, src/ltlast/formula.cc: Adjust. * src/ltlast/unop.cc, src/ltlast/binop.cc: Adjust and use that bit to refine the computation of some LTL classes. * src/ltltest/kind.test: New tests.
This commit is contained in:
parent
df760a4597
commit
fb386209aa
9 changed files with 84 additions and 31 deletions
|
|
@ -49,6 +49,7 @@ namespace spot
|
|||
is.eltl_formula = true;
|
||||
is.psl_formula = true;
|
||||
is.sere_formula = true;
|
||||
is.finite = true;
|
||||
is.eventual = true;
|
||||
is.universal = true;
|
||||
is.syntactic_safety = true;
|
||||
|
|
@ -69,6 +70,7 @@ namespace spot
|
|||
is.eltl_formula = false;
|
||||
is.psl_formula = false;
|
||||
is.sere_formula = true;
|
||||
is.finite = true;
|
||||
is.eventual = false;
|
||||
is.syntactic_safety = false;
|
||||
is.syntactic_guarantee = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue