-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README and updating adjacency list with missing edges
- Loading branch information
Showing
4 changed files
with
21 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Stupid MRT: Hack&Roll 2023 | ||
|
||
 | ||
|
||
Ever wanted to burn a whole day squeezed in the MRT? Well, we heard you, loud and clear! That's why we built _Stupid MRT_ just for you! (disclaimer: the logo of this app is not an attack on SMRT, but ourselves) | ||
|
||
With _Stupid MRT_, you can not just only find the _shortest_ path between two MRT stations (because that's **so** boring, just use Google Maps for that). Instead, we're bringing you a **new**, **everlasting**, **pointless** experience. | ||
|
||
Say hello to _Stupid MRT_'s take on a NP-hard problem, served along a side of a ~~stupidly~~ long runtime (somewhere between 30 seconds to 5 minutes). We're bring the longest path problem (by **number of** stations) to Singapore's MRT system! | ||
|
||
|
||
 | ||
|
||
--- | ||
## Take a look beneath the hood | ||
|
||
To calculate the longest path, we... | ||
1. precomputed the shortest path between all stations with the Floyd-Warshall algorithm | ||
2. used a priority queue to prioritise nodes that are **further** away from the destination node for optimisation |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters