Home | Trees | Indices | Help |
|
---|
|
GR(1) specification.
The basic form is:
(env_init & []env_safety & []<>env_prog_1 & []<>env_prog_2 & ...) -> (sys_init & []sys_safety & []<>sys_prog_1 & []<>sys_prog_2 & ...)
A GRSpec object contains the following attributes:
moore
: select whether a strategy can see primed
environment variables.
plus_one
: select causal implication between assumptions
and guarantees.
qinit
: select quantification of initial values for
variables:
'\A \A'
: forall env forall sys assume
env_init
sys_init
must be empty
'\A \E'
: forall env exist sys (usually not Moore)
assume env_init
and require sys_init
'\E \A'
: exist sys forall env assume
env_init
and require sys_init
'\E \E'
: exist env exist sys require
sys_init
env_init
must be empty
env_vars
: alias for input_variables
of LTL,
concerning variables that are determined by the environment.
env_init
: a list of string that specifies the assumption
about the initial state of the environment.
env_safety
: a list of string that specifies the
assumption about the evolution of the environment state.
env_prog
: a list of string that specifies the justice
assumption on the environment.
sys_vars
: alias for output_variables
of LTL,
concerning variables that are controlled by the system.
sys_init
: a list of string that specifies the
requirement on the initial state of the system.
sys_safety
: a list of string that specifies the safety
requirement.
sys_prog
: a list of string that specifies the progress
requirement.
An empty list for any formula (e.g., if env_init = []) is marked as "True" in the specification. This corresponds to the constant Boolean function, which usually means that subformula has no effect (is non-restrictive) on the spec.
Consult GRSpec.__init__ concerning arguments at the time of instantiation.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
code
|
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Static Methods | |||
|
|||
|
Properties | |
Inherited from |
Method Details |
Instantiate a GRSpec object. Instantiating GRSpec without arguments results in an empty formula. The default domain of a variable is "boolean".
|
repr(x)
|
str(x)
|
Dump TuLiP LTL file string.
|
Create GRSpec object from TuLiP LTL file string. UNDER DEVELOPMENT; function signature may change without notice. Calling will result in NotImplementedError.
|
Wrap loads for reading from files. UNDER DEVELOPMENT; function signature may change without notice. Calling will result in NotImplementedError.
|
Output formula in TuLiP LTL syntax. The format is described in the Specifications section of the TuLiP User's Guide. |
Substitute given values for variables. Note that there are three ways to substitute values for variables:
For converting non-integer finite types to integer types, use
|
Compile python expression for initial conditions. The returned bytecode can be used with Use the corresponding python data types for the
|
Replace arbitrary finite vars with int vars. Returns spec itself if it contains only int vars. Otherwise it returns a copy of spec with all arbitrary finite vars replaced by int-valued vars. |
Return AST corresponding to formula x. If AST for formula |
Parse each clause and store it. The AST resulting from each clause is stored in the |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Nov 19 00:11:17 2016 | http://epydoc.sourceforge.net |