ActionWrapper¶
-
class
maze.core.wrappers.wrapper.
ActionWrapper
(*args, **kwds)¶ A Wrapper with typing support modifying the agents action.
-
abstract
action
(action: Any) → Any¶ Abstract action mapping method.
-
get_observation_and_action_dicts
(maze_state: Optional[Any], maze_action: Optional[Any], first_step_in_episode: bool) → Tuple[Optional[Dict[Union[int, str], Any]], Optional[Dict[Union[int, str], Any]]]¶ (overrides
Wrapper
)Reverse the actions, keep the observations the same.
-
abstract
reverse_action
(action: Any) → Any¶ Abstract action reverse mapping method.
-
abstract