Uses of Class
org.opentrafficsim.road.gtu.generator.GeneratorPositions
Package | Description |
---|---|
org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
-
Uses of GeneratorPositions in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator that return GeneratorPositions Modifier and Type Method Description static GeneratorPositions
GeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream)
Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream, java.util.Map<CrossSectionLink,java.lang.Double> linkWeights)
Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases biases)
Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions. create(java.util.Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases biases, java.util.Map<CrossSectionLink,java.lang.Double> linkWeights)
Create a GeneratorPositions object to draw positions from.Constructors in org.opentrafficsim.road.gtu.generator with parameters of type GeneratorPositions Constructor Description LaneBasedGTUGenerator(java.lang.String id, Generator<Duration> interarrivelTimeGenerator, LaneBasedGTUCharacteristicsGenerator laneBasedGTUCharacteristicsGenerator, GeneratorPositions generatorPositions, OTSRoadNetwork network, OTSSimulatorInterface simulator, LaneBasedGTUGenerator.RoomChecker roomChecker, IdGenerator idGenerator)
Construct a new lane base GTU generator.