经典控件
可以通过以下方式安装此组环境的独特依赖项:
pip install gymnasium[classic-control]
有五种经典的控制环境:Acrobot、CartPole、Mountain Car、Continuous Mountain Car 和 Pendulum。所有这些环境的初始状态都是随机的,在给定范围内。此外,Acrobot 会对所采取的动作应用噪音。此外,对于这两种山地车环境,汽车爬山的动力不足,因此需要付出一些努力才能到达山顶。
在 Gymnasium 环境中,这组环境可以被认为是更容易通过策略解决的环境。
所有环境都可以通过每个环境文档中指定的参数进行高度配置。
Classic Control
The unique dependencies for this set of environments can be installed via:
pip install gymnasium[classic-control]
There are five classic control environments: Acrobot, CartPole, Mountain Car, Continuous Mountain Car, and Pendulum. All of these environments are stochastic in terms of their initial state, within a given range. In addition, Acrobot has noise applied to the taken action. Also, regarding both mountain car environments, the cars are underpowered to climb the mountain, so it takes some effort to reach the top.
Among Gymnasium environments, this set of environments can be considered easier ones to solve by a policy.
All environments are highly configurable via arguments specified in each environment’s documentation.