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 GeneratorPositionsGeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream)Create a GeneratorPositions object to draw positions from.static GeneratorPositionsGeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream, Map<CrossSectionLink,Double> linkWeights, Map<CrossSectionLink,Node> viaNodes)Create a GeneratorPositions object to draw positions from.static GeneratorPositionsGeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases biases)Create a GeneratorPositions object to draw positions from.static GeneratorPositionsGeneratorPositions. create(Set<DirectedLanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases laneBiases, Map<CrossSectionLink,Double> linkWeights, Map<CrossSectionLink,Node> viaNodes)Create a GeneratorPositions object to draw positions from.Constructors in org.opentrafficsim.road.gtu.generator with parameters of type GeneratorPositions Constructor Description LaneBasedGTUGenerator(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.