y the time the driver gets to some road (5 or 10 minutes from now) the conditions may have changed. and of course we have historical data on traffic from which we can predict what the condition of the road will be like in 10 minutes.so here, foo is a function that takes the time of data, historical traffic data, weather and whathaveyou, and maps it to edge costs.bar is dijkstra's algorithm or