BaseEnv¶
- class maze.core.env.base_env.BaseEnv¶
Interface definition for reinforcement learning environments defining the minimum required functionality for being considered an environment.
- abstract reset() Any¶
Resets the environment and returns the initial state.
- Returns:
the initial state after resetting.
- abstract seed(seed: Any) None¶
Sets the seed for this environment.
Commonly an integer is sufficient to seed the random number generator(s), but more expressive env-specific seed structured are also supported.
- Param:
seed: the seed integer initializing the random number generator or an env-specific seed structure.