Go to the source code of this file.
Functions |
int | spot::ltl::length (const formula *f) |
| Compute the length of a formula.The length of a formula is the number of atomic propositions, constants, and operators (logical and temporal) occurring in the formula. spot::ltl::multop instances with n arguments count for n-1; for instance a | b | c has length 5, even if there is only as single | node internally.
|
int | spot::ltl::length_boolone (const formula *f) |
| Compute the length of a formula, squashing Boolean formulaeThis is similar to spot::ltl::length(), except all Boolean formulae are assumed to have length one.
|