Uses of Class
org.opentrafficsim.road.gtu.generator.Platoons
| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
-
Uses of Platoons in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator that return Platoons Modifier and Type Method Description Platoons<T>Platoons. addGtu(Time time)Add GTU to the current platoon.Platoons<T>Platoons. addGtu(Time time, Node origin, Node destination, T category)Add GTU to the current platoon.Platoons<T>Platoons. addPlatoon(Time start, Time end)Add a platoon.Platoons<T>Platoons. fixInfo(Node origin, Node destination, T category)Fix all info except time for GTU's added hereafter.static Platoons<Category>Platoons. ofCategory(GTUCharacteristicsGeneratorOD characteristics, DEVSSimulatorInterface.TimeDoubleUnit simulator, StreamInterface stream, java.util.Set<LaneDirection> position)Creates aPlatoon<Category>instance for platoons.static Platoons<GTUType>Platoons. ofGtuType(LaneBasedGTUCharacteristicsGenerator characteristics, DEVSSimulatorInterface.TimeDoubleUnit simulator, StreamInterface stream, java.util.Set<LaneDirection> position)Creates aPlatoon<GTUType>instance for platoons.