| Package | Description | 
|---|---|
| org.opentrafficsim.road.gtu.generator | 
 Generate GTUs according to some prescription. 
 | 
| Modifier and Type | Method and 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,
          Set<LaneDirection> position)
Creates a  
Platoon<Category> instance for platoons. | 
static Platoons<GTUType> | 
Platoons.ofGtuType(LaneBasedGTUCharacteristicsGenerator characteristics,
         DEVSSimulatorInterface.TimeDoubleUnit simulator,
         StreamInterface stream,
         Set<LaneDirection> position)
Creates a  
Platoon<GTUType> instance for platoons. | 
Copyright © 2014–2019 Delft University of Technology. All rights reserved.