Difference between revisions of "Shift Mainlines"

From #openttdcoop wiki

Jump to: navigation, search
m
(Did some rewording)
Line 6: Line 6:
 
Shift Mainlines remove much of the complexity of building junctions on a traditional mainline by only requiring that trains be injected into the left most lanes. The design causes YAPF to prefer the inner lanes, and as such if the inner lane is free YAPF will cause the train to shift right.  
 
Shift Mainlines remove much of the complexity of building junctions on a traditional mainline by only requiring that trains be injected into the left most lanes. The design causes YAPF to prefer the inner lanes, and as such if the inner lane is free YAPF will cause the train to shift right.  
  
Trains in the second lane are shifted into the inner most lane first, to ensure trains in the outer lane get a chance to shift into the middle train. The outer lane should now be mostly free, which should result in minimum waiting at prios by trains.
+
Trains in the second inner most lane are shifted into the inner most lane first, to ensure trains in the outer lanse get a chance to shift into the inner lanes, and this is repeates getting further out for as many lanes as exist. The outer lane should now be mostly free, which should result in minimum waiting at prios by trains.
  
 
This is especially good for games in which very fast trains are used, like the default Maglevs. Instead of holding up the flow, or requiring rediculous prios, they instead go into the outer lane which should be mostly free. In addition, trains get a chance and will always try to move into a more inner lane to avoid them.  
 
This is especially good for games in which very fast trains are used, like the default Maglevs. Instead of holding up the flow, or requiring rediculous prios, they instead go into the outer lane which should be mostly free. In addition, trains get a chance and will always try to move into a more inner lane to avoid them.  

Revision as of 00:42, 9 June 2007

By PhazorX, written up by OwenS, this is a development from the concept LBR mainlines

Shift Mainlines

Design of a junction

Shift Mainlines are a new concept that has only recently been developed. Warning: It has not been tested thoroughly yet - It is currently being tested in a game on the public server

Shift Mainlines remove much of the complexity of building junctions on a traditional mainline by only requiring that trains be injected into the left most lanes. The design causes YAPF to prefer the inner lanes, and as such if the inner lane is free YAPF will cause the train to shift right.

Trains in the second inner most lane are shifted into the inner most lane first, to ensure trains in the outer lanse get a chance to shift into the inner lanes, and this is repeates getting further out for as many lanes as exist. The outer lane should now be mostly free, which should result in minimum waiting at prios by trains.

This is especially good for games in which very fast trains are used, like the default Maglevs. Instead of holding up the flow, or requiring rediculous prios, they instead go into the outer lane which should be mostly free. In addition, trains get a chance and will always try to move into a more inner lane to avoid them.

This ensures that both flow and speed on the network are increased dramatically

More text will be added as the research continues

Powered by MediaWiki