![]() ![]() When the rail block contains a train currently waiting at a rail signal -> Add a penalty of 100 + 0.1 for every tick the train has already waited.When the rail block contains a train currently arriving to a rail signal -> Add a penalty of 100.When the rail block contains a train currently arriving to a train stop -> Add a penalty of 100.When the rail block contains an automatic train without a schedule -> Add a penalty of 7000.When the rail block contains a manually controlled stopped train without a passenger -> Add a penalty of 7000.When the rail block contains a manually controlled stopped train with a passenger -> Add a penalty of 2000.When the rail block contains a train that is stopped at a train stop and the train doesn't have other valid stops in its schedule -> Add a penalty of 1000.When the rail block contains a train that is stopped at a train stop -> Add a penalty of 500.When the path includes a train stop -> Add a penalty of 2000.When the rail block is guarded by a rail signal set to red by the circuit network -> Add a penalty of 1000.When the rail block is occupied by a train -> Add a penalty of 2 * length of the block divided by block distance from the start, so the far away occupied paths don't matter much.Base cost for a block/segment is the length of the segment (linear grid length along the center of the rail).The cost (distance) is calculated using the following weighting rules: A segment is an uninterrupted plain sequence of rails, with no intersections, stops, or signals (all of which define segment borders). ![]() 3.2 Repaths that happen as part of normal train operationįor calculation it uses a simple A*-algorithm : The pathfinder first builds a list of non-disabled stops that match the name in the schedule, then searches outward from both ends of the train at once, if applicable, in segments. ![]()
0 Comments
Leave a Reply. |