国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日本一区二区三区四区高清视频| 极品粉嫩国产18尤物| 麻豆成人av| 国产不卡视频在线| 国产又粗又猛又爽又黄的网站| 加勒比成人在线| 国产日韩欧美在线| av无码精品一区二区三区| 91免费黄视频| 国产极品尤物在线| 亚洲国产欧美一区二区三区不卡| 日韩精品无码一区二区三区| 欧美精品在欧美一区二区| 国产精品国产三级欧美二区| 国产精品女人网站| 欧美精品做受xxx性少妇| 亚洲乱码国产一区三区| 欧美有码在线观看视频| 国产伦精品一区二区三毛| 国模精品娜娜一二三区| 成人精品在线观看| 国产精品.com| 久久亚洲精品一区| 亚洲二区三区四区| 欧美成人精品在线观看| 国产精品小说在线| 川上优av一区二区线观看| 久久久亚洲福利精品午夜| 久久婷婷五月综合色国产香蕉| 91精品国产网站| 亚洲精品无码久久久久久| 麻豆精品传媒视频| 亚洲美女网站18| 成人精品在线观看| 久久精品国产一区二区三区| 综合操久久久| 久久99精品久久久久久噜噜| 日产精品高清视频免费| 久99久视频| 国产精品免费观看高清| 人人妻人人做人人爽| 久久91精品国产| 精品日本一区二区| 菠萝蜜影院一区二区免费| 日韩欧美精品在线不卡| 欧洲成人免费视频| 午夜精品短视频| 日韩在线播放av| 久久久久久国产精品免费免费| 日韩av影视| 欧美成人精品在线观看| 久久激情视频久久| 日韩一区免费观看| 91久久精品日日躁夜夜躁国产| 国产精品久久久久久久久久99| 日韩福利一区二区三区| 国产精品av在线| 午夜精品久久久久久久久久久久 | 久久中文字幕国产| 91免费国产网站| 国模无码视频一区二区三区| 亚洲精品影院| 精品免费国产| 久久九九全国免费精品观看| av无码精品一区二区三区| 国模杨依粉嫩蝴蝶150p| 热re99久久精品国99热蜜月| 在线观看一区欧美| 国产精品久久久久久久电影| 久久精品香蕉视频| www亚洲国产| 免费看黄在线看| 日韩精品一区二区三区外面| 午夜精品视频在线观看一区二区| 色综合久久88| 久久777国产线看观看精品| 国产精品久久7| 国产精品视频专区| 国产成人精品视频在线| 日韩中文字幕在线免费观看| 高清欧美性猛交xxxx| 国产欧美精品一区二区三区| 精品亚洲欧美日韩| 日韩一区视频在线| 成人av在线亚洲| 欧美午夜精品久久久久久蜜| 欧美在线一区二区三区四区| 色香蕉在线观看| 日韩av日韩在线观看| 日本欧美一二三区| 热久久美女精品天天吊色| 日韩精品第1页| 欧美又粗又长又爽做受| 欧美久久久久久| 国产中文字幕91| 成人免费xxxxx在线观看| 国产剧情久久久久久| 国产精品69久久久| 久久精品夜夜夜夜夜久久| 欧美久久精品午夜青青大伊人| 久99久在线视频| 在线一区亚洲| 青青草久久网络| 国产欧美一区二区在线播放| 99国产精品白浆在线观看免费 | 精品欧美一区免费观看α√| 国产四区在线观看| av免费观看国产| 日日噜噜噜夜夜爽亚洲精品| 久久综合久久美利坚合众国| 亚洲精品国产系列| 黄色网址在线免费看| 日韩a∨精品日韩在线观看 | 91精品在线播放| 久久天堂av综合合色| 在线观看日韩羞羞视频| 欧美中文字幕在线视频| av在线不卡一区| 国产精品美女999| 日韩av一区二区三区在线观看| 国内精品模特av私拍在线观看| 国产成人一区三区| av免费观看网| 日韩激情视频一区二区| 成人av在线不卡| 国产精品久久久久久一区二区| 日韩在线第三页| 国产女教师bbwbbwbbw| 久久精品久久久久久国产 免费| 日日鲁鲁鲁夜夜爽爽狠狠视频97 | 97人人模人人爽视频一区二区| 国产a级片免费观看| 久久中文字幕视频| 日韩电影天堂视频一区二区| 国产主播一区二区三区四区| 久久国产精品视频在线观看| 欧美久久久精品| 中文字幕一区二区三区四区五区六区| 国产香蕉一区二区三区| 久久视频在线看| 精品无人区一区二区三区| 国产精品久久久久久久乖乖 | 亚洲砖区区免费| 99久久国产免费免费| 午夜精品一区二区在线观看的| 8050国产精品久久久久久| 欧美一区二区大胆人体摄影专业网站| 久久综合入口| 欧美日韩视频免费| 精品国产av无码一区二区三区| 国产另类自拍| 亚洲国产日韩美| 国产成人无码一二三区视频| 欧美一区二区中文字幕| 久久这里只有精品99| 91成人在线视频观看| 热99在线视频| 一卡二卡3卡四卡高清精品视频| 久青草视频在线播放| 韩日精品中文字幕| 亚洲精品一区二区三区av| www.精品av.com| av中文字幕av| 黄色高清无遮挡| 天堂一区二区三区| 国产精品久久久久久久久久99| 97成人精品视频在线观看| 欧美激情国产日韩| 一区二区免费在线视频| 俺去亚洲欧洲欧美日韩| 97精品久久久| 国产一区二区三区精彩视频| 色噜噜色狠狠狠狠狠综合色一| 国产精品男人爽免费视频1| 91精品久久久久久久久中文字幕| 黄页网站在线观看视频| 日本免费高清一区二区| 亚洲制服中文| 精品国产一区二区三区四区vr| 久久本道综合色狠狠五月| 福利视频久久| 国产男女无遮挡| 激情婷婷综合网| 日韩福利在线| 亚洲精品高清国产一线久久| 蜜臀久久99精品久久久久久宅男| 国产精品久久久久秋霞鲁丝| 欧美一区二区三区免费观看| 国产成人精品午夜| 97精品国产97久久久久久免费| 日韩精品一区二区三区电影| 精品国产区在线| 日韩视频免费大全中文字幕| 国产日韩在线一区二区三区| 日本免费高清不卡| 亚洲蜜桃av| 精品不卡一区二区三区| 久久国产一区二区三区| 91久久偷偷做嫩草影院| 国语自产精品视频在免费|