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

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

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

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日韩中文字幕在线视频| 在线观看免费91| www.av蜜桃| 一区二区三区四区不卡| 国内精品视频一区| 久久免费一级片| 北条麻妃99精品青青久久| 少妇人妻在线视频| 97国产在线播放| 美女啪啪无遮挡免费久久网站| 国产一区在线播放| 欧美激情精品久久久久久| 国产免费色视频| 亚洲精品高清国产一线久久| 久久久噜久噜久久综合| 欧美日韩免费观看一区| 97色伦亚洲国产| 日韩一区二区三区资源 | 亚洲第一综合网站| 久久免费视频网| 国产男女猛烈无遮挡91| 欧洲成人在线视频| 久久亚洲国产精品| 在线视频亚洲自拍| 国产精品无码人妻一区二区在线 | 狠狠干 狠狠操| 色噜噜狠狠狠综合曰曰曰| 日韩在线三区| 久久精品欧美| 热门国产精品亚洲第一区在线| 国产精品亚洲网站| 国模私拍视频一区| 亚洲乱码日产精品bd在线观看| www.久久撸.com| 国产精品自产拍高潮在线观看| 欧美人与性禽动交精品| 国产成人精品自拍| 久久久久久欧美精品色一二三四| 91国语精品自产拍在线观看性色| 免费h精品视频在线播放| 欧美国产日韩激情| 日本一区视频在线观看| 日韩av免费在线看| 日本电影一区二区三区| 国产精品成人国产乱一区| 国产精品久久视频| 成人a免费视频| 青青a在线精品免费观看| 日韩av高清| 五月天综合网| 国产欧美精品一区二区三区介绍| 亚洲国产婷婷香蕉久久久久久99| 国产精品第1页| 久久久精品在线观看| 91av国产在线| 欧美在线观看网址综合| 久久中国妇女中文字幕| 99精品一级欧美片免费播放| 日韩av综合在线观看| 国产精品久久久久久久久久99| av一区二区三区免费| 日韩精品久久一区二区| 久久久久久久久久亚洲| 久久精品一本久久99精品| 国产精品第一区| 精品国偷自产在线视频| 97精品免费视频| 日韩在线观看你懂的| 久久精品国产一区二区三区日韩| 91国产美女视频| 色妞久久福利网| 久久精视频免费在线久久完整在线看| 国产激情久久久| 久久精品男人天堂| 欧美极品在线播放| 日本不卡在线观看视频| 国产精品一级久久久| 国产精品久久久亚洲| 一区二区精品国产| 国产肉体ⅹxxx137大胆| 波多野结衣综合网| 99久久99久久精品国产片| 少妇久久久久久被弄到高潮| 亚洲视频电影| 精品一卡二卡三卡四卡日本乱码| 99九九视频| 欧美日韩无遮挡| 亚洲一区二区三区在线观看视频| 国产成人久久精品| 国产成人91久久精品| 精品国产乱码久久久久久88av | 久久久人人爽| 色婷婷成人综合| 欧美一级淫片播放口| 久久精品ww人人做人人爽| 国产精品成人观看视频免费| 精品久久久久久综合日本| 亚洲一区制服诱惑| 久操成人在线视频| 久久夜色精品亚洲噜噜国产mv| 九九精品视频在线观看| 岛国视频一区免费观看 | 激情小说综合区| 欧日韩免费视频| 国产最新免费视频| 8050国产精品久久久久久| 色乱码一区二区三区熟女| 久久国产乱子伦免费精品| 中文字幕日本最新乱码视频| 国产精品主播视频| 欧美激情a∨在线视频播放| 日本精品视频在线播放| 国产成人精品久久二区二区91| 国产欧美123| 国产综合福利在线| 国产综合av在线| 精品午夜一区二区| 精品无人区一区二区三区| 日韩激情久久| 欧美一区观看| 欧美中文字幕在线视频| 青青在线视频观看| 欧美在线视频网| 欧美一区免费视频| 激情欧美一区二区三区中文字幕| 欧美亚洲激情视频| 欧洲久久久久久| 欧美极品一区二区| 好吊色欧美一区二区三区四区| 精品日本一区二区三区| 国内精品国语自产拍在线观看| 蜜桃av噜噜一区二区三区| 蜜桃视频一区二区在线观看| 欧美牲交a欧美牲交| 国内视频一区二区| 国产美女网站在线观看| 99久久综合狠狠综合久久止| 91精品视频大全| 久久久久久久一区二区三区| 国产成人精品一区二区| 国产精品久久久久久久久久久久久| 欧美xxxx做受欧美.88| 欧美激情18p| 午夜精品久久久久久久99热浪潮 | 动漫3d精品一区二区三区| 亚州精品天堂中文字幕| 日本一区视频在线| 欧美一区三区二区在线观看| 蜜桃免费区二区三区| 国产精品一区视频网站| 成人av在线天堂| 久久免费国产精品1| 日韩一区二区三区国产| 国产精品视频一区二区三区经 | 91免费国产精品| 久久精品网站视频| 久久精品视频在线| 欧美日韩成人在线播放| 天堂资源在线亚洲资源| 热门国产精品亚洲第一区在线| 国模精品视频一区二区三区| 国产精品中文字幕在线观看| 国产成人精品免高潮费视频 | 日本10禁啪啪无遮挡免费一区二区| 欧美日韩电影一区二区| 国产精选久久久久久| 久久精品国产精品青草色艺| 久久色精品视频| 欧美日韩国产第一页| 视频一区二区在线| 黄色一级一级片| 不卡一区二区三区视频| 日韩中文字幕av| 伊人天天久久大香线蕉av色| 日本精品久久久| 国产免费一区二区三区四在线播放 | 精品国产一区二区三区四区在线观看| 国产精品久久久久久久久影视| 在线观看日韩羞羞视频| 亚洲欧美日韩在线综合| 日韩视频在线免费看| 国产一区二区视频在线观看| 久久人人爽人人爽人人片av高请 | 精品一区二区三区视频日产| 久久久水蜜桃| 欧美日本精品在线| 日韩欧美视频网站| 高清视频一区二区三区| 久久精品亚洲94久久精品| 亚洲成熟丰满熟妇高潮xxxxx| 韩国日本不卡在线| 久久偷窥视频| 蜜臀久久99精品久久久无需会员| 日韩免费不卡av| 7777免费精品视频| 精品国产乱码久久久久| 欧美图片激情小说| 天天久久人人| 99久久99久久精品| 欧美成人精品在线|