|
Python YASMIN (Yet Another State MachINe)
|


Public Member Functions | |
| None | __init__ (self) |
| str | execute (self, Blackboard blackboard) |
Represents the Bar state in the state machine.
| None yasmin_demos.concurrence_demo.BarState.__init__ | ( | self | ) |
Initializes the BarState instance, setting up the outcome.
Outcomes:
outcome3: This state will always return this outcome
| str yasmin_demos.concurrence_demo.BarState.execute | ( | self, | |
| Blackboard | blackboard ) |
Executes the logic for the Bar state.
Args:
blackboard (Blackboard): The shared data structure for states.
Returns:
str: The outcome of the execution, which will always be "outcome3".
Raises:
Exception: May raise exceptions related to state execution.