tuple2fts(S,
S0,
AP,
L,
Act,
trans,
name=' fts ' ,
prepend_str=None)
|
|
Create a Finite Transition System from a tuple of fields.
Hint
To remember the arg order:
1) it starts with states (S0 requires S before it is defined)
2) continues with the pair (AP, L), because states are more
fundamental than transitions (transitions require states to be defined)
and because the state labeling L requires AP to be defined.
3) ends with the pair (Act, trans), because transitions in trans
require actions in Act to be defined.
See Also
tuple2ba
- Parameters:
S (iterable of hashables) - set of states
S0 (iterable of elements from S) - set of initial states, must be \subset S
AP (iterable of hashables) - set of Atomic Propositions for state labeling: L: S-> 2^AP
L (iterable of (state, AP_label) pairs: [(state0, {'p'} ), ...] |
None, to skip state labeling.) - state labeling definition
Act (iterable of hashables) - set of Actions for edge labeling: R: E-> Act
trans (list of triples: [(from_state, to_state, act), ...] where act \in
Act) - transition relation
name (str) - used for file export
|