popgym.wrappers.markovian
Module Contents
Classes
Wrapper that adds the hidden Markov state to the observation or info dict |
- class popgym.wrappers.markovian.Markovian(env: popgym.core.env.POPGymEnv, observability: popgym.core.observability.Observability)
Bases:
popgym.core.wrapper.POPGymWrapperWrapper that adds the hidden Markov state to the observation or info dict
- Args:
env: The environment. observability: The observability level.
- Returns:
A gym environment
- reset(**kwargs) Tuple[gymnasium.core.ObsType, Dict[Any, Any]]
Uses the
reset()of theenvthat can be overwritten to change the returned data.
- add_state(obs, info)