StructuredEnvSpacesMixin¶
- class maze.core.env.structured_env_spaces_mixin.StructuredEnvSpacesMixin¶
This interface complements the StructuredEnv by action and observation spaces.
StructuredEnv defines the logic and is usually implemented in the core env. In order to make it a complete, trainable env, the space definitions from this class are needed.
- abstract property action_space: gymnasium.spaces.Dict¶
The currently active gym action space.
- abstract property action_spaces_dict: Dict[int | str, gymnasium.spaces.Dict]¶
A dictionary of gym action spaces, with policy IDs as keys.
- abstract property observation_space: gymnasium.spaces.Dict¶
The currently active gym observation space.