popgym.wrappers.markovian ========================= .. py:module:: popgym.wrappers.markovian Classes ------- .. autoapisummary:: popgym.wrappers.markovian.Markovian Module Contents --------------- .. py:class:: Markovian(env: popgym.core.env.POPGymEnv, observability: popgym.core.observability.Observability) Bases: :py:obj:`popgym.core.wrapper.POPGymWrapper` Wrapper that adds the hidden Markov state to the observation or info dict Args: env: The environment. observability: The observability level. Returns: A gym environment .. py:attribute:: observability .. py:method:: reset(**kwargs) -> Tuple[gymnasium.core.ObsType, Dict[Any, Any]] Uses the :meth:`reset` of the :attr:`env` that can be overwritten to change the returned data. .. py:method:: add_state(obs, info) .. py:method:: step(action) Uses the :meth:`step` of the :attr:`env` that can be overwritten to change the returned data.