Uses of Class
org.opentrafficsim.road.gtu.generator.Platoons
Package
Description
Generate GTUs according to some prescription.
-
Uses of Platoons in org.opentrafficsim.road.gtu.generator
Modifier and TypeMethodDescriptionPlatoons.addGtu
(org.djunits.value.vdouble.scalar.Time time) Add GTU to the current platoon.Platoons.addGtu
(org.djunits.value.vdouble.scalar.Time time, Node origin, Node destination, T category) Add GTU to the current platoon.Platoons.addPlatoon
(org.djunits.value.vdouble.scalar.Time start, org.djunits.value.vdouble.scalar.Time end) Add a platoon.Fix all info except time for GTU's added hereafter.Platoons.ofCategory
(LaneBasedGtuCharacteristicsGeneratorOd characteristics, OtsSimulatorInterface simulator, nl.tudelft.simulation.jstats.streams.StreamInterface stream, Lane position) Creates aPlatoon<Category>
instance for platoons.Platoons.ofGtuType
(LaneBasedGtuCharacteristicsGenerator characteristics, OtsSimulatorInterface simulator, nl.tudelft.simulation.jstats.streams.StreamInterface stream, Lane position) Creates aPlatoon<GtuType>
instance for platoons.