108590049 符芷琪
108590050 李浩銘
This program is going to find out the best path from the departure station A to the destination station B for the Taipei MRT system using the Dijkstra's Algorithm.
The algorithm is dependent on the travel time from station A to station B by the undirected weighted graph
市面上有很多除了官方出的APP都是可以搜尋臺北捷運的搭乘路線,例如臺北捷運通等APP,
但是很多的APP都有些BUG,它們的演算法並不能計算出實際的最佳(所需時間最短)路線,
因為有轉乘線站,有些線路到達目的地的站數和距離都各不相同,那些APP只考慮到是否能到達目的地,
並沒有找出最快到達的路線。
Github - Dijkstra-shortest-path by wntun
- Select the Departure Station A
- Select the Destination Station B
- Provide the best path from Station A to Station B
- Provide the price from Station A to Station B
- Provide the travel time from Station A to Station B
- Provide a User Interface
- Provide the route of Out-of-Station Transfer
This program runs in Python3
For using the Web Application, you need to install Flask:
$ pip3 install flask
If you have install 'make' on your system:
$ make
or
$ make run_web
for the Web Application.
If you do not have 'make' on your system:
$ python3 ./bin/main.py
or
$ python3 ./bin/app.py
for the Web Application.
- print out the entire route
- Travel time can be accurate to second
- Cross-platform
- Visualization
*注意:請先下載整份檔案
step1.
step2.
step3.
step4.
GNU General Public License v3.0
Open Government Data License, version 1.0