class maze.core.wrappers.maze_gym_env_wrapper.GymObservationConversion(env: gym.Env)

A dummy conversion interface asserting that the observation is packed into a dictionary space.


env – Gym environment.

maze_to_space(maze_state: Any) → Any

(overrides ObservationConversionInterface)

Converts core environment state to agent observation.

space() → gym.spaces.Space

(overrides ObservationConversionInterface)

Returns respective gym observation space.

space_to_maze(observation: Dict[str, numpy.ndarray]) → Any

(overrides ObservationConversionInterface)

Converts agent observation to core environment state.

(This is most like not possible for most observation observation_conversion)