| Package | Description | 
|---|---|
| org.opentrafficsim.road.gtu.generator | 
 Generate GTUs according to some prescription. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.LEFT
Left-hand bias, 2nd left lane contains 25% relative to left most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.MIDDLE
Middle bias, 2nd left lane contains 25% relative to left most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.NONE
No bias. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.RIGHT
Right-hand bias, 2nd right lane contains 25% relative to right most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.STRONG_LEFT
Strong left-hand bias, 2nd left lane contains 3.125% relative to left most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.STRONG_MIDDLE
Strong middle bias, 2nd left lane contains 3.125% relative to left most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.STRONG_RIGHT
Strong right-hand bias, 2nd right lane contains 3.125% relative to right most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.TRUCK_RIGHT
Strong right-hand bias, limited to a maximum of 2 lanes. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.WEAK_LEFT
Weak left-hand bias, 2nd left lane contains 50% relative to left most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.WEAK_MIDDLE
Weak middle bias, 2nd left lane contains 50% relative to left most lane, in free traffic. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.WEAK_RIGHT
Weak right-hand bias, 2nd right lane contains 50% relative to right most lane, in free traffic. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.bySpeed(double leftSpeedKm,
       double rightSpeedKm)
Returns a bias by speed with normal extent. 
 | 
static GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBias.bySpeed(org.djunits.value.vdouble.scalar.Speed leftSpeed,
       org.djunits.value.vdouble.scalar.Speed rightSpeed)
Returns a bias by speed with normal extent. 
 | 
GeneratorPositions.LaneBias | 
GeneratorPositions.LaneBiases.getBias(org.opentrafficsim.core.gtu.GTUType gtuType)
Returns the bias of given GTU type, or  
Bias.None if none defined for the GTU type. | 
| Modifier and Type | Method and Description | 
|---|---|
GeneratorPositions.LaneBiases | 
GeneratorPositions.LaneBiases.addBias(org.opentrafficsim.core.gtu.GTUType gtuType,
       GeneratorPositions.LaneBias bias)
Adds a GTU bias for randomly drawing a lane. 
 | 
Copyright © 2014–2018 Delft University of Technology. All rights reserved.