]> git.tdb.fi Git - r2c2.git/commit
Consider block deallocation when planning routes
authorMikko Rasa <tdb@tdb.fi>
Fri, 6 Feb 2015 14:32:18 +0000 (16:32 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 6 Feb 2015 14:48:22 +0000 (16:48 +0200)
commitace4d2175dce7364ff094b8dd44c53e47ba395b1
tree3d1aa3b7ea5180fb1e6f945f79263a7c8010a637
parent443cb39c7ca3b4e56eb561aa054fa48dd3cbc7d8
Consider block deallocation when planning routes

Blocks are not released until a sensor is detriggered.  Not taking that
into account could cause situations where the planner tries to drive
trains through a balloon loop which is actually too small for them.
source/libr2c2/trainrouteplanner.cpp