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

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

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

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久久久免费看黄a片app| 日韩网址在线观看| 久久视频这里有精品| 99国产视频在线| 91免费精品视频| 99电影在线观看| 91久久久在线| 久久亚洲精品无码va白人极品| 99免费视频观看| …久久精品99久久香蕉国产| 国产盗摄视频在线观看| 国产ts人妖一区二区三区| 99视频日韩| 久久涩涩网站| 日日骚av一区| 久久成人亚洲精品| 伊人婷婷久久| 日本午夜在线亚洲.国产| 奇米影视亚洲狠狠色| 欧美国产一二三区| 国产日韩精品久久| 91精品久久久久久久久青青| 国产成人综合精品| 国产精品无av码在线观看| 欧美日本在线视频中文字字幕| 亚洲精品成人a8198a| 热门国产精品亚洲第一区在线| 日本10禁啪啪无遮挡免费一区二区 | 蜜桃av噜噜一区二区三区| 国产香蕉一区二区三区| 97精品国产97久久久久久免费| 久久久久久久影院| 精品不卡一区二区三区| 偷拍视频一区二区| 国内精品国语自产拍在线观看| 99在线观看| 国产精品久久久久久久av电影 | 一区二区在线观看网站| 欧美激情第6页| 日本电影一区二区三区| 国产一区二区不卡视频 | 国产人妻互换一区二区| 81精品国产乱码久久久久久| 久久国产一区二区三区| 亚洲中文字幕无码一区二区三区| 日本新janpanese乱熟| 国产日韩一区二区三区| 久久99精品国产一区二区三区| 国产精品久久av| 欧美一级视频一区二区| 国产日韩亚洲精品| 久久精品国产96久久久香蕉| 欧美日韩国产二区| 日韩亚洲不卡在线| 99视频在线免费观看| 久久综合久久88| 欧美性天天影院| 久久久久99精品成人片| 一区二区精品国产| 国产欧美欧洲| 日韩有码在线播放| 亚洲免费精品视频| 国产偷人视频免费| 精品国产一区二区三区久久久| 亚洲影院色在线观看免费| 黄色三级中文字幕| 久久国产精品 国产精品| 欧美成人中文字幕| 男人亚洲天堂网| 日韩中文字幕网站| 午夜精品一区二区三区在线视频 | 久久亚洲私人国产精品va| 奇米四色中文综合久久| 国产精品18久久久久久首页狼 | 午夜精品一区二区三区在线视 | 九九久久精品一区| 美女亚洲精品| 久久精品在线视频| 青青草免费在线视频观看| 久久这里精品国产99丫e6| 亚洲综合激情五月| 成人91免费视频| 一本—道久久a久久精品蜜桃| 国产乱淫av片杨贵妃| 国产精品日韩三级| 欧美中文字幕第一页| 日韩有码在线电影| 日韩精品一区二区三区四区五区| 91国产高清在线| 亚洲综合在线中文字幕| 99视频在线免费| 亚洲国产欧美日韩| 国产激情片在线观看| 日韩一级免费看| 久久久国产在线视频| 精品一区二区三区视频日产| 精品国产免费av| www.浪潮av.com| 天天成人综合网| 久久精品国产精品国产精品污| 欧美一区二区三区综合| 国产不卡av在线免费观看| 日韩人妻一区二区三区蜜桃视频| 九色91国产| 明星裸体视频一区二区| 欧美精品一区二区免费| 国产欧美日韩精品在线观看| 亚洲永久在线观看| 九一国产精品视频| 狠狠干视频网站| 欧美激情二区三区| 久久最新免费视频| 日韩免费高清在线观看| 久久久精品久久久| 国产精品一区二区三区在线播放| 久精品免费视频| 久久男人资源视频| 欧美日韩精品一区| 欧美精品久久久久久久久| 久久伊人一区| 美女在线免费视频| 亚洲**2019国产| 国产精品视频在线观看| 国产精品永久在线| 日本亚洲欧洲色α| 国产精品对白刺激| 国产精品999999| 国内视频一区二区| 亚洲自拍欧美色图| 久久久精品一区| 国产一区二区免费在线观看| 丁香六月激情婷婷| 国产精品后入内射日本在线观看| 成人美女免费网站视频| 日韩久久久久久久| 欧美极品在线播放| www.亚洲一区| 97国产精品视频| 国模视频一区二区| 日本一区二区三区四区视频| 国产精品初高中精品久久| 国产www精品| av动漫在线免费观看| 免费av在线一区二区| 日本视频久久久| 欧美人与物videos| 国产精品日韩在线播放| 国产精品99久久久久久人| 蜜桃网站成人| 日韩精品一区二区三区电影 | 欧美精品一区二区三区三州| 午夜精品一区二区三区在线 | 亚洲一区 在线播放| 国产精品区一区二区三在线播放| 久久人91精品久久久久久不卡| 国产日韩久久| 精品嫩模一区二区三区| 日本一区二区三区在线视频| 中文字幕精品—区二区日日骚| 久久综合伊人77777尤物| 777久久精品一区二区三区无码| 国产午夜伦鲁鲁| 欧美凹凸一区二区三区视频| 日本高清不卡在线| 日韩一级在线免费观看| 亚洲图片都市激情| 在线观看一区欧美| 国产精品大陆在线观看| 国产精品青草久久久久福利99| 日韩在线视频观看| 国产成人精品av| 国产精国产精品| 91精品久久久久久| 高清一区二区三区日本久| 国模精品视频一区二区| 精品人妻少妇一区二区| 欧美性大战久久久久xxx| 日韩精品一区二区三区不卡| 日本在线播放一区| 日本久久久久久| 日本十八禁视频无遮挡| 日韩av在线一区二区三区| 亚洲视频电影| 亚洲国产激情一区二区三区| 一区二区冒白浆视频| 亚洲图片在线观看| 午夜老司机精品| 日韩国产精品一区二区| 欧美专区一二三| 黄色免费视频大全| 精品一区二区三区日本| 国产日韩精品电影| 福利视频久久| 91精品国产成人www| 国产高清精品在线观看| 久久久久资源| 久久久999国产精品| 国产精品欧美日韩久久| 欧美xxxx综合视频| 一区二区三区久久网|