Final notes
In the road graph and with the new delivery logic implemented in Part 2,
travel distances are calculated from the road graph.
The Truck
class is now able to move among the nodes of the road graph.
Trucks report about their arrival to the road graph node they are sent to.
Scenarios can now be imported from external JSON files. You can change all scenario parameters and create your own scenarios without having to modify the source code of the program.
Source code
You can find the source code of this part here: https://github.com/amalgama-llc/supply-chain-tutorial-part-2