2022-09-16 14:00:12 +01:00
|
|
|
---
|
|
|
|
title: Fundamental Spaces
|
|
|
|
---
|
|
|
|
|
|
|
|
# Fundamental Spaces
|
|
|
|
|
|
|
|
## Box
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autoclass:: gymnasium.spaces.Box
|
|
|
|
|
2022-10-12 15:58:01 +01:00
|
|
|
.. automethod:: gymnasium.spaces.Box.sample
|
|
|
|
.. automethod:: gymnasium.spaces.Box.seed
|
|
|
|
.. automethod:: gymnasium.spaces.Box.is_bounded
|
2022-09-16 14:00:12 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Discrete
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autoclass:: gymnasium.spaces.Discrete
|
2022-10-12 15:58:01 +01:00
|
|
|
.. automethod:: gymnasium.spaces.Discrete.sample
|
|
|
|
.. automethod:: gymnasium.spaces.Discrete.seed
|
2022-09-16 14:00:12 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## MultiBinary
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autoclass:: gymnasium.spaces.MultiBinary
|
2022-10-12 15:58:01 +01:00
|
|
|
.. automethod:: gymnasium.spaces.MultiBinary.sample
|
|
|
|
.. automethod:: gymnasium.spaces.MultiBinary.seed
|
2022-09-16 14:00:12 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## MultiDiscrete
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autoclass:: gymnasium.spaces.MultiDiscrete
|
|
|
|
|
2022-10-12 15:58:01 +01:00
|
|
|
.. automethod:: gymnasium.spaces.MultiDiscrete.sample
|
|
|
|
.. automethod:: gymnasium.spaces.MultiDiscrete.seed
|
2022-09-16 14:00:12 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Text
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autoclass:: gymnasium.spaces.Text
|
|
|
|
|
2022-10-12 15:58:01 +01:00
|
|
|
.. automethod:: gymnasium.spaces.Text.sample
|
|
|
|
.. automethod:: gymnasium.spaces.Text.seed
|
2022-09-16 14:00:12 +01:00
|
|
|
```
|