Classes | |
class | atomic_prop |
Atomic propositions. More... | |
class | binop |
Binary operator. More... | |
class | clone_visitor |
Clone a formula. More... | |
struct | const_visitor |
Formula visitor that cannot modify the formula. More... | |
class | constant |
A constant (True or False). More... | |
class | default_environment |
A laxist environment. More... | |
class | environment |
An environment that describes atomic propositions. More... | |
class | formula |
An LTL formula. More... | |
class | multop |
Multi-operand operators. More... | |
struct | multop::paircmp |
Comparison functor used internally by ltl::multop. More... | |
class | postfix_visitor |
Apply an algorithm on each node of an AST, during a postfix traversal. More... | |
class | ref_formula |
A reference-counted LTL formula. More... | |
class | unabbreviate_logic_visitor |
Clone and rewrite a formula to remove most of the abbreviated logical operators. More... | |
class | unabbreviate_ltl_visitor |
Clone and rewrite a formula to remove most of the abbreviated LTL and logical operators. More... | |
class | unop |
Unary operator. More... | |
struct | visitor |
Formula visitor that can modify the formula. More... | |
Typedefs | |
typedef std::pair< yy::Location, std::string > | parse_error |
A parse diagnostic with its location. | |
typedef std::list< parse_error > | parse_error_list |
A list of parser diagnostics, as filled by parse. | |
Functions | |
formula * | parse (const std::string <l_string, parse_error_list &error_list, environment &env=default_environment::instance(), bool debug=false) |
Build a formula from an LTL string. | |
bool | format_parse_errors (std::ostream &os, const std::string <l_string, parse_error_list &error_list) |
Format diagnostics produced by spot::ltl::parse. | |
formula * | clone (const formula *f) |
Clone a formula. | |
void | destroy (const formula *f) |
Destroys a formula. | |
std::ostream & | dotty (std::ostream &os, const formula *f) |
Write a formula tree using dot's syntax. | |
std::ostream & | dump (std::ostream &os, const formula *f) |
Dump a formula tree. | |
formula * | unabbreviate_logic (const formula *f) |
Clone and rewrite a formula to remove most of the abbreviated logical operators. | |
formula * | negative_normal_form (const formula *f, bool negated=false) |
Build the negative normal form of f. | |
std::ostream & | to_string (const formula *f, std::ostream &os) |
Output a formula as a (parsable) string. | |
std::string | to_string (const formula *f) |
Convert a formula into a (parsable) string. | |
formula * | unabbreviate_ltl (const formula *f) |
Clone and rewrite a formula to remove most of the abbreviated LTL and logical operators. |
|
A parse diagnostic with its location.
|
|
A list of parser diagnostics, as filled by parse.
|
|
Clone a formula.
|
|
Destroys a formula.
|
|
Write a formula tree using dot's syntax.
dot is part of the GraphViz package http://www.research.att.com/sw/tools/graphviz/ |
|
Dump a formula tree.
|
|
Format diagnostics produced by spot::ltl::parse.
|
|
Build the negative normal form of f. All negations of the formula are pushed in front of the atomic propositions.
|
|
Build a formula from an LTL string.
|
|
Convert a formula into a (parsable) string.
|
|
Output a formula as a (parsable) string.
|
|
Clone and rewrite a formula to remove most of the abbreviated logical operators. This will rewrite binary operators such as binop::Implies, binop::Equals, and binop::Xor, using only unop::Not, multop::Or, and multop::And. |
|
Clone and rewrite a formula to remove most of the abbreviated LTL and logical operators. The rewriting performed on logical operator is the same as the one done by spot::ltl::unabbreviate_logic. This will also rewrite unary operators such as unop::F, and unop::G, using only binop::U, and binop::R. |