I need to implement a code that can calculate the time between 2 points depending on dijkstras( see the pic and the blue line which is dijkstras)
I have a network and I will let a vehicle go from A-B with a dijkstra's algorithm to find the shortest way but I would like a timer to calculate how far it has delayed until it arrived from A to B. when the network appears in the screen, it appears with the shortest path (dijkstras) and based on the algorithm it should calculate the time. For now we assume that it will be from A-B, but maybe it will be from A-C.