(self, state)
return t
:param SimState state:
        :return:
def _get_transition_dict(self, state):
        """

        :param SimState state:
        :return:
        """

        try:
            t = state.globals['transition']
        except KeyError:
            t = defaultdict(int)
            state.globals['transition'] = t
        return t
def _get_transition_dict ( self , state ) : try : t = state . globals [ 'transition' ] except KeyError : t = defaultdict ( int ) state . globals [ 'transition' ] = t return t