@classmethod
def index(cls, action):
    """
        Return action index in the action space.

        :param action: action representation
        :type action: OrderedDict
        :rtype: int
        """
    for index, fluent in enumerate(action):
        if action[fluent] == 1:
            return index
