日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

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

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        久久久久国产精品一区二区| 欧美一区二区视频在线观看2020| 激情久久久久久久久久久久久久久久| 久久精品国产亚洲一区二区三区| 亚洲精品乱码久久久久久日本蜜臀| 国产精品午夜国产小视频| 国产精品理论片在线观看| 国产一区在线观看视频| 国产一区二区三区在线观看免费| 久久精品成人一区二区三区蜜臀| 亚洲国产精品www| 欧美激情亚洲视频| 久久久久久久久岛国免费| 欧美国产精品人人做人人爱| 欧美一区二区精品| 亚洲人被黑人高潮完整版| 欧美日韩一区成人| 性色av一区二区三区在线观看| 欧美在线观看视频一区二区| 欧美一区二区性| 亚洲成人原创| 91久久精品国产91久久性色tv| 欧美在线关看| 欧美成人精品| 亚洲国内精品| 国产日韩精品一区二区| 欧美99在线视频观看| 亚洲国产人成综合网站| 国产精品亚洲片夜色在线| 亚洲一区二区三区四区在线观看| 国产精品日韩一区二区| 亚洲一二三区在线观看| 欧美精品色一区二区三区| 亚洲第一精品久久忘忧草社区| 小处雏高清一区二区三区| 久久免费高清视频| 蜜桃av一区二区在线观看| 国产亚洲成av人在线观看导航| 国产欧美一区在线| 精品99一区二区| 欧美二区在线播放| 国产精品久久久久影院色老大| 精品成人在线| 国产日韩欧美麻豆| 久久国产直播| 久久久综合网站| 亚洲一区三区视频在线观看| 久久久久久伊人| 尹人成人综合网| 欧美精品久久天天躁| 久久精品在线视频| 韩国美女久久| 国产精品免费观看在线| 久久综合狠狠| 久久九九全国免费精品观看| 免费在线欧美视频| 蜜臀91精品一区二区三区| 亚洲免费av片| 欧美韩日一区二区三区| 亚洲午夜精品久久久久久浪潮| 中文国产成人精品| 欧美色图天堂网| 亚洲午夜电影在线观看| 亚洲大黄网站| 亚洲专区欧美专区| 国产欧美精品日韩区二区麻豆天美| 欧美激情精品久久久六区热门| 韩国女主播一区| 久久爱www久久做| 一个色综合av| 国产丝袜一区二区三区| 99精品国产99久久久久久福利| 国产精品成人av性教育| 欧美一区二区在线播放| 久久久美女艺术照精彩视频福利播放| 国产性做久久久久久| 在线电影欧美日韩一区二区私密| 在线成人av网站| 在线电影院国产精品| 欧美婷婷六月丁香综合色| 亚洲精品一区二区三区在线观看| 欧美劲爆第一页| 一本久久综合亚洲鲁鲁| 亚洲精品一二三| 国产性猛交xxxx免费看久久| 国产欧美精品va在线观看| 国产精品你懂得| 欧美日韩免费观看一区=区三区| 久久午夜电影| 欧美在线视频免费观看| 国产亚洲欧美aaaa| 亚洲男女自偷自拍图片另类| 国产色视频一区| 国产亚洲激情视频在线| 欧美视频国产精品| 一本久道综合久久精品| 久久久久久自在自线| 国产亚洲欧美激情| 亚洲电影在线观看| 久久夜色精品亚洲噜噜国产mv| 亚洲欧美日韩精品久久久| 欧美三级网页| 日韩亚洲欧美一区二区三区| 狠狠色2019综合网| 美国十次了思思久久精品导航| 六月婷婷久久| 国产九九视频一区二区三区| 久久久久久久999| 影音先锋日韩精品| 亚洲国产专区| 久久免费偷拍视频| 午夜精品国产精品大乳美女| 国产精品视频一区二区高潮| 国产农村妇女精品一二区| 日韩亚洲欧美在线观看| 最新日韩av| 国产精品一区二区久激情瑜伽| 亚洲欧洲在线播放| 亚洲精品国产品国语在线app| 欧美视频精品在线观看| 午夜免费日韩视频| 亚洲视频一区二区在线观看| 欧美日韩和欧美的一区二区| 国产精品一区二区三区久久| 亚洲一区二区三区精品视频| 欧美精品日韩www.p站| 国产精品一区二区在线| 狠狠爱综合网| 99国产成+人+综合+亚洲欧美| 99国内精品| 性欧美video另类hd性玩具| 一区二区三区高清视频在线观看| 一区在线视频观看| 国产热re99久久6国产精品| 欧美日韩不卡视频| 国产麻豆成人精品| 亚洲国产网站| 美女精品视频一区| 国外成人在线视频网站| 亚洲国产天堂久久综合| 欧美日韩国产影片| 99国产精品久久| 女女同性精品视频| 在线观看亚洲a| 亚洲午夜免费福利视频| 欧美国产日本高清在线| 欧美mv日韩mv国产网站app| 国产精品一区二区三区乱码| 欧美在线播放高清精品| 久久精品国产综合| 欧美精品午夜视频| 国产乱码精品一区二区三区忘忧草| 欧美日韩亚洲一区二区三区在线观看| 国产精品久久毛片a| 欧美理论在线| 欧美精品成人在线| 国产综合第一页| 最近中文字幕mv在线一区二区三区四区| 欧美视频在线一区二区三区| 性欧美xxxx大乳国产app| 欧美日韩亚洲高清| 国内精品99| 国产日韩欧美电影在线观看| 久久露脸国产精品|