Transit Directions |
November 23rd, 2009 |
mbta, transport |
For the commuter rail, to take an example, this is pretty much the only reasonable way to do things. Along most of the commuter rail I have few alternatives: the trains are far faster than walking and there are usually no parallel transit routes. So if I want to get from home (porter square) to the contra dance in concord, all route options correspond to picking the appropriate fitchburg line train to take me there:
Looking at options for the trip from my chinese class at Tufts and my job at BBN, I see several options, though:6:22 -- Walk, Fitchburg Line, Walk -- 7:18
- Walk: home - porter (7min)
- Fitchburg Line: porter - concord (29min)
- Walk: concord - scout house (12min)
5:42 -- Walk, Fitchburg Line, Walk -- 6:38
- Walk: home - porter (7min)
- Fitchburg Line: porter - concord (29min)
- Walk: concord - scout house (12min)
5:22 -- Walk, Fitchburg Line, Walk -- 6:11
- Walk: home - porter (7min)
- Fitchburg Line: porter - concord (29min)
- Walk: concord - scout house (12min)
One big issue with these routes is that they are fragile. If my bus is late, I might miss the next connection. So what if we had a system that gave directions like:10:22 -- Walk, Red Line, Bus 78, Walk -- 10:59
- Walk: tufts - davis (19min)
- Red Line: davis - harvard (5min)
- Wait: harvard (4min)
- Bus 78: harvard - concord and moulton (8min)
- Walk: concord and moulton - BBN (1min)
10:25 -- Walk, Red Line, Walk -- 11:05
- Walk: tufts - davis (19min)
- Red Line: davis - alewife (3min)
- Walk: alewife - BBN (17min)
10:49 -- Walk, Bus 96, Bus 78, Walk -- 11:29
- Walk: tufts - boston and winthrop (4min)
- Bus 96: boston and winthrop - harvard (19min)
- Wait: harvard (8min)
- Bus 78: harvard - concord and moulton (8min)
- Walk: concord and moulton - BBN (1min)
Clearly these directions are harder to read. But they do better if things go wrong. And if I had real time data (or any data that told me real performance instead of schedules), I could simulate several different pathfinding algorithms and see which one got there first the most.10:22 --
- Walk tufts - boston av
- Walk to davis, but if a bus comes, get on it
- If the bus is a 96, take it to harvard
- If the bus is a 94, take it to davis
- If you're at davis, take the next train to alewife or harvard, whichever comes first
- If alewife, walk from alewife to work
- If you're at harvard, walk along garden and then concord. If a bus comes, get on it. If the bus leaves concord av, get off it and walk
Comment via: facebook