Home | Trees | Indices | Help |
|
---|
|
LTL formula (specification)
Minimal class that describes an LTL formula in the canonical TuLiP syntax. It contains three attributes:
formula
: a str
of the formula. Syntax is
only enforced if the user requests it, e.g., using the check_form method.
input_variables
: a dict
of variables (names
given as strings) and their domains; each key is a variable name and
its value (in the dictionary) is its domain. See notes below.
Semantically, these variables are considered to be inputs (i.e.,
uncontrolled, externally determined).
output_variables
: similar to
input_variables
, but considered to be outputs, i.e.,
controlled, the strategy for setting of which we seek in formal
synthesis.
N.B., domains are specified in multiple datatypes. The type is indicated below in parenthesis. Recognized domains, along with examples, are:
str
); this domain is specified by
"boolean"
;
set
); e.g., {1,3,5}
;
tuple
of length 2); e.g., (0,15)
.
As with the formula
attribute, type-checking is only
performed if requested by the user. E.g., any iterable can act as a
finite_set. However, a range domain must be a tuple
of
length 2; otherwise it is ambiguous with finite_set.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Static Methods | |||
|
|||
|
Properties | |
Inherited from |
Method Details |
Instantiate an LTL object. Any non-None arguments are saved to the corresponding attribute by reference.
|
repr(x)
|
str(x)
|
Dump TuLiP LTL file string.
|
Raise Exception if variabe definitions are invalid. Checks:
|
Verify formula syntax and type-check variable domains. Return True iff OK. UNDER DEVELOPMENT; function signature may change without notice. Calling will result in NotImplementedError. |
Wrap loads for reading from files.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Nov 19 00:11:17 2016 | http://epydoc.sourceforge.net |