Hacker News new | ask | show | jobs
by manwe150 36 days ago
I’ve often wonder if cancelling trains (and busses) would make them on time more in practice too, by queuing theory. If you just let them run late, that starts to compounds until you get a Bernoulli distribution (exponential arrival delays) as the system becomes unstable. If canceling a train means the next one can run actually on time, then the system is forced back towards stability with predictable reliable times. Sure you had to miss one slot, but in the alternative scheme where everyone is late, you miss every slot — and average wait times are doubled in an exponential process compared to a periodic system that sometimes skips an entire train intentionally.
1 comments

Only if the expected ridership of each train is less than half full: otherwise the people still have the accumulating delay because they can’t get on a train that’s full even if it’s on time.
Even so, it'd be better to lose a small fraction of trains than make them all late, since have 2x trains at 2x intervals operates at much lower efficiency (with the first train being over capacity, taking much longer for people to get off and on, and the second train half empty -- unloading feels almost quadratic in the size of the stack of people to push and pop). Of course, yes, that assumes you can ensure it's only a small fraction of trains being skipped and that each train is big enough and scheduled frequently enough to move the expected passengers. Those seem like different problems to solve though, once the trains aren't allowed to run late.