Uses of Class
org.opentrafficsim.road.gtu.generator.GeneratorPositions.LaneBias
Packages that use GeneratorPositions.LaneBias
Package
Description
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.LaneBiasModifier and TypeFieldDescriptionstatic final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.LEFTLeft-hand bias, 2nd left lane contains 25% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.MIDDLEMiddle bias, 2nd left lane contains 25% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.NONENo bias.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.RIGHTRight-hand bias, 2nd right lane contains 25% relative to right most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.STRONG_LEFTStrong left-hand bias, 2nd left lane contains 3.125% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.STRONG_MIDDLEStrong middle bias, 2nd left lane contains 3.125% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.STRONG_RIGHTStrong right-hand bias, 2nd right lane contains 3.125% relative to right most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.TRUCK_RIGHTStrong right-hand bias, limited to a maximum of 2 lanes.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.WEAK_LEFTWeak left-hand bias, 2nd left lane contains 50% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.WEAK_MIDDLEWeak middle bias, 2nd left lane contains 50% relative to left most lane, in free traffic.static final GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.WEAK_RIGHTWeak 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.LaneBiasModifier and TypeMethodDescriptionstatic GeneratorPositions.LaneBiasGeneratorPositions.LaneBias.bySpeed(double leftSpeedKm, double rightSpeedKm) Returns a bias by speed with normal extent.static GeneratorPositions.LaneBiasGeneratorPositions.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.Noneif none defined for the GTU type.Methods in org.opentrafficsim.road.gtu.generator with parameters of type GeneratorPositions.LaneBiasModifier and TypeMethodDescriptionGeneratorPositions.LaneBiases.addBias(GtuType gtuType, GeneratorPositions.LaneBias bias) Adds a GTU bias for randomly drawing a lane.