Download SourceCode/Controllers/Transducers/Transition.py from kachaf/qutuf: direct link, hf CLI and curl.
- Browser
- Download file 663 Bytes
-
https://huggingface.co/spaces/kachaf/qutuf/resolve/main/SourceCode/Controllers/Transducers/Transition.py
- Command line
-
hf download hf://spaces/kachaf/qutuf/SourceCode/Controllers/Transducers/Transition.py
-
curl -L -o Transition.py https://huggingface.co/spaces/kachaf/qutuf/resolve/main/SourceCode/Controllers/Transducers/Transition.py
663 Bytes
| ''' | |
| Created on ٠٢/٠٤/٢٠١٠ | |
| @Created by: Muhammad Altabba | |
| ''' | |
| from .State import State | |
| class Transition(object): | |
| """ | |
| # PyUML: Do not remove this line! # XMI_ID:_qzIIGo35Ed-gg8GOK1TmhA | |
| """ | |
| ''' | |
| Store one Transition from state to state. It contains Conditions and Actions. | |
| ''' | |
| Conditions = []; | |
| Actions = []; | |
| NextState = State(); | |
| Consume = 0; | |
| def __init__(self, conditions, actions, nextState, consume): | |
| ''' | |
| Constructor | |
| ''' | |
| self.Conditions = conditions; | |
| self.Actions = actions; | |
| self.NextState = nextState; | |
| self.Consume = consume; | |