国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫COMP3702、代做Python編程語言

時間:2024-08-22  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



COMP3702 Assignment 1: Search in BeeBot
The BeeBot AI Environment
You have been tasked with developing a search algorithm for automatically controlling BeeBot, a Bee
which operates in a hexagonal environment, and has the capability to push, pull and rotate honey ‘Widgets’
in order to reposition them to target honeycomb locations. To aid you in this task, we have provided
support code for the BeeBot environment which you will interface with to develop your solution at https:
//github.com/comp3702/2024-Assignment-**Support-Code. To optimally solve a level, your AI agent
must efficiently find a sequence of actions so that every Target honeycomb cell is occupied by part of a
Widget, while incurring the minimum possible action cost.
Levels in BeeBot are composed of a Hexagonal grid of cells, where each cell contains a character representing
the cell type. An example game level is shown in Figure 1.
Figure 1: Example game level of BeeBot, showing character-based and GUI visualiser representations
Page 1
COMP3702 Assignment 1: Search in BeeBot
Environment representation
Hexagonal Grid
The environment is represented by a hexagonal grid. Each cell of the hex grid is indexed by (row, column)
coordinates. The hex grid is indexed top to bottom, left to right. That is, the top left corner has coordinates
(0, 0) and the bottom right corner has coordinates (nrows ? 1, ncols ? 1). Even numbered columns (starting
from zero) are in the top half of the row, and odd numbered columns are in the bottom half of the row. An
example is shown in Figure 2.
____ ____
/ \ / \
/row 0 \____/row 0 \____ ...
\col 0 / \col 2 / \
\____/row 0 \____/row 0 \ ...
/ \col 1 / \col 3 /
/row 1 \____/row 1 \____/ ...
\col 0 / \col 2 / \
\____/row 1 \____/row 1 \ ...
\col 1 / \col 3 /
... \____/ ... \____/
... ...
Figure 2: Example hexagonal grid showing the order that rows and columns are indexed
Two cells in the hex grid are considered adjacent if they share an edge. For each non-border cell, there are 6
adjacent cells.
The BeeBot Agent and its Actions
The BeeBot Bee occupies a single cell in the hex grid. In the visualisation, the Bee is represented by the
cell marked with the character ‘R’ (or the Bee in the graphical visualiser). The side of the cell marked with
‘*’ (or the arrow in the graphical visualiser) represents the front of the Bee. The state of the Bee is defined
by its (row, column) coordinates and its orientation (i.e. the direction its front side is pointing towards).
At each time step, the agent is prompted to select an action. The Bee has 4 available actions:
? Forward → move to the adjacent cell in the direction of the front of the Bee (keeping the same
orientation)
? Reverse→ move to the adjacent cell in the opposite direction to the front of the Bee (keeping the same
orientation)
? Spin Left → rotate left (relative to the Bee’s front, i.e. counterclockwise) by 60 degrees (staying in the
same cell)
? Spin Right → rotate right (i.e. clockwise) by 60 degrees (staying in the same cell)
The Bee is equipped with a gripper on its front side which allows it to manipulate honey Widgets. When the
Bee is positioned with its front side adjacent to a honey Widget, performing the ‘Forward’ action will result in
the Widget being pushed, while performing the ‘Reverse’ action will result in the honey Widget being pulled.
Action Costs
Each action has an associated cost, representing the amount of energy used by performing that action.
If the Bee moves without pushing or pulling a honey widget, the cost of the action is given by a base action
cost, ACTION_BASE_COST[a] where ‘a’ is the action that was performed.
If the Bee pushes or pulls a honey widget, an additional cost of ACTION_PUSH_COST[a] is added on top, so
the total cost is ACTION_BASE_COST[a] + ACTION_PUSH_COST[a].
The costs are detailed in the constants.py file of the support code:
ACTION_BASE_COST = {FORWARD: 1.0, REVERSE: 1.0, SPIN_LEFT: 0.1, SPIN_RIGHT: 0.1}
ACTION_PUSH_COST = {FORWARD: 0.8, REVERSE: 0.5, SPIN_LEFT: 0.0, SPIN_RIGHT: 0.0}
Page 2
COMP3702 Assignment 1: Search in BeeBot
Obstacles
Some cells in the hex grid are obstacles. In the visualisation, these cells are filled with the character ‘X’
(represented as black cells in the graphical visualiser). Any action which causes the Bee or any part of a
honey Widget to enter an obstacle cell is invalid (i.e. results in collision). The outside boundary of the hex
grid behaves in the same way as an obstacle.
Widgets
Honey Widgets are objects which occupy multiple cells of the hexagonal grid, and can be rotated and translated
by the BeeBot Bee. The state of each honey widget is defined by its centre position (row, column)
coordinates and its orientation. Honey Widgets have rotational symmetries - orientations which are rotationally
symmetric are considered to be the same.
In the visualisation, each honey Widget in the environment is assigned a unique letter ‘a’, ‘b’, ‘c’, etc. Cells
which are occupied by a honey Widget are marked with the letter assigned to that Widget (surrounded by
round brackets). The centre position of the honey Widget is marked by the uppercase version of the letter,
while all other cells occupied by the widget are marked with the lowercase.
Three honey widget types are possible, called Widget3, Widget4 and Widget5, where the trailing number
denotes the number of cells occupied by the honey Widget. The shapes of these three honey Widget types
and each of their possible orientations are shown in Figures 3 to 5 below.
VERTICAL
_____
SLANT_LEFT / \ SLANT_RIGHT
_____ / (a) \ _____
/ \ \ / / \
/ (a) \_____ \_____/ _____/ (a) \
\ / \ / \ / \ /
\_____/ (A) \_____ / (A) \ _____/ (A) \_____/
\ / \ \ / / \ /
\_____/ (a) \ \_____/ / (a) \_____/
\ / / \ \ /
\_____/ / (a) \ \_____/
\ /
\_____/
Figure 3: Widget3
UP DOWN
_____ _____ _____
/ \ / \ / \
/ (a) \ / (a) \_____/ (a) \
\ / \ / \ /
\_____/ \_____/ (A) \_____/
/ \ \ /
_____/ (A) \_____ \_____/
/ \ / \ / \
/ (a) \_____/ (a) \ / (a) \
\ / \ / \ /
\_____/ \_____/ \_____/
Figure 4: Widget4
SLANT_RIGHT SLANT_LEFT
_____ _____
HORIZONTAL / \ / \
_____ _____ / (a) \_____ _____/ (a) \
/ \ / \ \ / \ / \ /
/ (a) \_____/ (a) \ \_____/ (a) \ / (a) \_____/
\ / \ / / \ / \ / \
\_____/ (A) \_____/ _____/ (A) \_____/ \_____/ (A) \_____
/ \ / \ / \ / \ / \
/ (a) \_____/ (a) \ / (a) \_____/ \_____/ (a) \
\ / \ / \ / \ / \ /
\_____/ \_____/ \_____/ (a) \ / (a) \_____/
\ / \ /
\_____/ \_____/
Figure 5: Widget5
Page 3
COMP3702 Assignment 1: Search in BeeBot
Two types of widget movement are possible – translation (change in centre position) and rotation (change in
orientation).
Translation occurs when the Bee is positioned with its front side adjacent to one of the honey widgets’ cells
such that the Bee’s orientation is in line with the honey widget’s centre position. Translation results in the
centre position of the widget moving in the same direction as the Bee. The orientation of the honey Widget
does not change when translation occurs. Translation can occur when either ‘Forward’ or ‘Reverse’ actions
are performed. For an action which results in translation to be valid, the new position of all cells of the moved
widget must not intersect with the environment boundary, obstacles, the cells of any other honey Widgets or
the Bee’s new position.
Rotation occurs when the Bee’s current position is adjacent to the centre of the widget but the Bee’s
orientation does not point towards the centre of the widget. Rotation results in the honey widget spinning
around its centre point, causing the widget to change orientation. The position of the centre point does not
change when rotation occurs. Rotation can only occur for the ‘Forward’ action - performing ‘Reverse’ in a
situation where ‘Forward’ would result in a widget rotation is considered invalid.
The following diagrams show which moves result in translation or rotation for each honey Widget type, with
the arrows indicating directions from which the Bee can push or pull a widget in order to cause a translation
or rotation of the widget. Pushing in a direction which is not marked with an arrow is considered invalid.
Forward Translate
Reverse Translate
Forward Rotate CW
Reverse Rotate CCW
Figure 6: Widget3 translations and rotations
Forward Translate
Reverse Translate
Forward Rotate CW
Reverse Rotate CCW
Figure 7: Widget4 translations and rotations
Page 4
COMP3702 Assignment 1: Search in BeeBot
Forward Translate
Reverse Translate
Forward Rotate CW
Reverse Rotate CCW
Figure 8: Widget5 translations and rotations
Targets
The hex grid contains a number of ‘target’ honeycomb cells which must be filled with honey. In the visuali-
sation, these cells are marked with ‘tgt’ (cells coloured in orange in the graphical visualiser). For a BeeBot
environment to be considered solved, each target cell must be occupied by part of a honey Widget. The
number of targets in an environment is always less than or equal to the total number of cells occupied by all
honey Widgets.
Interactive mode
A good way to gain an understanding of the game is to play it. You can play the game to get a feel for
how it works by launching an interactive game session from the terminal with the following command for the
graphical visualiser:
$ python play_game.py .txt
or the following command for the command-line ASCII-character based visualiser:
$ python play.py .txt
where .txt is a valid testcase file (from the support code, with path relative to the current
directory), e.g. testcases/ex1.txt.
Depending on your python installation, you should run the code using python, python3 or py.
In interactive mode, type the symbol for your chosen action (and press enter in the command line version) to
perform the action: press ’W’ to move the Bee forward, ’S’ to move the Bee in reverse, ’A’ to turn the Bee
left (counterclockwise) and ’D’ to turn the Bee right (clockwise). Use ’Q’ to quit the simulation, and ’R’ to
reset the environment to the initial configuration.
Page 5

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

掃一掃在手機打開當前頁
  • 上一篇:代做Electric Vehicle Adoption Tools 、代寫Java程序設計
  • 下一篇:COS110代做、代寫C/C++設計程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    亚洲va欧美va在线观看| 欧美精品一区三区| 中文字幕在线观看一区二区三区| 国产第一页视频| 亚洲一区二区三区欧美| 久久频这里精品99香蕉| 日韩av免费在线看| 国产精品成人播放| 日韩在线视频中文字幕| 91老司机精品视频| 久久久久久久久久久福利| 日韩福利在线| 欧美成人精品一区| 国产成人亚洲精品| 97人人爽人人喊人人模波多| 国内精品久久久久久久久| 国产伦精品一区| 国产精品久久久久久婷婷天堂| 77777亚洲午夜久久多人| 欧美日韩国产精品一区二区| 日日鲁鲁鲁夜夜爽爽狠狠视频97| 国产精品乱码一区二区三区| 久久99精品久久久久久三级| 日韩欧美猛交xxxxx无码| 欧美激情a在线| 国产精品欧美日韩一区二区| 国产精品稀缺呦系列在线| 欧美视频第一区| 视频一区免费观看| 69**夜色精品国产69乱| 国产精品久久久久久久久电影网| av一区二区三区免费| 精品日本一区二区三区| 国产精品欧美一区二区三区奶水| 九九热久久66| 国产高清在线一区| 日韩精品 欧美| 精品视频在线观看一区二区| 国产综合香蕉五月婷在线| 久久国产精品首页| 国产精品99久久久久久人| 国产精品视频免费观看| 日韩色av导航| 国产一区二区三区小说| 欧美精品成人一区二区在线观看| 久久在精品线影院精品国产| 国产精品主播视频| 国产精品国产福利国产秒拍| 久久久av网站| 国产精品免费一区二区| 欧美日韩精品免费观看| 日韩免费观看视频| 欧美一区视频在线| 狠狠综合久久av| 国产美女精品久久久| 97人人香蕉| 国产精品自产拍高潮在线观看 | 都市激情久久久久久久久久久| 色综合天天综合网国产成人网| 国产精品毛片va一区二区三区| 国产精品日韩欧美一区二区 | 最新中文字幕久久| 一本久道高清无码视频| 日本在线精品视频| 欧美福利精品| 国产区亚洲区欧美区| 国产乱码精品一区二区三区日韩精品| 欧美一级黑人aaaaaaa做受| 欧美一区二区三区艳史| 日韩av免费电影| 欧美日韩性生活片| 国产精品综合久久久| 久久国产午夜精品理论片最新版本| 久久久999国产| 久久免费视频观看| 国产又粗又猛又爽又黄的网站| 国产精品一区二区三区精品| 91久久大香伊蕉在人线| 国产成人精品一区二区| 久久成人亚洲精品| 日韩精品伦理第一区| 亚洲熟妇无码另类久久久| 精品蜜桃传媒| 丁香六月激情网| 欧美精品一区二区三区三州| 91九色对白| 久精品国产欧美| 久久99久久亚洲国产| 日韩欧美精品一区二区| 久久精品99国产精品酒店日本 | 亚洲一区二区三区乱码aⅴ | 国产l精品国产亚洲区久久| 国产在线999| 国内精品久久久久久中文字幕| 精品乱色一区二区中文字幕| 日韩高清av| 亚洲中文字幕无码中文字| 欧美性猛交久久久乱大交小说| 国产成人精品免高潮在线观看| 精品国产一区二区三区久久久狼| 日本在线观看天堂男亚洲| 国产欧美一区二区三区视频 | 九九九久久国产免费| 欧美久久综合性欧美| 狠狠色综合网站久久久久久久| 国产偷人视频免费| 久久综合伊人77777| 国模无码视频一区二区三区| 国产不卡一区二区在线播放| 亚洲国产精品视频一区| 成 年 人 黄 色 大 片大 全| 国产精品免费福利| 欧美精品久久久久a| 黄色高清无遮挡| 国产精品污www一区二区三区| 日韩精品福利片午夜免费观看| 久久久久久久久久久久久久久久av | 成年人网站国产| 九九热只有这里有精品| 日韩av片免费在线观看| 久久久精品在线视频| 一区二区三区观看| 91美女片黄在线观看游戏| 亚洲日本精品国产第一区| 国产v综合ⅴ日韩v欧美大片| 久久99久久99精品中文字幕 | 一道精品一区二区三区| 国产欧美日韩免费| 久久91亚洲精品中文字幕| 国产日韩欧美日韩大片| 国产精品久久久久久一区二区| 久久精品亚洲一区| 午夜精品亚洲一区二区三区嫩草 | 九九热精品在线| 国产精品亚洲自拍| 无码播放一区二区三区| 国产日产欧美一区二区| 久久久精品动漫| 欧美丰满熟妇xxxxx| 久久国产精品影片| 97成人在线观看视频| 激情一区二区三区| 国产精品大陆在线观看| 91九色蝌蚪国产| 在线视频91| 成人精品视频一区二区| 日韩中文字幕一区| 国产精品久久久av久久久| 久久噜噜噜精品国产亚洲综合| 奇米888一区二区三区| 欧美激情欧美激情在线五月| 国产激情在线观看视频| 国产中文欧美精品| 97国产一区二区精品久久呦| 国产精品久久久影院| 韩国日本不卡在线| 久色乳综合思思在线视频| 亚洲欧洲久久| 欧美精品一区二区性色a+v| 动漫3d精品一区二区三区| 国产精品美女呻吟| 国产精品女人网站| 91久久大香伊蕉在人线| 精品视频高清无人区区二区三区| 亚洲人精品午夜射精日韩| 国产精品久久久影院| 国产精品视频男人的天堂| 色综合影院在线观看| 亚洲综合av影视| 久久久精品国产亚洲| 国产精品一区二| 天天好比中文综合网| 91精品国产综合久久香蕉的用户体验 | 欧美激情xxxxx| 欧美日韩国产综合在线| 91免费国产视频| 久久中国妇女中文字幕| 欧洲精品在线播放| 久久琪琪电影院| 亚洲一区精品视频| 国产日韩视频在线观看| 久久精品小视频| 日本亚洲欧美成人| 97人人干人人| 久久国产精品久久国产精品| 欧美在线观看一区二区三区| 久久人人97超碰人人澡爱香蕉| 国产av不卡一区二区| 免费观看精品视频| 久久久久北条麻妃免费看| 日韩免费观看网站| 久久国产精品一区二区三区四区| 婷婷四房综合激情五月| 99久久久精品免费观看国产| 久久成人免费视频| 国产制服91一区二区三区制服| 国产精品旅馆在线| 黄在线观看网站| 国产精品久久久久久久午夜| 男女猛烈激情xx00免费视频|