mlpy.mdp.stateaction.MDPAction.decode¶
-
MDPAction.
decode
(_repr)¶ Decodes the state into its original representation.
Parameters: _repr : tuple
The readable representation of the primitive.
Returns: MDPState :
The decoded state.
Notes
Optionally this method can be overwritten at runtime.
Examples
>>> def my_decode(cls, _repr) ... pass ... >>> MDPPrimitive.decode = classmethod(my_decode)