99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代做159.302、代寫C++設計編程

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



159.302 Artificial Intelligence 
Assignment #1 
N.H.Reyes 
The 8-Puzzle: Search Algorithms 
 
Maximum number of members per group: 3 students 
Deadline for submission: 9th of September 
 
Instructions 
• Your task is to write a C++ program that will solve the 8-puzzle problem using a selection of 
search algorithms, and their variants. 
 
• The successors of a state are to be generated in a FIXED order, namely move the blank tile: Up, 
Right, Down, then Left. For simplicity, make node insertions into the Q, following the same 
order. 
 
• An AnimateSolution() function has been provided that you can use to animate the sequence of 
moves (i.e. path) calculated by the algorithms. A start-up program (compiles with g++ 13.2) 
with a graphics library and routines for running multiple experiments and for generating 
tabulated results are available for downloading from stream. 
 
• It is up to you to write any functions, classes or data structures that you may require. However, 
for each of the algorithm, there is a specific STL data structure that is required. You can use 
cout statements to trace the algorithms’ execution. 
 
• For each implementation of the algorithms below, include codes that will capture the following 
information during the algorithm’s execution. 
 
a. Max. Q length – e.g. 26 
b. Path length - the number of moves to solve the puzzle, e.g. 30 
c. Number of state expansions – e.g. 157 
d. Actual running time in seconds (use the clock() function as shown in the start-up codes) 
 
• Write your algorithm implementations inside the skeleton functions provided for the required 
algorithms. Do not change the names and input parameters of these skeleton functions as the 
batch files would refer to them. Each algorithm implementation should return the sequence of 
moves as a string. Moreover, make sure that your program runs with the supplied routines for 
executing multiple experiments (i.e. batch_run), and for generating the tabulated experiment 
results. Your assignments will be marked using them. 
 
e.g. 
 
string aStar_ExpandedList (string const initialState, string const goalState, int &pathLength, 
int &numOfStateExpansions, int& maxQLength, float &actualRunningTime, 
int &numOfDeletionsFromMiddleOfHeap, int &numOfLocalLoopsAvoided, 
int &numOfAttemptedNodeReExpansions, heuristicFunction heuristic ) 
 
Note that the function uses pass by reference to copy the statistical results back to the calling 
function 

 159.302 Artificial Intelligence 
Assignment #1 
N.H.Reyes 
 
Part 1: Uniform Cost Search with the Strict Expanded List 
• Use the following search node pushing sequence (for a Heap data structure): Up, Right, Down, 
Left 
• Implement the Q container using the heap data structure implementation - available in the C++ 
Standard Template Library (STL): use make_heap(), push_heap(), pop_heap(), etc. 
 
Part 2: A* Search with the Strict Expanded List 
• Use the following search node pushing sequence (for a Heap data structure): Up, Right, Down, 
Left 
• Implement the Q container using the heap data structure implementation - available in the C++ 
Standard Template Library (STL): use make_heap(), push_heap(), pop_heap(), etc. 
 
a) Using the Misplaced Tiles heuristic 
b) Using the Sum of Manhattan Distance heuristic 
 
Part 3: Experiments and Documentation 
Test your implementation of the different algorithms by performing experiments using the 5 given 
(start, goal) state combinations below. Run your program until it either returns a solution, the Q 
becomes empty (no solution), the computer runs out of memory, or until the program crashes. Run 
the program in batch_run all mode to run all the experiments and collect the results easily. 
 
Tabulate the experiment results in an Excel worksheet by converting the output of the batch file into 
a worksheet. Ensure that the format of your tabulation matches the provided template (see 
results_template.xlsx). Name your Excel file using the following format: results_ID.xlsx 
 
Example: (e.g., results_20****65.xlsx). 

In addition, assign the name "results" to the sheet containing the experiment results. For a group 
submission, use one of the group member's ID numbers, but make sure to include the names and 
IDs of all members in the checklist Excel file. 
 
If there is no solution found for a given (start, goal states), simply leave that section blank in the 
table, or write 0 in each of the required statistical measure (e.g. path length, no. of state expansions, 
max q length, running time, etc.). 
 
Specify under the “comments” section of the tabulation of results if any of the following was 
observed for a given (start, goal state) combination: 
• the program ran out of memory 
• program crashed without any warning 
• the Q turned empty; thus, allowing the program to close properly 

ID number 159.302 Artificial Intelligence 
Assignment #1 
N.H.Reyes 
 
(Start, Goal) State Combinations 
Note: 0 - blank space 
 
GOAL STATE: ((1 2 3) 
 (4 5 6) 
 (7 8 0)) 
 
Run the different algorithms on the following START STATES: 
1. 120483765 
2. 208135467 
3. 7048516** 
4. 5364****2 
5. 638541720 
 
Hints: 
You can step through the search by including a getch() function (made available via the graphics 
engine provided in the start-up codes) inside your main loop to pause the program until the user 
presses any key. 
 
Example Sequence: 
 Sequence of states and operations. 
 
You may choose to represent states in an array, of size 9. The moves must be represented using the 
'u', 'd', 'l', 'r' characters. 
 
In notation, the sequence s to get to the goal from the initial state could be represented as: 
s = {d,r,u,u,l,d} You may find it helpful to cout something similar to help debug your program. 
 
Criteria for Marking: 
• Make sure that your program compiles using gcc 13.2 (or later), or clang 15.0 (or later), 
before handing it in. 
• Make sure that you submit a tabulation of all the experiment results, following the 
results_template.xlsx format that comes with the start-up codes package. This will be used 
to accurately analyse your implementation of the algorithms and mark your assignment. You 
will lose 50% of your grade if you fail to perform the required experiments and submit this 
file. 
• Submit the accomplished checklist as part of your documentation. Please download the 
checklist.xlsx Excel file from our Stream site, fill-up the worksheet and rename it by 
concatenating your ID number with the word ‘checklist’. 
 
Name your Excel checklist file using the following format: checklist_ID.xlsx 
 
Example: (e.g., checklist_20****65.xlsx). 
 ID number 159.302 Artificial Intelligence 
Assignment #1 
N.H.Reyes 
• You can work in a group (max. 3 members) for this assignment. 
• Copied work will be given zero marks. 
• Each algorithm implementation will be assessed based on its accuracy and performance on 
the given set of (start/goal) state combinations. 
 
 
---------------------------- 
Nothing follows. 

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





 

掃一掃在手機打開當前頁
  • 上一篇:158.337編程代寫、代做Java/Python程序語言
  • 下一篇:代寫CSCI 2600、java設計編程代做
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                久久天天做天天爱综合色| 欧美偷拍一区二区| 久久99精品久久久久婷婷| 亚洲最新视频在线观看| 亚洲欧洲在线观看av| 国产精品美女久久久久av爽李琼| 国产视频一区在线播放| 精品国产乱码久久久久久1区2区| 欧美久久久影院| 日韩一区二区三区视频| 日韩一区二区三区在线| 日韩欧美一区二区视频| 精品人在线二区三区| 亚洲精品一区二区精华| 国产丝袜在线精品| 日本一区二区在线不卡| 国产精品无人区| 亚洲裸体xxx| 亚洲尤物在线视频观看| 日韩av一级片| 韩国毛片一区二区三区| 国产精品亚洲一区二区三区妖精 | 国产精品99久久久久久久vr| 国产一区二区三区美女| 国产丶欧美丶日本不卡视频| 成人av综合在线| 欧美日韩一区二区三区四区五区 | 91精品国产色综合久久| 欧美精品一区二区三区蜜臀| 国产精品国产a级| 亚洲一区在线视频观看| 蜜桃久久久久久久| 成人精品小蝌蚪| 色久综合一二码| 欧美v日韩v国产v| 中文字幕一区二区三| 亚州成人在线电影| 国产在线精品国自产拍免费| 色视频欧美一区二区三区| 日韩小视频在线观看专区| 国产欧美一区二区三区在线老狼 | 美洲天堂一区二卡三卡四卡视频| 成人午夜av电影| 3d成人动漫网站| 中文字幕一区二区三区在线观看 | 色综合久久综合| 欧美tickling网站挠脚心| 亚洲丝袜美腿综合| 久久99国产精品免费网站| 91蜜桃传媒精品久久久一区二区| 欧美成人欧美edvon| 亚洲午夜电影网| 99精品偷自拍| 国产亚洲短视频| 日本三级亚洲精品| 色一情一伦一子一伦一区| 日韩欧美高清在线| 图片区日韩欧美亚洲| 99久久99久久久精品齐齐| 国产欧美日韩综合| 日本不卡一二三区黄网| 色噜噜夜夜夜综合网| 亚洲国产精品国自产拍av| 免费的成人av| 4438x成人网最大色成网站| 亚洲一二三级电影| 一本大道久久a久久精品综合| 国产片一区二区| 国产精品12区| 久久久99精品久久| 国产精品99久久久久久有的能看| 日韩区在线观看| 人妖欧美一区二区| 3atv一区二区三区| 毛片av一区二区| 日韩午夜av一区| 蜜臀va亚洲va欧美va天堂| 91精品国产入口| 天天影视涩香欲综合网| 欧美精品色综合| 日本在线不卡一区| 精品日韩在线一区| 激情综合网天天干| 久久精品夜夜夜夜久久| 国产99久久久国产精品潘金网站| 久久蜜桃一区二区| 成人激情综合网站| 亚洲免费大片在线观看| 欧美日韩精品欧美日韩精品一| 伊人性伊人情综合网| 在线看日本不卡| 亚洲成人一区在线| 日韩精品一区二区三区在线观看| 蜜桃视频一区二区三区| 精品福利视频一区二区三区| 国产乱对白刺激视频不卡| 国产精品视频你懂的| 99国产欧美另类久久久精品| 亚洲国产日产av| 日韩一区和二区| 国产精品一二三四| 亚洲夂夂婷婷色拍ww47| 欧美久久久久久蜜桃| 国产精品综合一区二区三区| 亚洲欧洲av色图| 日韩欧美高清在线| 97aⅴ精品视频一二三区| 日韩电影一区二区三区四区| 日本一区二区三区dvd视频在线| 色噜噜夜夜夜综合网| 久久激情五月婷婷| 成人免费视频在线观看| 这里只有精品99re| 大胆亚洲人体视频| 日韩在线a电影| 国产精品久久久久久久蜜臀 | 精一区二区三区| 亚洲天堂2016| 久久久精品人体av艺术| 欧美精品视频www在线观看| 国产一区久久久| 香蕉乱码成人久久天堂爱免费| 精品国精品自拍自在线| 欧美性大战久久久久久久| 狠狠网亚洲精品| 午夜精品免费在线| 亚洲少妇30p| 国产蜜臀97一区二区三区| 欧美一区在线视频| 色婷婷一区二区| 成人av在线资源网| 黄一区二区三区| 天堂蜜桃91精品| 亚洲伊人伊色伊影伊综合网| 国产三级三级三级精品8ⅰ区| 欧美日产国产精品| 欧美午夜一区二区| 91小视频免费看| 成人中文字幕电影| 国产九九视频一区二区三区| 久久丁香综合五月国产三级网站 | 久久九九久久九九| 精品国产一区二区三区忘忧草 | 色视频一区二区| 成人av在线资源网| 福利视频网站一区二区三区| 精品无人码麻豆乱码1区2区| 日韩av一区二区在线影视| 亚洲chinese男男1069| 亚洲自拍偷拍图区| 一区二区三区在线免费| 亚洲欧美影音先锋| 国产精品美女久久久久av爽李琼| 欧美激情一区二区三区在线| 久久久午夜精品理论片中文字幕| 日韩欧美国产系列| 久久久.com| 国产女人18毛片水真多成人如厕| 久久精品免费在线观看| 欧美国产日本韩| 自拍视频在线观看一区二区| 亚洲免费在线观看| 亚洲成人资源网| 奇米色一区二区| 国产伦精品一区二区三区免费迷 | 日韩一二三区不卡| 精品国产a毛片| 国产精品家庭影院| 亚洲嫩草精品久久| 三级不卡在线观看| 久久99久久99精品免视看婷婷 | 欧美精品一卡二卡| 久久久久97国产精华液好用吗| 国产精品麻豆久久久| 亚洲激情在线播放| 另类小说视频一区二区| 国产高清精品网站| 色94色欧美sute亚洲线路一久| 欧美日韩久久一区二区| 精品国产乱码久久| 亚洲啪啪综合av一区二区三区| 亚洲成人7777| 国产电影一区在线| 欧美日韩大陆在线| 日本一区二区三区在线观看| 亚洲妇熟xx妇色黄| 成人av免费网站| 日韩一区二区视频在线观看| 欧美韩国日本一区| 日本午夜一区二区| 高清av一区二区| 日韩视频一区在线观看| 日韩一区中文字幕| 精品亚洲aⅴ乱码一区二区三区| fc2成人免费人成在线观看播放| 欧美日本一区二区三区| 成人免费小视频| 精品一二三四在线| 欧美性生交片4| 中文字幕亚洲一区二区av在线 |