Uses of Class
org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGtuCharacteristics
Package
Description
Generate GTUs according to some prescription.
Classes concerning generation of
LaneBasedGtuCharacteristicsGenerator
for vehicle generation.-
Uses of LaneBasedGtuCharacteristics in org.opentrafficsim.road.gtu.generator
Modifier and TypeMethodDescriptionCfRoomChecker.canPlace
(SortedSet<HeadwayGtu> leaders, LaneBasedGtuCharacteristics characteristics, org.djunits.value.vdouble.scalar.Duration since, LanePosition initialPosition) Return the maximum safe speed and position for a new GTU with the specified characteristics.Injections.canPlace
(SortedSet<HeadwayGtu> leaders, LaneBasedGtuCharacteristics characteristics, org.djunits.value.vdouble.scalar.Duration since, LanePosition initialPosition) Returns placement for injected GTUs, as used byLaneBasedGtuGenerator
.LaneBasedGtuGenerator.RoomChecker.canPlace
(SortedSet<HeadwayGtu> leaders, LaneBasedGtuCharacteristics characteristics, org.djunits.value.vdouble.scalar.Duration since, LanePosition initialPosition) Return the maximum safe speed and position for a new GTU with the specified characteristics.TtcRoomChecker.canPlace
(SortedSet<HeadwayGtu> leaders, LaneBasedGtuCharacteristics characteristics, org.djunits.value.vdouble.scalar.Duration since, LanePosition initialPosition) Return the maximum safe speed and position for a new GTU with the specified characteristics.GeneratorPositions.draw
(GtuType gtuType, LaneBasedGtuCharacteristics characteristics, Map<CrossSectionLink, Map<Integer, Integer>> unplaced) Draw a new position to generate a GTU.Injections.draw
(GtuType gtuType, LaneBasedGtuCharacteristics characteristics, Map<CrossSectionLink, Map<Integer, Integer>> unplaced) Draw a new position to generate a GTU.final void
LaneBasedGtuGenerator.placeGtu
(LaneBasedGtuCharacteristics characteristics, LanePosition position, org.djunits.value.vdouble.scalar.Speed speed) Places a GTU, regardless of whether it has room.final void
LaneBasedGtuGenerator.queueGtu
(LaneBasedGtuCharacteristics characteristics, Lane lane) Adds a GTU to the generation queue.void
GtuSpawner.spawnGtu
(String id, LaneBasedGtuCharacteristics templateGtuType, RoadNetwork network, org.djunits.value.vdouble.scalar.Speed speed, LanePosition position) Create a single GTU. -
Uses of LaneBasedGtuCharacteristics in org.opentrafficsim.road.gtu.generator.characteristics
Modifier and TypeMethodDescriptionDefaultLaneBasedGtuCharacteristicsGeneratorOd.draw
(Node origin, Node destination, Category category, nl.tudelft.simulation.jstats.streams.StreamInterface randomStream) Generate newLaneBasedGtuCharacteristics
using given input from OD.LaneBasedGtuCharacteristicsGenerator.draw()
Generate aLaneBasedGtuCharacteristics
object.LaneBasedGtuCharacteristicsGeneratorOd.draw
(Node origin, Node destination, Category category, nl.tudelft.simulation.jstats.streams.StreamInterface randomStream) Generate newLaneBasedGtuCharacteristics
using given input from OD.LaneBasedGtuTemplate.draw()
Generate the properties of the next GTU.LaneBasedGtuTemplateDistribution.draw()
Generate aLaneBasedGtuCharacteristics
object.