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

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代寫COMP3702、代做Python編程語(yǔ)言

時(shí)間:2024-08-22  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



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

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:代做Electric Vehicle Adoption Tools 、代寫Java程序設(shè)計(jì)
  • 下一篇:COS110代做、代寫C/C++設(shè)計(jì)程序
  • 無(wú)相關(guān)信息
    合肥生活資訊

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

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品第12页| 日韩一二三区不卡在线视频| 91麻豆国产语对白在线观看| 国产三区在线视频| 国产在线精品自拍| 国产又粗又长又爽视频| 国产最新免费视频| 国产欧洲精品视频| www.av毛片| 国产成人自拍视频在线观看| 日韩中文字幕在线| 久久久久久久久久久久久久久久久久av | 日韩高清专区| 午夜精品免费视频| 欧美一区二区三区综合| 亚洲va男人天堂| 日韩av色综合| 欧美在线观看日本一区| 欧美日本亚洲| 国产在线精品一区二区三区| 高清一区二区三区视频| 久久久这里只有精品视频| 九九热久久66| 国产精品美女免费看| 欧美成人性色生活仑片| 亚洲一区二区三区在线免费观看| 在线观看欧美一区| 日本少妇高潮喷水视频| 黄色一级片播放| 97人人模人人爽人人少妇| 久久久99爱| 国产精品久久激情| 亚洲人成网站在线播放2019| 欧美中文字幕精品| 成人国产亚洲精品a区天堂华泰| 久久久国内精品| 国产精品精品视频一区二区三区 | 久久人人爽爽人人爽人人片av| 久久久久久久久爱| 久久亚洲电影天堂| 亚洲国产精品综合| 欧美日韩国产综合视频在线| 成人免费a级片| 国产精品日韩欧美一区二区三区| 在线观看一区欧美| 欧美精品尤物在线| 91麻豆桃色免费看| 国产精品久久久久9999小说| 午夜精品一区二区三区在线播放| 国产综合中文字幕| 久久久久久久久久福利| 一区二区三区观看| 黄色一级片在线看| 国产成人在线播放| 欧美精品久久久久久久| 黄色大片在线免费看| av资源站久久亚洲| 欧美精品一区三区| 日韩不卡一二区| 国产精品午夜视频| 国产精品入口夜色视频大尺度| 亚洲一区二区三区在线观看视频 | 欧美国产一区二区在线| 久久综合伊人77777麻豆| 欧美成人四级hd版| 欧美亚洲日本黄色| 99国产盗摄| 国产精品高潮在线| 欧洲亚洲一区二区三区四区五区| www国产黄色| 欧美激情亚洲视频| 国产欧美高清在线| 久热精品视频在线观看| 狠狠干一区二区| 久久视频中文字幕| 日韩精品极品视频在线观看免费| 国产成人中文字幕| 水蜜桃亚洲精品| 天堂√在线观看一区二区| 国产裸体免费无遮挡| 久久九九精品99国产精品| 亚洲精品日韩精品| 国产免费一区二区三区视频| 国产精品初高中精品久久| 欧美久久久久久一卡四| 久久久久久久久久久久久9999| 熟女视频一区二区三区| 91国视频在线| 视频一区视频二区视频三区视频四区国产| 国产精品午夜一区二区欲梦| 欧美精品videofree1080p| 国产精品制服诱惑| 亚洲综合视频一区| www.亚洲视频.com| 亚洲欧美精品| 国产福利视频在线播放| 日韩视频免费在线播放| 91久久综合亚洲鲁鲁五月天| 亚洲在线观看视频| 99在线热播| 日本手机在线视频| 国产精品视频500部| 国产在线青青草| 亚洲日本一区二区三区在线不卡| 久久久一二三四| 欧美日韩精品免费观看视一区二区 | 欧美日韩一区二| 国产精品美腿一区在线看| 国产主播在线看| 亚洲在线www| 国产高清自拍一区| 欧美日韩二三区| 国产精品国产三级国产专区53| 国产免费久久av| 色综合视频二区偷拍在线| zzjj国产精品一区二区| 精品无码久久久久久久动漫| 一级特黄妇女高潮| 久久久久久久久久久国产| 国产综合在线看| 五月天婷亚洲天综合网鲁鲁鲁| 啊v视频在线一区二区三区 | av在线不卡一区| 亚洲综合自拍一区| 国产成人精品免费久久久久| 欧美日韩黄色一级片| 最新国产精品久久| 色偷偷88888欧美精品久久久 | 99视频在线免费播放| 日韩精彩视频| 欧美日韩xxxxx| 久久精品国产精品青草色艺| 国内成人精品一区| 亚洲最大成人网色| 国产成人免费观看| 成人免费淫片aa视频免费| 日韩.欧美.亚洲| 国产精品久久久久91| 91美女福利视频高清| 激情综合网婷婷| 亚洲v国产v在线观看| 国产精品三级在线| 国产成人精品免费视频大全最热| 国产亚洲情侣一区二区无| 日本免费久久高清视频| 伊人婷婷久久| 久久夜精品va视频免费观看| 久久国产精品久久| 国产日韩一区二区在线| 日本在线视频www| 九九精品在线观看| 久久久精品视频成人| 97精品国产97久久久久久粉红| 激情五月宗合网| 日韩精品久久一区二区三区| 亚洲一区二区高清视频| 国产精品黄视频| 久久久精品免费视频| 国产成人在线小视频| 99精品在线免费视频| 国产欧美在线一区| 黄色免费福利视频| 秋霞久久久久久一区二区| 成人精品久久久| 国产精品网站视频| www.99久久热国产日韩欧美.com| 久久久免费精品视频| 欧美一区二区高清在线观看 | 国内精品久久久久久中文字幕| 久久精品国产欧美亚洲人人爽| 国产中文一区二区| 日韩女优人人人人射在线视频| 一区二区精品国产| 欧美 国产 日本| 国产成人精品日本亚洲| 粉嫩av四季av绯色av第一区| 精品视频一区二区在线| 日本久久精品视频| 亚洲二区自拍| 亚洲在线一区二区| 中文字幕在线乱| 亚洲在线免费看| 一区不卡字幕| 亚洲日本精品国产第一区| 一区二区在线不卡| 亚洲国产精品一区二区第四页av | 日韩中文字幕三区| 欧美一区二区三区……| 亚洲精品日韩成人| 亚洲va韩国va欧美va精四季| 在线观看成人一级片| 一本色道久久88亚洲精品综合| 欧美黄网免费在线观看| 中文字幕一区二区三区四区五区人 | 日韩极品视频在线观看| 欧美一级免费视频| 日韩亚洲不卡在线| 人妻无码视频一区二区三区| 欧美最猛性xxxx| 激情视频在线观看一区二区三区|