4 ms·
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
by thelastbender12 7y ago
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?
- DeathArrow 7y agoThey said in the article they sample the time as frequently they deem necessary.
- thelastbender12 7y agoHmm, could you please expand? What I'm trying to get at is that the Bus at D and the bus at A expect to reach stop F at different times. So, the ETA between F and H is never quite the same for them, as the traffic conditions could change. When google maps gives me an ETA, I assume they account for it (or their ML model does from the vast troves of past data).
- DeathArrow 7y agoI get they compare the prediction from maps with actual time for a few stops / busses and if the difference is big they make a new API request, making Google wealthier.