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

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

代寫 2XC3、代做 Python 設計編程

時間:2024-04-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



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
                     
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

















 

掃一掃在手機打開當前頁
  • 上一篇:代做CSE 470、djava/Python 編程
  • 下一篇:CS 2550代做、代寫SQL設計編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業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在线免费观看
    少妇一晚三次一区二区三区| 国产精品久久久久999| 久久久爽爽爽美女图片| 国产精品国产精品国产专区不卡 | 国产成人在线亚洲欧美| 欧美xxxx18性欧美| 岛国一区二区三区高清视频| 国产一区二区精品在线| 久久精品国产亚洲精品| 日本一区二区在线免费播放| 成 年 人 黄 色 大 片大 全 | 亚洲一区二三| 日本一本草久p| 97久久国产精品| 精品国产一区二区三区日日嗨| 欧美一二三视频| 国产极品粉嫩福利姬萌白酱| 中文字幕色呦呦| 国产在线一区二区三区播放| 精品国偷自产在线| 日韩国产欧美精品| 国产黄色片免费在线观看| 亚洲午夜精品久久| 国产一区二区在线免费| 国产成人免费电影| 无码av天堂一区二区三区| 国产精品综合不卡av| 国产精品丝袜一区二区三区| 欧美在线一区二区三区四区| 久草一区二区| 日韩影院一区| 久久综合一区| 天堂va久久久噜噜噜久久va| 91精品国产综合久久香蕉922 | 久99久视频| 亚洲免费视频播放| 国产欧美亚洲视频| 国产999在线观看| 国产精品一区二区不卡视频| 久久99青青精品免费观看| 国产欧美一区二区三区在线| 精品视频9999| 国产奶头好大揉着好爽视频| 萌白酱国产一区二区| 国产奶头好大揉着好爽视频| 久久中文字幕在线视频| 今天免费高清在线观看国语| 国产精品视频免费观看| 男女超爽视频免费播放| 国产精品九九久久久久久久| 欧美日韩视频在线一区二区观看视频| 久久精品国产v日韩v亚洲| 精品99在线视频| 一区二区三区三区在线| 91久久久久久久一区二区| 在线播放豆国产99亚洲| 91av在线国产| 日韩免费中文专区| 国产精品久久久久久久久久久久午夜片 | 色噜噜久久综合伊人一本| 秋霞毛片久久久久久久久| 久久精品电影一区二区| 欧美性猛交久久久乱大交小说| 久久久国产在线视频| 欧美不卡福利| 欧美激情一区二区三区高清视频| 91久久久久久久久| 日韩欧美精品在线观看视频| 国产精品人成电影在线观看 | 日本不卡久久| 国产精品视频自在线| 国产精品永久在线| 三级三级久久三级久久18| 九九热久久66| 国产资源在线免费观看| 欧美日韩爱爱视频| 国产成人精品999| 国产在线视频在线| 少妇高潮流白浆| 国产精品区一区二区三在线播放| 国产男女免费视频| 日韩av影视| 国产精品高精视频免费| 国产免费一区二区视频| 色阁综合av| 欧美精品午夜视频| 久久99精品久久久久久秒播放器 | 产国精品偷在线| 日韩在线第三页| 久久亚洲精品国产亚洲老地址| 91极品视频在线| 国产综合香蕉五月婷在线| 视频一区二区精品| 欧美成人精品一区二区三区| 久久久www免费人成黑人精品 | 激情视频小说图片| 亚洲欧美日韩不卡一区二区三区| 日韩在线观看免费av| 粉嫩av四季av绯色av第一区| 日本一区二区三区视频在线观看| 欧美精品在线第一页| 国产成人精品视频ⅴa片软件竹菊| 国产又粗又爽又黄的视频| 春色成人在线视频| 欧美乱大交xxxxx| 色偷偷av亚洲男人的天堂| 99久久免费观看| 精品一区2区三区| 日韩精品另类天天更新| 亚洲欧美日韩不卡一区二区三区| 国产精品第一视频| 精品国产欧美一区二区五十路| 国产精品永久免费观看| 韩国日本不卡在线| 日本一区二区三区在线视频| 中文字幕av久久| 国产精品激情av在线播放| 国产精品视频免费观看| 国产精品日韩欧美一区二区| 久久人人爽人人爽人人片亚洲| 日韩视频免费在线观看| 国产成人免费av电影| 国产精品人人做人人爽| 国产精品成久久久久三级| 精品国产免费一区二区三区| 欧美激情18p| 亚洲日本精品国产第一区| 亚洲国产日韩美| 日韩专区第三页| 日本精品一区二区三区在线播放视频| 日韩av在线一区二区三区| 日韩精品一区二区三区四| 欧美一级大片视频| 免费av网址在线| 国产精品午夜视频| 91精品黄色| 色偷偷偷亚洲综合网另类 | 手机看片福利永久国产日韩| 日韩色妇久久av| 欧美一区深夜视频| 黄页网站在线观看视频| 国产色婷婷国产综合在线理论片a| 国产美女精彩久久| 国产精品主播视频| 久久久伊人欧美| 精品国偷自产在线视频| 久久国产精品久久精品| 亚洲av综合色区| 日韩欧美xxxx| 国产色婷婷国产综合在线理论片a| 成人av在线网址| 国产a级片免费看| 国产精品久久在线观看| 一本一道久久久a久久久精品91| 欧美一级免费看| 蜜桃传媒视频第一区入口在线看| 国产免费观看久久黄| 81精品国产乱码久久久久久| 久久99久久99精品| 九九综合九九综合| 亚洲啊啊啊啊啊| 欧美高清视频一区二区三区在线观看| 国产欧美在线一区二区| 国产极品精品在线观看| 国产精品视频成人| 亚洲欧洲在线一区| 欧美精品尤物在线| 99久久综合狠狠综合久久止| 久久精品国产99国产精品澳门| 色综合视频网站| 热re99久久精品国99热蜜月 | 国产精品久久国产精品| 亚洲色欲综合一区二区三区| 欧美在线观看视频| 91麻豆精品秘密入口| 国产精品三级一区二区| 午夜免费电影一区在线观看| 免费观看精品视频| 国产成人亚洲综合青青| 精品综合久久久久久97| 欧洲中文字幕国产精品| www.com毛片| 国产精品日本一区二区| 亚洲 国产 欧美一区| 国产在线精品播放| 久久精品视频16| 一区二区在线观| 日韩精品视频久久| 99久久国产宗和精品1上映| 国产精品久久亚洲| 欧美一级黄色网| 成人3d动漫一区二区三区| 国产精品高清在线观看| 日韩免费在线看| 91国产一区在线| 欧美激情视频网站| 黄色成人在线免费观看| 色伦专区97中文字幕| 色999日韩自偷自拍美女| 国产精品永久免费|