This is a pretty nifty solution! To nitpick, I'm curious how much the ETA between successive stops fluctuates.
For example, if you have 2 buses on the route `A-B-C-D-E-F-G-H`, using the same value of T(F-H) for the bus starting off at A and another one already at D, might not be quite right?