@lock_state_machine
def add_state(self, state, storage_load=False):
    'Overwrite the parent class add_state method\n\n         Add automatic transition generation for the decider_state.\n\n        :param state: The state to be added\n        :return:\n        '
    state_id = super(BarrierConcurrencyState, self).add_state(state)
    if ((not storage_load) and (not self.__init_running) and (not (state.state_id == UNIQUE_DECIDER_STATE_ID))):
        for (o_id, o) in list(state.outcomes.items()):
            if ((not (o_id == (- 1))) and (not (o_id == (- 2)))):
                self.add_transition(state.state_id, o_id, self.states[UNIQUE_DECIDER_STATE_ID].state_id, None)
    return state_id
Overwrite the parent class add_state method

 Add automatic transition generation for the decider_state.

:param state: The state to be added
:return:
@lock_state_machine
def add_state(self, state, storage_load=False):
    'Overwrite the parent class add_state method\n\n         Add automatic transition generation for the decider_state.\n\n        :param state: The state to be added\n        :return:\n        '
    state_id = super(BarrierConcurrencyState, self).add_state(state)
    if ((not storage_load) and (not self.__init_running) and (not (state.state_id == UNIQUE_DECIDER_STATE_ID))):
        for (o_id, o) in list(state.outcomes.items()):
            if ((not (o_id == (- 1))) and (not (o_id == (- 2)))):
                self.add_transition(state.state_id, o_id, self.states[UNIQUE_DECIDER_STATE_ID].state_id, None)
    return state_id