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

The currently active gym action space.

abstract property action_spaces_dict

A dictionary of gym action spaces, with policy IDs as keys.

abstract property observation_space

The currently active gym observation space.

abstract property observation_spaces_dict

A dictionary of gym observation spaces, with policy IDs as keys.