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

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

代寫 2XC3、代做 Python 設(shè)計(jì)編程

時(shí)間:2024-04-14  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



Computer Science 2XC3: Final Project
This project will include a final report and your code. Your final report will have the following. You will
be submitting .py (NOT *.ipynb) files for this final project.
• Title page
• Table of Content
• Table of Figures
• An executive summary highlighting some of the main takeaways of your experiments/analysis
• An appendix explaining to the TA how to navigate your code.
For each experiment, include a clear section in your lab report which pertains to that experiment. The report should look professional and readable.
PLEASE NOTE: This is the complete Part I and II. Complete Parts 1 – 5 in group. Part 6 needs to be completed individual. Please refer to the plagiarism policy in Syllabus.
Part 1 : Single source shortest path algorithms
Part 1.1: In this part you will implement variation of Dijkstra’s algorithm. It is a popular shortest path algorithm where the current known shortest path to each node is updated once new path is identified. This updating is called relaxing and in a graph with 𝑛 nodes it can occur at most 𝑛 − 1 times. In this part implement a function dijkstra (graph, source, k) which takes the graph and source as an input and where each node can be relaxed on only k times where, 0 < 𝑘 < Ү**; − 1. This function returns a distance and path dictionary which maps a node (which is an integer) to the distance and the path (sequence of nodes).
Part 1.2: Consider the same restriction as previous and implement a variation of Bellman Ford’s algorithm. This means implement a function bellman_ford(graph, source, k) which take the graph and source as an input and finds the path where each node can be relaxed only k times, where, 0 < 𝑘 < Ү**; − 1. This function also returns a distance and path dictionary which maps a node (which is an integer) to the distance and the path (sequence of nodes).
Part 1.3: Design an experiment to analyze the performance of functions written in Part 1.1 and 1.2. You should consider factors like graph size, graph. density and value of k, that impact the algorithm performance in terms of its accuracy, time and space complexity.
Part 2: All-pair shortest path algorithm
Dijkstra’s and Bellman Ford’s are single source shortest path algorithms. However, many times we are faced with problems that require us to solve shortest path between all pairs. This means that the algorithm needs to find the shortest path from every possible source to every possible destination. For every pair of vertices u and v, we want to compute shortest path 𝑑𝑖w**4;w**5;𝑎𝑛𝑐Ү**;(w**6;, w**7;) and the second-to-last vertex on the shortest path w**1;w**3;Ү**;w**7;𝑖w**0;w**6;w**4;(w**6;, w**7;). How would you design an all-pair shortest path algorithm for both positive edge weights and negative edge weights? Implement a function that can address this. Dijkstra has complexity Ɵ(𝐸 + 𝑉𝑙w**0;𝑔𝑉), or Ɵ (𝑉2) if the graph is dense and Bellman-Ford has complexity Ɵ (𝑉𝐸) , or Ɵ(𝑉3) if the graph is dense. Knowing this, what would you conclude the complexity of your two algorithms to be for dense graphs? Explain your conclusion in your report. You do not need to verify this empirically.
      
Part 3: A* algorithm
In this part, you will analyze and experiment with a modification of Dijkstra’s algorithm called the A* (we will cover this algorithm in next lecture, but you are free to do your own research if you want to get started on it). The algorithm essentially, is an “informed” search algorithm or “best-first search”, and is helpful to find best path between two given nodes. Best path can be defined by shortest path, best time, or least cost. The most important feature of A* is a heuristic function that can control it’s behavior.
Part 3.1: Write a function A_Star (graph, source, destination, heuristic) which takes in a directed weighted graph, a sources node, a destination node , and a heuristic “function”. Assume h is a dictionary which takes in a node (an integer), and returns a float. Your method should return a 2-tuple where the first element is a predecessor dictionary, and the second element is the shortest path the algorithm determines from source to destination. This implementation should be using priority queue.
Part 3.2: In your report explain the following:
• What issues with Dijkstra’s algorithm is A* trying to address?
• How would you empirically test Dijkstra’s vs A*?
• If you generated an arbitrary heuristic function (like randomly generating weights), how would
Dijkstra’s algorithm compare to A*?
• What applications would you use A* instead of Dijkstra’s?
Part 4: Compare Shortest Path Algorithms
In this part, you will compare the performance of Dijkstra’s and A* algorithm. While generating random graphs can give some insights about how algorithms might be performing, not all algorithms can be assessed using randomly generated graphs, especially for A* algorithm where heuristic function is important. In this part you will compare the performance of the two algorithms on a real-world data set. Enclosed are a set of data files that contain data on London Subway system. The data describes the subway network with about 300 stations, and the lines represent the connections between them. Represent each station as a node in a graph, and the edge between stations should exists if two stations are connected. To find weights of different edges, you can use latitude and longitude for each station to find the distance travelled between the two stations This distance can serve as the weight for a given edge. Finally, to compute the heuristic function, you can use the physical direct distance (NOT the driving distance) between the source and a given station. Therefore, you can create a hashmap or a function, which serves as a heuristic function for A*, takes the input as a given station and returns the distance between source and the given station.
Once you have generated the weighted graph and the heuristic function, use it as an input to both A* and Dijkstra’s algorithm to compare their performance. It might be useful to check all pairs shortest paths, and compute the time taken by each algorithm for all combination of stations. Using the experiment design, answer the following questions:
• When does A* outperform Dijkstra? When are they comparable? Explain your observation why you might be seeing these results.
• What do you observe about stations which are 1) on the same lines, 2) on the adjacent lines, and 3) on the line which require several transfers?
• Using the “line” information provided in the dataset, compute how many lines the shortest path uses in your results/discussion?
    
 Figure 1: London Subway Map
Part 5: Organize your code as per UML diagram
Organize you code as per the below Unified Modelling Language (UML) diagram in Figure 2. Furthermore, consider the points listed below and discuss these points in a section labelled Part 4 in your report (where appropriate).
• Instead of re-writing A* algorithm for this part, treat the class from UML as an “adapter”.
• Discuss what design principles and patterns are being used in the diagram.
• The UML is limited in the sense that graph nodes are represented by the integers. How would you
alter the UML diagram to accommodate various needs such as nodes being represented Strings or carrying more information than their names.? Explain how you would change the design in Figure 2 to be robust to these potential changes.
• Discuss what other types of graphs we could have implement “Graph”. What other implementations exist?
 
 Figure 2: UML Diagram
Part 6: Unknown Algorithm (To work on Individually)
In the code posted with this document, you will find a w**6;𝑛𝑘𝑛w**0;w**8;𝑛() function. It takes a graph as input. Do some reverse engineering. Try to figure out what exactly this function is accomplishing. You should explore the possibility of testing it on graphs with negative edge weights (create some small graphs manually for this). Determine the complexity of this function by running some experiments as well as inspecting the code. Given what this code does, is the complexity surprising? Why or why not?
 Grade Breakup:
   Part 1: Single source shortest path algorithms Part 2: All-pair shortest path algorithm
Part 3: A* algorithm
Part 4: Compare Shortest Path Algorithms
Part 5: Organize your code as per UML diagram Part 6: Unknown Algorithm
Group 25 Group 15 Group 20 Group 30 Group 10
Individual 50
Part
Submission Type
Points
                     
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

















 

掃一掃在手機(jī)打開當(dāng)前頁
  • 上一篇:代做CSE 470、djava/Python 編程
  • 下一篇:CS 2550代做、代寫SQL設(shè)計(jì)編程
  • 無相關(guān)信息
    合肥生活資訊

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

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    免费av一区二区三区| 国产成人在线一区二区| 精品中文字幕在线观看| 久久久午夜视频| 激情视频综合网| 中日韩在线视频| 色妞在线综合亚洲欧美| 国产伦精品一区二区三区高清版| 色欲色香天天天综合网www| 国产精品成人av性教育| 久久久久高清| 国产伦精品一区二区三区视频孕妇| 日韩欧美一级在线| 这里只有精品66| 久久久精品国产网站| 成人中文字幕在线播放| 日韩欧美精品在线不卡| 亚洲熟妇av一区二区三区| 国产精品视频网址| 91精品国产九九九久久久亚洲| 红桃一区二区三区| 日韩av不卡在线| 欧美极品第一页| 国产精品美女久久久久av超清| 久久伊人资源站| 国产综合免费视频| 日韩免费一区二区三区| 亚洲精品欧美一区二区三区| 久久中文久久字幕| 久久精品99国产精品酒店日本| 久久综合入口| 国产精品自拍合集| 含羞草久久爱69一区| 日韩视频在线视频| 日韩中文字幕二区| 亚洲黄色网址在线观看| 美女av一区二区三区| 国产精品美女在线观看| 精品国偷自产在线| 视频在线观看99| 国产精品96久久久久久又黄又硬| 国产日产精品一区二区三区四区 | 激情图片qvod| 欧美亚洲激情在线| 日韩男女性生活视频| 日日碰狠狠丁香久燥| 偷拍盗摄高潮叫床对白清晰| 亚洲字幕在线观看| 亚洲一二三区精品| 一级日韩一区在线观看| 欧美激情a∨在线视频播放| 精品免费日产一区一区三区免费 | 欧美日韩国产成人在线| 国产精品看片资源| 国产精品视频地址| 久久久精品国产| 久久久国产视频91| 久久久91精品国产一区不卡| www.国产一区| 久久天天躁狠狠躁夜夜av| www亚洲欧美| 久久久国产在线视频| 国产精品手机播放| 国产精品久久成人免费观看| 欧美精品亚州精品| 欧美激情中文字幕乱码免费| 最新不卡av| 亚洲精品中文字幕在线| 少妇人妻无码专区视频| 日本一区二区免费高清视频| 日韩精品一区中文字幕| 欧美日韩亚洲一二三| 麻豆av一区二区三区| 国产亚洲天堂网| 国产精品一区在线观看| 99国产视频在线| 国产高清自拍一区| 日韩视频免费在线观看| 国产精品高清网站| 综合操久久久| 欧美一区二区福利| 欧美亚洲国产日韩2020| 国产资源在线免费观看| 高清国语自产拍免费一区二区三区| 分分操这里只有精品| 久久综合狠狠综合久久综青草| 日韩一区二区在线视频| 欧美xxxx做受欧美| 午夜欧美不卡精品aaaaa| 青青草久久网络| 国产日韩欧美自拍| 69久久夜色精品国产69| 国产成人午夜视频网址| 欧美成人精品三级在线观看| 亚洲欧洲在线一区| 人人妻人人澡人人爽欧美一区| 黄色a级片免费| www..com日韩| 久久人人97超碰人人澡爱香蕉| 久久成人资源| 久久艳片www.17c.com| 亚洲欧洲日韩精品| 欧美有码在线观看视频| 国产欧美日韩网站| 国产成人黄色av| 久久躁狠狠躁夜夜爽| 亚洲精品一区二| 精品日本一区二区三区在线观看 | 日韩av观看网址| 精品一区2区三区| 7777精品久久久久久| 久久久久北条麻妃免费看| 欧美精品久久久久久久久| 日本10禁啪啪无遮挡免费一区二区| 国产一级黄色录像片| 国产成人亚洲精品| 欧美精品免费在线观看| 日韩中文字幕一区| 国产欧美日韩一区二区三区| 国产成人jvid在线播放| 精品国产乱码久久久久久108| 色就是色欧美| 国产欧美日韩亚洲| www.色综合| 无码人妻精品一区二区蜜桃百度| 激情六月丁香婷婷| 国产精品18久久久久久首页狼| 国产精品久久久久久久app| 色婷婷精品国产一区二区三区 | 黄色影视在线观看| 国产精品97在线| 久久国产精品网站| 欧美亚洲国产精品| 久久这里只有精品18| 中文字幕日本最新乱码视频| 欧美激情精品久久久久久小说 | 欧美日韩在线播放一区二区| 国产精华一区二区三区| 精品福利影视| 激情五月开心婷婷| 久久久久免费视频| 动漫一区二区在线| 国产免费xxx| 国产精品久久久久久久久借妻| 日本三级韩国三级久久| jizzjizz国产精品喷水| 精品久久久久久一区| 欧美精品欧美精品系列c| 久久成人资源| 日韩av免费在线看| 91精品国自产在线观看| 欧美激情综合色| 精品一区二区三区毛片| 国产成人小视频在线观看 | 国产精品日韩欧美一区二区| 日本精品www| 国产精品88久久久久久妇女| 亚洲淫片在线视频| www.亚洲一区二区| 在线码字幕一区| 国产免费黄色一级片| 国产精品高清网站| 韩国视频理论视频久久| 日韩在线观看免费| 欧洲精品久久久| 久久久噜久噜久久综合| 日产精品久久久一区二区福利| 97人人模人人爽人人喊中文字| 中文字幕色呦呦| 国产精品一区二区免费在线观看| 精品不卡在线| 国产美女主播一区| 九九久久综合网站| 国产精品直播网红| 一区二区三区在线视频111| 国产欧美一区二区| 国产精品国产精品国产专区不卡 | 国产精品视频福利| 黄页网站在线观看视频| 国产精品美女在线| 国产一区国产精品| 精品乱子伦一区二区三区| 国产自偷自偷免费一区| 国产精品欧美日韩一区二区| 国模杨依粉嫩蝴蝶150p| 国产精品成久久久久三级| 国产日韩欧美另类| 欧美激情亚洲视频| 99精彩视频在线观看免费| 亚洲精品一卡二卡三卡四卡| 国产精品99久久久久久人| 日韩av123| 久久久精品2019中文字幕神马| 激情视频一区二区| 精品自拍视频在线观看| 阿v天堂2017| 日日摸日日碰夜夜爽av| 国产成人免费av电影| 国内精品免费午夜毛片| 欧美激情中文字幕乱码免费|