]> git.tdb.fi Git - r2c2.git/commit
Avoid unnecessary wait time with shared destinations
authorMikko Rasa <tdb@tdb.fi>
Tue, 24 Mar 2015 10:28:40 +0000 (12:28 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 24 Mar 2015 17:24:22 +0000 (19:24 +0200)
commit9ee88e5028953444d363047b8aab179b833a3e4a
treec876e1ed91bd7bac75ccba4ebef243d6920610de
parent61dbeed5017acf9d8e7eeb5ecf1df23d6e546afd
Avoid unnecessary wait time with shared destinations

If a train gets blocked by another train which has already arrived but
has a trip duration, a step must be processed when the blocking train
departs again.  Otherwise the next step might be a long time off (in case
all other trains have long departure delays) and would get an overly
inflated cost.
source/libr2c2/trainrouteplanner.cpp