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;">

                亚洲av无码一区东京热久久| 在线观看日本中文字幕| 精品成人免费视频| 国产免费看av| 久久午夜鲁丝片| 日韩少妇一区二区| 婷婷开心激情网| 亚洲天堂av网站| 国产不卡av在线播放| 国精产品一区二区三区| 欧美激情第3页| 亚洲va在线观看| 一级片视频免费观看| 国产 日韩 欧美 精品| 久操视频免费在线观看| 特黄特色免费视频| 亚洲视频在线免费播放| 国产乱国产乱老熟| 欧美性猛交xxxx乱大交91| 一区二区三区在线免费观看视频| 亚洲精品无码久久久久| 国产日韩欧美在线观看视频| 欧美成人精品欧美一级乱黄| 在线免费观看日韩av| www.亚洲高清| 女人18毛片一区二区三区| 无码人妻aⅴ一区二区三区有奶水| 久久久无码人妻精品无码| 美女久久久久久久久| 香蕉av一区二区三区| 99精品一区二区三区无码吞精| 国产一区二区三区视频播放| 色噜噜在线观看| 97人妻精品视频一区| 免费在线黄色网| 亚洲精品性视频| 精品久久久99| 在线视频日韩欧美| 国产一级做a爰片在线看免费| 无码人妻精品一区二区蜜桃色欲| 成人av一区二区三区在线观看| 毛片毛片毛片毛片毛片毛片毛片毛片毛片| 午夜精品久久久久久久第一页按摩 | 中文字幕黄色片| 亚洲国产精品18久久久久久| 国产免费一区二区三区最新不卡 | 香港三日本8a三级少妇三级99| 成年人小视频在线观看| 日本免费福利视频| 丰满大乳国产精品| 亚洲成人手机在线观看| 国产在线视频你懂的| 亚洲视频在线免费播放| 内射后入在线观看一区| av黄色免费在线观看| 色婷婷综合视频| 国产在线视频你懂的| 中文字幕在线网址| 欧美日韩综合在线观看| 国产高潮在线观看| 中文无码精品一区二区三区| 免费在线视频观看| 国产成人精品亚洲男人的天堂| 无码精品人妻一区二区三区影院| 国产一级片自拍| 亚洲综合av在线播放| 天天综合网入口| 老熟妻内射精品一区| www.亚洲高清| 亚洲精品一区二区三区不卡| 日韩精品在线播放视频| 精品人妻伦九区久久aaa片| 一级 黄 色 片一| 亚洲AV无码片久久精品| 欧美一级淫片aaaaaa| 国产伦精品一区三区精东| 亚洲中文字幕无码一区| 午夜精品在线播放| 人人艹在线视频| 精品无码av一区二区三区| www色aa色aawww| 亚洲综合伊人久久| 这里只有久久精品视频| 日本二区三区视频| 蜜桃色一区二区三区| 国产一级片视频| 国产极品在线播放| 不卡一区二区在线观看| 69亚洲精品久久久蜜桃小说| 中文 日韩 欧美| 亚洲不卡免费视频| 亚洲a v网站| 亚洲 欧美 国产 另类| 日韩久久久久久久久| 人妻少妇一区二区| 欧美激情视频二区| 人妻一区二区三区四区| 欧美丝袜在线观看| 欧美日韩在线国产| 欧美三级午夜理伦| 欧美特级黄色片| 人人爽人人av| 日韩av网站在线播放| 欧美一级特黄aaaaaa大片在线观看| 久久久国产精品黄毛片| 久久久久亚洲av成人片| 久久这里只有精品国产| 妺妺窝人体色www聚色窝仙踪| 免费黄色小视频在线观看| 老熟妇精品一区二区三区| 男女性高潮免费网站| 欧美激情一区二区三区免费观看| 美女黄色片视频| 日本视频在线免费| 四虎免费在线视频| 中国黄色一级视频| 3d动漫精品啪啪一区二区下载| av网站免费大全| 国产精品一区二区人人爽| 国产又粗又黄又猛| 乐播av一区二区三区| 人妻体内射精一区二区三区| 手机av免费在线观看| 亚洲爱爱综合网| 一本到在线视频| 国产成人亚洲欧洲在线| 极品久久久久久久| 欧美成人精品网站| 性久久久久久久久久久久久久| 亚洲日本香蕉视频| 丰满人妻老熟妇伦人精品| 国产一级做a爱片久久毛片a| 欧美第一页在线观看| 午夜性色福利视频| 亚洲欧洲国产视频| 国产福利第一视频| 久久免费播放视频| 午夜免费视频网站| 999国产精品视频免费| 国产亚洲精品久久久久久无几年桃| 久久久久久久99| 性感美女一级片| 波多野结衣亚洲一区二区| 久久av高潮av无码av喷吹| 无码人妻丰满熟妇区毛片蜜桃精品| 亚洲区一区二区三| 黄网在线观看视频| 天堂av免费在线观看| 亚洲污视频在线观看| 国产又爽又黄免费软件| 日日摸天天添天天添破| 一级国产黄色片| 久久久久亚洲av片无码| 中文字幕久久久久| 国产视频精品视频| 特黄特色免费视频| 不卡的在线视频| 人人妻人人澡人人爽| 一级特黄a大片免费| 蜜乳av中文字幕| 亚洲午夜久久久久久久国产| 国产又大又黄又爽| 在线中文字日产幕| 极品久久久久久| 中文字幕一二三四区| 九九热这里有精品视频| 亚洲黄色片视频| 久久精品第一页| 亚洲精品乱码久久久久久久| 精品夜夜澡人妻无码av| 在线视频一二区| 久久精品www| 一级黄色小视频| 欧美综合视频在线| av在线网站观看| 少妇激情一区二区三区| 国产乱女淫av麻豆国产| 五月婷婷六月丁香| 国产一区二区播放| 亚洲欧美激情国产综合久久久| 久久久福利影院| www.天天射.com| 午夜不卡福利视频| 精品在线观看一区| 亚洲欧美日韩精品一区| 欧美视频久久久| 国产激情第一页| 中文字幕观看av| 青青青国产在线| 国产香蕉精品视频| 亚洲一区日韩精品| 四季av中文字幕| 久久免费手机视频| 成人av手机在线| 亚洲精品乱码久久久久久9色| 全部免费毛片在线播放一个| 国产亚洲精品成人a| 538国产视频| 中文字幕第四页| 台湾佬中文在线|