Uses of Class
org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGTUCharacteristics
| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
| org.opentrafficsim.road.gtu.generator.characteristics |
Classes concerning generation of
LaneBasedGTUCharacteristicsGenerator for vehicle generation. |
| org.opentrafficsim.road.gtu.generator.od |
OD based vehicle generation.
|
-
Uses of LaneBasedGTUCharacteristics in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator with parameters of type LaneBasedGTUCharacteristics Modifier and Type Method Description LaneBasedGTUGenerator.PlacementCFRoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementLaneBasedGTUGenerator.RoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.LaneBasedGTUGenerator.PlacementTTCRoomChecker. canPlace(java.util.SortedSet<HeadwayGTU> leaders, LaneBasedGTUCharacteristics characteristics, Duration since, java.util.Set<DirectedLanePosition> initialPosition)Return the maximum safe speed and position for a new GTU with the specified characteristics.voidLaneBasedGTUGenerator. placeGtu(LaneBasedGTUCharacteristics characteristics, java.util.Set<DirectedLanePosition> position, Speed speed)Places a GTU, regardless of whether it has room.voidLaneBasedGTUGenerator. queueGtu(LaneBasedGTUCharacteristics characteristics, java.util.Set<LaneDirection> position)Adds a GTU to the generation queue. -
Uses of LaneBasedGTUCharacteristics in org.opentrafficsim.road.gtu.generator.characteristics
Methods in org.opentrafficsim.road.gtu.generator.characteristics that return LaneBasedGTUCharacteristics Modifier and Type Method Description LaneBasedGTUCharacteristicsLaneBasedGTUCharacteristicsGenerator. draw()Generate a LaneBasedGTUCharacteristics object.LaneBasedGTUCharacteristicsLaneBasedTemplateGTUType. draw()Generate the properties of the next GTU.LaneBasedGTUCharacteristicsLaneBasedTemplateGTUTypeDistribution. draw()Generate a LaneBasedGTUCharacteristics object. -
Uses of LaneBasedGTUCharacteristics in org.opentrafficsim.road.gtu.generator.od
Methods in org.opentrafficsim.road.gtu.generator.od that return LaneBasedGTUCharacteristics Modifier and Type Method Description LaneBasedGTUCharacteristicsDefaultGTUCharacteristicsGeneratorOD. draw(Node origin, Node destination, Category category, StreamInterface randomStream)Generate newLaneBasedGTUCharacteristicsusing given input from OD.LaneBasedGTUCharacteristicsGTUCharacteristicsGeneratorOD. draw(Node origin, Node destination, Category category, StreamInterface randomStream)Generate newLaneBasedGTUCharacteristicsusing given input from OD.