Uses of Class
org.opentrafficsim.road.gtu.generator.GeneratorPositions.LaneBias
-
Packages that use GeneratorPositions.LaneBias Package Description org.opentrafficsim.road.gtu.generator Generate GTUs according to some prescription. -
-
Uses of GeneratorPositions.LaneBias in org.opentrafficsim.road.gtu.generator
Fields in org.opentrafficsim.road.gtu.generator declared as GeneratorPositions.LaneBias Modifier and Type Field 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.Methods in org.opentrafficsim.road.gtu.generator that return GeneratorPositions.LaneBias Modifier and Type Method 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(Speed leftSpeed, Speed rightSpeed)
Returns a bias by speed with normal extent.GeneratorPositions.LaneBias
GeneratorPositions.LaneBiasDefaults. getBias(GTUType.DEFAULTS gtuEnum)
Returns the bias of given GTU type, orBias.None
if none defined for the GTU type.GeneratorPositions.LaneBias
GeneratorPositions.LaneBiases. getBias(GTUType gtuType)
Returns the bias of given GTU type, orBias.None
if none defined for the GTU type.Methods in org.opentrafficsim.road.gtu.generator with parameters of type GeneratorPositions.LaneBias Modifier and Type Method Description GeneratorPositions.LaneBiasDefaults
GeneratorPositions.LaneBiasDefaults. addBias(GTUType.DEFAULTS gtuEnum, GeneratorPositions.LaneBias bias)
Adds a GTU bias for randomly drawing a lane.GeneratorPositions.LaneBiases
GeneratorPositions.LaneBiases. addBias(GTUType gtuType, GeneratorPositions.LaneBias bias)
Adds a GTU bias for randomly drawing a lane.
-