Home | Trees | Indices | Help |
|
---|
|
object --+ | Transition
Representation of a FAC state transition.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
__destination = None hash(x) |
|||
__updateInstructions = None hash(x) |
|||
__nextTransition = None hash(x) |
|||
__layerLink = None hash(x) |
|
|||
destination The transition destination state. |
|||
updateInstructions The set of counter updates that are applied when the transition is taken. |
|||
nextTransition The next transition to apply in this chain. |
|||
layerLink A directive relating to changing automaton layer on transition. |
|||
Inherited from |
|
The next transition to apply in this chain.
|
A directive relating to changing automaton layer on transition.
An instance of Configuration is a transition on completion of a subautomaton back to the configuration in the parent automaton. The destination is the state in the parent automaton. An instance of Automaton requires creation of a sub-configuration and initial entry into the automaton. The destination is the state in the sub-automaton. |
Create a transition to a state.
|
Check the transition update instructions against configuration counter values. This implementation follows layer changes, updating the configuration used as counter value source as necessary.
|
Apply the transitition to a configuration. This updates the configuration counter values based on the update instructions, and sets the new configuration state.
Note: If the transition involves leaving a sub-automaton or creating a new sub-automaton, the returned configuration structure will be different from the one passed in. You should invoke this as: cfg = transition.apply(cfg) |
Duplicate the state and chain the duplicate to a successor transition. This returns a new transition which applies the operation for this transition, then proceeds to apply the next transition in the chain.
Note: The node that is invoking this must not have successor transitions. |
Replicate the transition as a layer link into its automaton. This is used on initial transitions into sub-automata where a sub-configuration must be created and recorded. |
hash(x)
|
str(x)
|
|
destinationThe transition destination state.
|
updateInstructionsThe set of counter updates that are applied when the transition is taken.
|
nextTransitionThe next transition to apply in this chain.
|
layerLinkA directive relating to changing automaton layer on transition.
An instance of Configuration is a transition on completion of a subautomaton back to the configuration in the parent automaton. The destination is the state in the parent automaton. An instance of Automaton requires creation of a sub-configuration and initial entry into the automaton. The destination is the state in the sub-automaton.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 17 03:13:55 2013 | http://epydoc.sourceforge.net |