Uses of Class
org.opentrafficsim.road.gtu.generator.GeneratorPositions.LaneBias
Package
Description
Generate GTUs according to some prescription.
-
Uses of GeneratorPositions.LaneBias in org.opentrafficsim.road.gtu.generator
Modifier and TypeFieldDescriptionstatic final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.LEFT
Left-hand bias, 2nd left lane contains 25% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.MIDDLE
Middle bias, 2nd left lane contains 25% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.NONE
No bias.static final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.RIGHT
Right-hand bias, 2nd right lane contains 25% relative to right most lane, in free traffic.static final 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 final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.STRONG_MIDDLE
Strong middle bias, 2nd left lane contains 3.125% relative to left most lane, in free traffic.static final 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 final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.TRUCK_RIGHT
Strong right-hand bias, limited to a maximum of 2 lanes.static final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.WEAK_LEFT
Weak left-hand bias, 2nd left lane contains 50% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBias
GeneratorPositions.LaneBias.WEAK_MIDDLE
Weak middle bias, 2nd left lane contains 50% relative to left most lane, in free traffic.static final 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 TypeMethodDescriptionstatic 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.Returns the bias of given GTU type, orBias.None
if none defined for the GTU type.Modifier and TypeMethodDescriptionGeneratorPositions.LaneBiases.addBias
(GtuType gtuType, GeneratorPositions.LaneBias bias) Adds a GTU bias for randomly drawing a lane.