I don't know why they do it
If you represent every edge on the transport graph with a single fixed traversal cost, you can calculate the lowest cost route between two nodes with well known algorithms like (simple) Dijkstra's algorithm or (high performance) Contraction Hierarchies.When the cost of a route varies with time of day, and the best route changes with time of day, things get quite a bit more complicated.