
Public Member Functions | |
| def | __init__ (self, outcomes, conditions) |
| def | execute (self, userdata) |
Private Attributes | |
| _conditions | |
Evaluates a condition function in order to return one of the specified outcomes.
This state can be used if the further control flow of the behavior depends on an advanced condition.
-- outcomes string[] A list containing all possible outcomes of this state
-- conditions function Implements the condition check and returns one of the available outcomes.
Has to expect one parameter which will be set to input_value.
># input_value object Input to the condition function.
Definition at line 5 of file decision_state.py.
| def flexbe_states.decision_state.DecisionState.__init__ | ( | self, | |
| outcomes, | |||
| conditions | |||
| ) |
Constructor
Definition at line 17 of file decision_state.py.
| def flexbe_states.decision_state.DecisionState.execute | ( | self, | |
| userdata | |||
| ) |
Definition at line 25 of file decision_state.py.
|
private |
Definition at line 23 of file decision_state.py.