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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          欧美淫片网站| 一本久久综合| 久久久亚洲精品一区二区三区| 国产精品久久国产精麻豆99网站| 亚洲国产欧美国产综合一区| 欧美一区二区视频观看视频| 国产精品成人国产乱一区| 亚洲三级电影全部在线观看高清| 蜜臀久久久99精品久久久久久| 在线观看日韩精品| 美日韩精品免费观看视频| 欧美福利一区| 亚洲综合成人婷婷小说| 欧美视频中文在线看| 一本高清dvd不卡在线观看| 欧美另类69精品久久久久9999| 激情欧美日韩一区| 美女尤物久久精品| 亚洲精品视频啊美女在线直播| 欧美片网站免费| 亚洲欧美国产另类| 国内不卡一区二区三区| 欧美va天堂在线| 亚洲国产女人aaa毛片在线| 蜜桃av综合| 在线视频你懂得一区| 国产欧美一区二区三区在线看蜜臀 | 欧美精品一区二区三区在线播放| 99国产精品自拍| 国产女主播一区二区三区| 久久漫画官网| 亚洲人www| 国产伦精品一区二区三区高清版 | 性做久久久久久免费观看欧美| 国产一区二区三区网站| 欧美91福利在线观看| 亚洲一二三区视频在线观看| 国产综合自拍| 欧美日韩亚洲一区二区三区四区| 欧美一区国产一区| 亚洲国产va精品久久久不卡综合| 欧美日韩三级| 麻豆成人小视频| 99精品99久久久久久宅男| 国产精品一区二区三区观看| 欧美成人午夜激情在线| 欧美一级淫片播放口| 亚洲美女av黄| 激情久久一区| 国产精品亚洲综合天堂夜夜| 欧美freesex8一10精品| 亚洲综合国产| 亚洲精品中文字幕女同| 国产欧美日韩免费| 欧美三级中文字幕在线观看| 美女精品在线| 欧美伊人久久久久久久久影院| 亚洲免费观看高清在线观看| 精品不卡在线| 国产欧美日韩在线 | 亚洲欧美激情视频| 亚洲人成在线观看| 黑人巨大精品欧美黑白配亚洲| 欧美日韩免费一区| 欧美成va人片在线观看| 久久伊人一区二区| 亚洲欧美日韩天堂一区二区| 日韩亚洲欧美中文三级| 亚洲经典自拍| 国内精品伊人久久久久av影院 | 日韩视频国产视频| 亚洲高清自拍| 亚洲精品综合在线| 国产精品99久久不卡二区| 一区二区三区视频在线播放| 中日韩视频在线观看| 亚洲一区二区成人| 欧美一区二区三区四区在线观看| 欧美在线二区| 美日韩精品视频| 欧美日韩精品免费| 国产精品二区在线| 国产精品综合不卡av| 国产一区香蕉久久| 亚洲国产精品热久久| 亚洲精品欧美激情| 亚洲一区中文| 久久久久久久网站| 欧美精品大片| 国产欧美视频一区二区| 在线观看日韩国产| 在线视频一区观看| 午夜精品久久久| 久久中文欧美| 欧美视频在线免费| 狠狠色狠狠色综合日日tαg| 亚洲人成亚洲人成在线观看图片| 亚洲午夜影视影院在线观看| 久久大逼视频| 欧美日本不卡视频| 国产亚洲欧美日韩美女| 亚洲精品四区| 欧美一区二区三区视频| 欧美国产日韩一区二区三区| 国产精品第一区| 激情综合自拍| 亚洲午夜久久久久久久久电影网| 久久精品人人| 欧美日韩亚洲一区二区三区四区| 国产日韩欧美黄色| 亚洲精品影院| 久久精品首页| 欧美午夜不卡| 亚洲激情自拍| 午夜精品影院| 欧美日韩综合久久| 在线免费精品视频| 欧美一区二区三区婷婷月色| 欧美福利电影在线观看| 国产一区久久久| 这里只有精品丝袜| 浪潮色综合久久天堂| 国产精品久久久久一区二区| 亚洲日本中文字幕| 久久久av毛片精品| 国产精品乱码妇女bbbb| 亚洲精品一区二区在线观看| 久久午夜精品| 国产亚洲欧美另类一区二区三区| 一区二区免费在线视频| 欧美大片在线观看一区二区| 国产一区清纯| 久久国产精品久久久久久电车| 国产精品理论片| 99综合视频| 欧美日韩国产限制| 亚洲激精日韩激精欧美精品| 久久一区国产| 黑丝一区二区三区| 久久精品国产精品亚洲综合| 国产精品亚洲а∨天堂免在线| 在线综合视频| 欧美日韩亚洲一区二区三区在线| 亚洲三级视频| 欧美成人免费小视频| 亚洲电影天堂av| 久久久欧美一区二区| 国产日韩欧美一二三区| 午夜精品影院| 国产精品亚洲片夜色在线| 亚洲一区在线直播| 国产精品日韩欧美一区二区三区| 亚洲一区二区三区四区在线观看 | 欧美日本三级| 亚洲免费观看视频| 欧美日韩国产经典色站一区二区三区| 亚洲国内自拍| 欧美r片在线| 亚洲国产精品热久久| 欧美www视频在线观看| 亚洲级视频在线观看免费1级| 欧美sm视频| 亚洲毛片在线| 欧美日韩在线免费视频| 亚洲一区二区三区三| 国产精品影片在线观看| 久久成人av少妇免费| 国内精品久久久久久影视8| 久久亚洲捆绑美女| 亚洲欧洲日本国产| 欧美日韩视频在线| 亚洲一区二区免费| 国产午夜精品理论片a级大结局| 久久成人18免费观看| 黄色亚洲大片免费在线观看| 欧美成人一区二区| 99这里只有久久精品视频| 国产精品午夜在线观看| 久久久久久香蕉网| 亚洲精品久久久久久一区二区 | 午夜欧美不卡精品aaaaa| 狠狠久久婷婷| 欧美精品色综合| 一区二区三区国产盗摄| 国产精品亚洲综合久久| 久热精品视频在线| 亚洲特级片在线| 韩国精品在线观看| 欧美激情亚洲综合一区| 亚洲综合色自拍一区| 在线观看一区欧美| 欧美视频成人| 久久久伊人欧美| 一区二区三区四区精品| 国产一区二区在线观看免费| 欧美黄色aaaa| 久久成人18免费网站| 日韩香蕉视频| 黄色资源网久久资源365| 欧美午夜精品久久久久免费视 |