yasmin_demos.remap_demo module

class yasmin_demos.remap_demo.BarState(*args: Any, **kwargs: Any)

Bases: State

Represents the Bar state in the state machine.

execute(blackboard: yasmin.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 can be SUCCEED.

Raises:

Exception: May raise exceptions related to state execution.

class yasmin_demos.remap_demo.Foo(*args: Any, **kwargs: Any)

Bases: State

Represents the Foo state in the state machine.

execute(blackboard: yasmin.Blackboard)

Executes the logic for the Foo state.

Args:

blackboard (Blackboard): The shared data structure for states.

Returns:

str: The outcome of the execution, which can be SUCCEED.

Raises:

Exception: May raise exceptions related to state execution.