Console-based public transport route finder program
These examples are using the demo-config.txt configuration file.
The map for the demo (file):
Plan a route when the two stops are on the same line.
- List all the stops for the ids (optional)
- Set
Stop A
toPrince Lane
- Set
Stop B
toWalnut route
- Start the route planning
Plan a route, but the two stops are not on the same line.
- List all the stops for the ids (optional)
- Set
Stop A
toSycamore Route
- Set
Stop B
toVermilion Lane
- Start the route planning
To start the find compile the source code then find the created executable (path\to\TransitPilot.exe
). Start the program with the following command template:
".\path\to\TransitPilot.exe" ".\path\to\config_file.txt"
Change the .\path\to
section of the command to your file's path.
To create a custom configuration file, use the config file template below:
sign;first stop;time between first and second stop;second stop[;time between second and third stop;third stop]
Example for custom configuration file: demo-config.txt
Copyright © 2023 László Mócsy