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;">

                日韩国产在线一| 国产欧美日韩久久| 美国十次综合导航| 一区二区三区四区乱视频| 国产性做久久久久久| 精品久久久久一区| 日韩美女在线视频| 欧美mv日韩mv亚洲| 精品国产欧美一区二区| 欧美sm美女调教| 精品国产99国产精品| 久久久精品黄色| 国产精品美女视频| 亚洲天堂av一区| 亚洲一区二区三区四区的| 亚洲国产成人porn| 日韩成人dvd| 国产在线精品一区二区不卡了| 国产一区二区不卡老阿姨| 国产精品亚洲第一区在线暖暖韩国| 国产高清在线观看免费不卡| 国产999精品久久| 成人午夜视频免费看| 色综合久久久久综合99| 欧美日韩精品一区视频| 日韩一区二区三区免费看 | 久久久久久久网| 欧美国产精品一区二区三区| 国产精品乱人伦一区二区| 一区二区三区在线视频免费观看| 日韩在线一区二区| 风间由美中文字幕在线看视频国产欧美| 丁香六月综合激情| 欧美亚洲一区三区| 久久网这里都是精品| 亚洲视频一区二区免费在线观看 | 亚洲色图清纯唯美| 日本不卡视频在线| av不卡一区二区三区| 欧美卡1卡2卡| 中文字幕日本不卡| 久久精品国内一区二区三区| 99久久婷婷国产精品综合| 欧美精品久久天天躁| 国产精品麻豆久久久| 久久精品国产亚洲一区二区三区| 99re66热这里只有精品3直播| 91精品婷婷国产综合久久| 中文字幕一区二区视频| 美美哒免费高清在线观看视频一区二区| 成人av网站在线| 精品国产免费视频| 天天av天天翘天天综合网| 国产999精品久久久久久绿帽| 欧美日韩一级二级| 中文字幕精品一区| 国产酒店精品激情| 欧美一区二区三区色| 有码一区二区三区| 国产成人午夜精品5599 | 国产三级精品视频| 久久国产尿小便嘘嘘尿| 欧美色老头old∨ideo| 综合久久一区二区三区| 国产精品资源网| 欧美xxxxx牲另类人与| 日韩不卡在线观看日韩不卡视频| 色av成人天堂桃色av| 中文字幕一区二区三中文字幕| 国产一级精品在线| 精品国产一区二区三区久久久蜜月| 天天影视网天天综合色在线播放| 欧美性高清videossexo| 亚洲色图都市小说| 99免费精品视频| 国产精品美女久久福利网站| 国产成人在线免费观看| 久久在线观看免费| 九九视频精品免费| 精品国产区一区| 国产成人av一区二区| 亚洲精品在线观看视频| 精品一区二区在线视频| 精品国产一区二区三区久久久蜜月| 久久国产精品无码网站| 精品福利一区二区三区免费视频| 国产一区二区三区免费看| 精品国产一区二区三区忘忧草 | 综合久久久久综合| 蜜桃精品视频在线| 久久久午夜精品| 国产麻豆成人传媒免费观看| 久久久国产午夜精品| 成人成人成人在线视频| 亚洲人快播电影网| www.欧美色图| 亚洲一区二区三区三| 日韩亚洲欧美综合| 国产精品911| 亚洲乱码精品一二三四区日韩在线| 欧洲视频一区二区| 日本欧美韩国一区三区| 久久女同互慰一区二区三区| 成人免费看视频| 亚洲va国产va欧美va观看| 精品日韩av一区二区| 懂色一区二区三区免费观看| 一区二区三区中文字幕在线观看| 69堂成人精品免费视频| 成人一级视频在线观看| 亚洲综合小说图片| 精品国产一区二区三区忘忧草 | 日韩视频一区二区三区| 国产乱对白刺激视频不卡| 亚洲精品免费看| 欧美精品一区二区三区久久久| 成人av手机在线观看| 日韩电影在线观看网站| 中文欧美字幕免费| 日韩欧美在线1卡| 色综合一区二区| 激情综合网最新| 亚洲成av人片在线观看| 国产调教视频一区| 欧美一级久久久久久久大片| 91小视频免费看| 国产福利不卡视频| 日本在线不卡视频| 亚洲一区二区三区自拍| 国产精品色噜噜| 欧美tk—视频vk| 欧美日韩国产在线观看| 99综合电影在线视频| 黑人精品欧美一区二区蜜桃| 偷拍亚洲欧洲综合| 亚洲精品乱码久久久久久| 久久尤物电影视频在线观看| 9191成人精品久久| 色综合激情五月| 成人黄页在线观看| 国产一区二区三区在线观看精品| 日韩高清一级片| 亚洲成人你懂的| 一区二区三区视频在线看| 国产精品美女久久久久久久| 精品成人免费观看| 日韩你懂的电影在线观看| 欧美日韩国产大片| 欧美亚洲尤物久久| 在线亚洲高清视频| 在线视频综合导航| 在线观看亚洲一区| 欧美伊人精品成人久久综合97 | 亚洲免费视频中文字幕| 国产精品毛片大码女人| 中文字幕免费观看一区| 国产精品三级电影| 国产精品久久久久国产精品日日| 国产精品日韩精品欧美在线| 中文字幕欧美国产| 欧美极品美女视频| 欧美国产日韩在线观看| 国产精品理论片| 国产精品成人免费精品自在线观看 | 国产一区二区三区美女| 精久久久久久久久久久| 免费久久精品视频| 日本强好片久久久久久aaa| 免费观看一级特黄欧美大片| 日韩电影在线免费观看| 六月丁香综合在线视频| 国产在线视视频有精品| 国产激情一区二区三区四区| 成人午夜私人影院| 99国产欧美另类久久久精品| 91免费观看视频| 欧美中文字幕一区二区三区| 欧美性感一类影片在线播放| 欧美一区二区三区电影| 久久婷婷国产综合精品青草| 中文字幕在线观看一区| 亚洲午夜av在线| 久久av老司机精品网站导航| 丁香婷婷综合五月| 色中色一区二区| 91精品国产福利在线观看| 久久无码av三级| 亚洲激情成人在线| 蜜臀av性久久久久av蜜臀妖精| 久久99国产精品久久99果冻传媒| 国产成人午夜视频| 欧美色爱综合网| 欧美激情一区二区三区| 亚洲在线观看免费| 国内欧美视频一区二区| 97se亚洲国产综合自在线| 911精品国产一区二区在线| 中文av字幕一区| 蜜臀久久99精品久久久久宅男| 成人国产精品免费观看视频|