This repo contains files for a package delivery console that provides the following options:
- Look up individual package information
- Look up the delivery status of all packages within a given time
- Look up the total distance of the trucks traveled
- Clear the console screen (to keep things tidy)
- Exit the program
This program can be run through a terminal after the repo is downloaded by running the following command (note that python 3 should be installed):
python main.pyThis was primarily used as a study in data structures and algorithms. Dijkstra's algorithm was used and combined with a graph data structure to find the shortest distance from point to point within a graph. A priority algorithm was also combined with a list data structure to distribute the packages between the two required trucks in this scenario. High priority (earlier delivery requirements) are sorted into the first truck and regular priority items are sorted into the second truck.