ralphie79 / switchlist

Automatically exported from code.google.com/p/switchlist
0 stars 0 forks source link

Assign cars to train in predictable order #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, SwitchList makes no promises about the order that trains are filled. 
 This makes it hard to have two trains going in the same direction - there's no 
idea which might get a car.

Instead, make this predictable by assigning cars to train by availability, then 
by train sorted in name order.  This would allow the "San Jose Early Cannery 
Turn" to fill up before the "San Jose Late Cannery Turn".

Original issue reported on code.google.com by rwbowdi...@gmail.com on 22 Apr 2012 at 10:00

GoogleCodeExporter commented 8 years ago
Fixed in r342.

Original comment by rwbowdi...@gmail.com on 1 Aug 2012 at 4:03