【gym】【离散动作空间】【离散状态空间】【Frozen Lake 冰冻湖】

目录

Frozen Lake 冰冻湖

Description 描述

Action Space 动作空间

Observation Space观测空间

Starting State起始状态

Rewards 奖励#

Episode End 回合结束

Information 信息

Arguments 参数

Version History版本历史记录


Frozen Lake 冰冻湖

../../../_images/frozen_lake.gif

This environment is part of the Toy Text environments which contains general information about the environment.
此环境是 Toy Text 环境的一部分,其中包含有关环境的一般信息。

Action Space 

动作空间

Discrete(4)

Observation Space

观测空间

Discrete(16)

import 

gymnasium.make("FrozenLake-v1")

Frozen lake involves crossing a frozen lake from start to goal without falling into any holes by walking over the frozen lake. The player may not always move in the intended direction due to the slippery nature of the frozen lake.
冰冻湖是指在冰冻的湖面上行走,从起点到终点穿过冰冻的湖,而不会掉入任何洞。由于结冰的湖面很滑,玩家可能并不总是朝着预期的方向移动。

Description 描述

The game starts with the player at location [0,0] of the frozen lake grid world with the goal located at far extent of the world e.g. [3,3] for the 4x4 environment.
游戏开始时,玩家位于冰冻湖网格世界的位置 [0,0],目标位于世界的远处,例如 [3,3] 用于 4x4 环境。

Holes in the ice are distributed in set locations when using a pre-determined map or in random locations when a random map is generated.
当使用预先确定的地图时,冰上的孔分布在设定的位置,或者当生成随机地图时,冰上的孔分布在随机位置。

The player makes moves until they reach the goal or fall in a hole.
玩家不断移动,直到他们到达目标或掉进洞里。

The lake is slippery (unless disabled) so the player may move perpendicular to the intended direction sometimes (see is_slippery).
湖面很滑(除非禁用),因此玩家有时可能会垂直于预期方向移动(参见is_slippery)。

Randomly generated worlds will always have a path to the goal.
随机生成的世界将始终有通往目标的路径。

Elf and stool from RPG snow tileset by Franuka

  • 11
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

资源存储库

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值