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

        CHC5223代做、代寫Java編程語(yǔ)言

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



        CHC5223 Data Structures and Algorithms 202**024-2 
         1 of 6 
        Assignment 
        Value 100% of Coursework Resit 
        Individual work 
        Background 
        The subway system of a city is a network of underground or elevated trains that provide 
        rapid transit for passengers within the urban area. It typically consists of interconnected 
        lines or routes, each with designated stops or stations where passengers can board or 
        disembark. Subway systems are a vital component of urban transportation infrastructure, 
        offering a convenient and reliable mode of travel for commuters, tourists, and residents 
        alike. Subway stations are strategically located at key points throughout the city. 
        There are several terms used to describe the subway system: 
        • Station: is a designated node along a subway line where trains stop to allow 
        passengers to board or alight. 
        • Terminal Station: is the endpoint of a subway line or route where trains 
        begin or end their journeys. 
        • Interchange Station: is a crucial component of a subway system. It is a 
        station where passengers can transfer between different subway lines or 
        routes without exiting the transit system. 
        • Route: refers to the path that a subway train follows between two or more 
        stations. 
        • Line: is a set of interconnected routes that share a common designation and 
        usually serve a specific geographic area or corridor within a city. Each line is 
        identified by a unique name or number and is represented by a distinct color 
        on maps and signage. 
         
         CHC5223 Data Structures and Algorithms 202**024-2 
         2 of 6 
        General requirements 
        This coursework is to write a project to simulate a subway system according to 
        one subway map provided as an appendix file named Subway Map of 
        Chengdu(2019).png. The map depicts the operation of metro lines in Chengdu as 
        of the end of 2019. It provides the information the project needs. 
        The following figure is a thumbnail of the map. You’d better view the appendix 
        file directly for the high-resolution details. 
         
        Note: 
        You must create the corresponding graph based on the appendix file exactly. 
        • Node 
        You only need to consider the termination station and interchange station in the 
        map as nodes of the graph. 
        • Route 
        You only need to consider the colored lines in the map as a route of the graph, 
        please ignore the grey lines that mean the planning route not in service at that 
        time. 
        • Edge 
        The distance/cost between two nodes should be labeled as the number of 
        sections that exist in real. 
         
         CHC5223 Data Structures and Algorithms 202**024-2 
         3 of 6 
        Submission Format Requirements 
        When you have completed all tasks, you should be able to generate one 
        executable project, otherwise you will lose all marks. 
        The coursework submitted should be composed of two files: 
        • a report as a Microsoft Word document containing a description and explanation 
        of the encoding work. 
        ➢ filename format: Student ID_CHC5223_CW_Resit_Report.docx 
         
        • a .zip file containing the project source code files: 
        ➢ all the project’s source files, including those provided. 
        ➢ filename format: Student ID_CHC5223_ CW_Resit_Project.zip 
        If you do not submit the files according to the requirements, you may lose 10 
        marks for the coursework. 
         
         CHC5223 Data Structures and Algorithms 202**024-2 
         4 of 6 
        Requirements 
        Task 1 
        Please fill in the spreadsheet of the Excel file adjacency matrix.xlsx provided to 
        complete the adjacency matrix according to the map. 
        Each node should be named as the abbreviation of the first letters of the station 
        name shown on the map. For instance, the station Weijianian should be 
        instantiated as wjn. 
        Each edge should be labeled as the distance(cost) between two nodes. For 
        instance, the edge between Weijianian Station and North Railway Station should 
        be labeled as 2. If there is not an edge between two nodes or on itself, 
        distance/cost is “Infinite”. 
        Tip: There are several examples written for reference in the adjacency matrix. 
        10 marks 
         
        Task 2 
        Please create one project in the IDE based on the start code files provided. You 
        may modify the files to make the project executable upon completion. 
        5 marks 
         
        Task 3 
        The class Station is a class defined to represent subway stations that are the 
        terminal stations or interchange stations. The attribution ‘name’ represents the 
        name of the subway station. The attribution ‘line’ is an array list to record the line 
        numbers that the station is located at. The attribution ‘previous’ is used to record 
        the previous station in which the shortest path. The attribution ‘g_value’ is used to 
        record the g_value for the pathfinding algorithm. The attribution ‘previous’ is 
        used to record which node is the previous one during finding the shortest path. 
        The attribution ‘isTermination’ is used to represent the station as a termination 
        station(true) or interchange station(false). 
        You must write the corresponding code in the Station.java file based on the 
        notations. 
        10 marks 
        Explain the encoding work in the report rationally and explicitly. 
        10 marks 
         
        Task 4 
        The class subwayMap is used to generate the graph that represents the subway 
        map. The nodes of the graph are the termination stations and interchange CHC5223 Data Structures and Algorithms 202**024-2 
         5 of 6 
        stations of the subway. The edges of the graph are the lines between two 
        stations. The attribution ‘stations’ is used to record all stations that exist on the 
        subway map. The attribution ‘stationIndex’ represents the index of one station. 
        The attribution ‘stationMap’ is used to record the pairing key-value of the station 
        and station index. The attribution ‘size’ represents the number of stations. The 
        ‘adjacencyMatrix’ is a two-dimensional array to record all edges’ distance(cost). 
        You must write the corresponding codes in the subwayMap.java file based on the 
        notations. 
        10 marks 
        Explain the encoding work in the report rationally and explicitly. 
        10 marks 
         
        Task 5 
        The class Main is used to generate a graph that can represent the subway of 
        Chengdu at the end of 2019 according to the appendix file. 
        • In this class, you need to create all stations according to the appendix file. In 
        this class, you need to create an object of subwayMap to represent the 
        subway system of Chengdu according to the appendix file. 
        5 marks 
         
        Task 6 
        In the Main class, you need to implement the DFT(depth-first traversal) and 
        BFT(breadth-first traversal) algorithms to traverse all stations on the map. 
        • The implementations of DFT and BFT algorithms can display the process of the 
        traversal, including station name, station type, and subway line number information 
        in the sequence of the traversal. 
        • The station type should be displayed as ‘termination’ or ‘interchange’ according to 
        the station’s status. There is an example shown for reference in the following 
        screenshot. 
         
        • The start station must be the ‘Tianfu Square’ station. 
        10 marks CHC5223 Data Structures and Algorithms 202**024-2 
         6 of 6 
        Explain the encoding work in the report rationally and explicitly. 
         10 marks 
         
        Task 7 
        In the Main class, you need to implement Dijkstra’s algorithm to find the shortest 
        path from ‘East Chengdu Railway Station’ to ‘Taipingyuan’ station. 
        • The implementations of Dijkstra’s algorithms can display the information of the 
        pathfinding process, including the station name of each station in the closed set and 
        open set, the g_value of the station node, or other information that may be 
        necessary. There is an example shown for reference in the following screenshot. 
         
        • The implementation of Dijkstra’s algorithm can display the shortest path found. 
        There is an example shown for reference in the following screenshot. 
         
        Tip: You may modify the Station class to make each object of it can be comparable. 
        10 marks 
        Explain the encoding work in the report rationally and explicitly. 
        10 marks 
         請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






         

        掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
      1. 上一篇:BISM1201代做、代寫Python/Java程序語(yǔ)言
      2. 下一篇:代做Electric Vehicle Adoption Tools 、代寫Java程序設(shè)計(jì)
      3. 無(wú)相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)400(全國(guó)服務(wù)熱線)
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話24小時(shí)服務(wù)熱線
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
      4. 幣安app官網(wǎng)下載 短信驗(yàn)證碼

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

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

        主站蜘蛛池模板: 国产精品被窝福利一区| 麻豆国产在线不卡一区二区| 3d动漫精品啪啪一区二区中| 日韩精品电影一区| 精品无码AV一区二区三区不卡 | 亚洲欧洲∨国产一区二区三区| 综合无码一区二区三区四区五区| 中文字幕精品亚洲无线码一区应用| 精品国产区一区二区三区在线观看 | 人妻少妇AV无码一区二区| 亚洲欧美国产国产综合一区| 久久99国产精一区二区三区| 久久精品人妻一区二区三区| 色系一区二区三区四区五区| 秋霞日韩一区二区三区在线观看| 精品国产aⅴ无码一区二区| 无码人妻少妇色欲AV一区二区| 成人区人妻精品一区二区不卡网站| 国产日韩视频一区| 视频一区二区在线播放| 女人和拘做受全程看视频日本综合a一区二区视频 | 极品少妇伦理一区二区| 国产suv精品一区二区6| 国产福利一区二区精品秒拍| 色综合一区二区三区| 日韩精品一区二三区中文| 内射少妇一区27P| 亚洲一区二区三区免费| 99精品久久精品一区二区| 日韩人妻无码一区二区三区久久99| 本免费AV无码专区一区| 国产精品女同一区二区| 亚洲天堂一区二区三区| 亚洲AV无码国产一区二区三区| 无码人妻一区二区三区av| 武侠古典一区二区三区中文| 清纯唯美经典一区二区| 精品国产一区二区三区不卡| 无码少妇丰满熟妇一区二区| 日本精品少妇一区二区三区| 久久青草精品一区二区三区|