def decode(cls, _repr):
        # noinspection PyUnresolvedReferences,PyUnusedLocal
        """Decodes the state into its original representation.

        Parameters
        ----------
        _repr : tuple
            The readable representation of the primitive.

        Returns
        -------
        State :
            The decoded state.

        Notes
        -----
        Optionally this method can be overwritten at runtime.

        Examples
        --------
        >>> def my_decode(cls, _repr)
        ...     pass
        ...
        >>> MDPPrimitive.decode = classmethod(my_decode)

        """
        return cls(_repr)