class maze.core.env.observation_conversion.ObservationConversionInterface

Interface specifying the conversion of abstract environment state to the gym-compatible observation.

abstract maze_to_space(maze_state: Any) → Dict[str, numpy.ndarray]

Converts core environment state to a machine readable agent observation.

space() → gym.spaces.Dict

Returns respective Gym observation space.

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

Converts agent observation to core environment state. (This is most like not possible for most observation observation_conversion)