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_20298765.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_20298765.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設計編程代做
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

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

          9000px;">

                大白屁股一区二区视频| 91福利精品视频| 久久精品国产一区二区三区免费看| 欧美伦理视频网站| 国产福利精品一区| 一区二区激情小说| 国产精品综合二区| 欧美性色综合网| 精品精品欲导航| 亚洲男同性视频| 成人h动漫精品一区二| 精品日本一线二线三线不卡| 一区二区在线观看免费| 亚洲国产高清不卡| 久久精品国产精品亚洲红杏 | 成人黄色在线看| 久久99国产精品麻豆| 色哟哟一区二区在线观看| 成熟亚洲日本毛茸茸凸凹| 99国产精品国产精品毛片| 5858s免费视频成人| 日韩精品一区国产麻豆| 精品电影一区二区三区 | 欧美日韩免费电影| 欧美一级片免费看| 国产亚洲综合av| 亚洲高清三级视频| 国产精品激情偷乱一区二区∴| www.成人网.com| 亚洲欧美日韩国产综合在线| 国产白丝精品91爽爽久久| 欧美成人三级在线| 波多野结衣的一区二区三区| 亚洲成人自拍网| 日本一区二区久久| 欧美一区二区三区小说| 成人精品小蝌蚪| 久久国产综合精品| 一区二区三区中文字幕在线观看| 欧美zozo另类异族| 日韩视频中午一区| 色综合视频在线观看| 国产成人av资源| 久久丁香综合五月国产三级网站| 亚洲精选视频免费看| 综合精品久久久| 中文字幕一区二区日韩精品绯色| 精品一区二区三区在线播放视频 | 99视频在线精品| 国产精品久久午夜夜伦鲁鲁| 99在线精品免费| 成人网在线免费视频| 中文字幕亚洲区| 国产精品进线69影院| 中文字幕一区在线观看| 亚洲欧美日韩一区二区 | 亚洲欧美日韩国产中文在线| 精品国产精品网麻豆系列| 精品第一国产综合精品aⅴ| 日韩欧美国产系列| 欧美一区二区精品| 欧美视频日韩视频在线观看| 91亚洲国产成人精品一区二区三| 中文字幕精品一区二区三区精品 | 中文字幕中文字幕中文字幕亚洲无线| 久久久精品免费免费| 精品欧美久久久| 国产精品初高中害羞小美女文| 欧美一级理论性理论a| 日韩精品中文字幕在线一区| 国产精品日产欧美久久久久| 亚洲精品中文在线| 国产大陆亚洲精品国产| jlzzjlzz欧美大全| 日韩成人一区二区三区在线观看| 亚洲国产成人av网| 亚洲午夜影视影院在线观看| 亚洲午夜久久久久中文字幕久| 亚洲国产日韩a在线播放| 亚洲综合清纯丝袜自拍| 亚洲成人你懂的| 九色|91porny| 日韩一级视频免费观看在线| 亚洲一区二区三区小说| 一区二区三区欧美在线观看| 蜜臀久久99精品久久久久久9| 麻豆精品视频在线观看| 成人免费毛片app| 欧美日韩精品二区第二页| 欧美一区二区日韩| 亚洲欧洲日韩综合一区二区| 亚洲综合色噜噜狠狠| 国产一区二区0| 久久99精品久久久| 欧亚洲嫩模精品一区三区| 日韩视频在线一区二区| 中文字幕欧美国产| 亚洲超碰97人人做人人爱| 国产精品66部| 91麻豆精品国产91| 亚洲婷婷综合色高清在线| 老鸭窝一区二区久久精品| 日韩欧美国产一区在线观看| 色综合久久综合网| 久久久久久综合| 韩国精品一区二区| 国产精品素人一区二区| 91精品国产综合久久久久久久 | 色欧美乱欧美15图片| 日韩黄色小视频| 亚洲欧洲日韩女同| 国产午夜亚洲精品不卡 | 精品一区二区三区日韩| 一区二区三区久久| 亚洲久本草在线中文字幕| 中文在线一区二区| 日本一区二区三区视频视频| 欧美r级电影在线观看| 欧美日韩精品三区| 欧美日韩在线电影| 69久久99精品久久久久婷婷 | 亚洲欧美偷拍三级| 亚洲欧洲日产国码二区| 久久久亚洲精品石原莉奈| 欧美日韩一级黄| 一本高清dvd不卡在线观看| 成人av在线资源网| 欧美偷拍一区二区| 欧美一区二区三区精品| 精品日本一线二线三线不卡| 91精品国产综合久久久久久久| 欧美影视一区在线| 日韩色视频在线观看| 日韩三级中文字幕| 亚洲精品欧美二区三区中文字幕| 国产精品久久久久久福利一牛影视 | 精品国产乱码久久久久久浪潮| 日韩一级片网站| 亚洲免费大片在线观看| 久久精品国产99| 国产精品午夜在线| 美女视频黄频大全不卡视频在线播放 | 91美女片黄在线| 中文一区在线播放| 91视频.com| 精品一区二区三区久久| 自拍偷拍亚洲欧美日韩| 欧美色老头old∨ideo| 韩国精品主播一区二区在线观看| 中文字幕精品在线不卡| 欧美熟乱第一页| 国产一区二区三区不卡在线观看| 国产精品麻豆一区二区| 精品一区二区三区在线观看| 在线综合视频播放| 久久精品国产99国产精品| 欧美日韩一区二区三区免费看| 亚洲成人第一页| 欧美日韩第一区日日骚| 国产视频在线观看一区二区三区| 国产精品一卡二| 亚洲精品国产成人久久av盗摄 | 久草热8精品视频在线观看| 久久亚洲综合色一区二区三区| 久久精品国产成人一区二区三区 | 洋洋av久久久久久久一区| 欧美一区二区精品在线| 激情欧美一区二区三区在线观看| 日韩理论在线观看| 久久久亚洲高清| 国产清纯白嫩初高生在线观看91 | 国产呦精品一区二区三区网站| 久久久激情视频| 在线综合视频播放| 91蝌蚪国产九色| 99精品视频一区二区三区| 国产精品一品视频| 国产精品自拍网站| bt7086福利一区国产| 国产**成人网毛片九色| 成人国产亚洲欧美成人综合网| 国产69精品一区二区亚洲孕妇 | 在线免费观看日本欧美| 精品写真视频在线观看| 美国十次了思思久久精品导航| 亚洲免费在线观看| 亚洲伊人伊色伊影伊综合网 | 欧美一级夜夜爽| 日韩亚洲欧美高清| 国产精品免费久久久久| 亚洲成人在线免费| 99久久夜色精品国产网站| 91精品国产综合久久久久| 在线观看免费成人| 亚洲精品久久久久久国产精华液| 国产精品一区免费在线观看| 欧美一区二区三区在线观看视频| 777亚洲妇女| 国产亚洲制服色| 免费人成精品欧美精品|