RecordableEnvMixin

class maze.core.env.recordable_env_mixin.RecordableEnvMixin

This interface provides a standard way of exposing internal MazeState and MazeAction objects for trajectory data recording.

abstract get_episode_id()str

Get ID of the current episode. Usually a UUID converted to a string, but can be a custom string as well.

Returns

Episode ID string

abstract get_maze_action() → Any

Return the last MazeAction taken in the environment

Returns

Last MazeAction object.

abstract get_maze_state() → Any

Return current state of the environment.

Returns

Current environment state object.

abstract get_renderer()maze.core.rendering.renderer.Renderer

Return renderer that can be used to render the recorded trajectory data.

Returns

Renderer instance.