Description
Console application which works with json files of metropolitan information. This application allow to navigate on metro-map and find the shortest path between two stations.
Requirements
- Parse JSON files with information about metropolitan
"Bakerloo line": [ { "name": "Harrow & Wealdstone", "prev": [], "next": [ "Kenton" ], "transfer": [], "time": 5 },
- Output information of lines
- Add and remove stations
- Connection two station from different lines
- Find the shortest route by Breadth-First search algorithm
- Find the fastest route by Dijkstra's algorithm
- Create branching and the possibility of a looped line
Launch
mvn package -PRun