| Package | Description | 
|---|---|
| org.opentrafficsim.road.gtu.generator | 
 Generate GTUs according to some prescription. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static GeneratorPositions | 
GeneratorPositions.create(Set<DirectedLanePosition> positions,
      nl.tudelft.simulation.jstats.streams.StreamInterface stream)
Create a GeneratorPositions object to draw positions from. 
 | 
static GeneratorPositions | 
GeneratorPositions.create(Set<DirectedLanePosition> positions,
      nl.tudelft.simulation.jstats.streams.StreamInterface stream,
      GeneratorPositions.LaneBiases biases)
Create a GeneratorPositions object to draw positions from. 
 | 
static GeneratorPositions | 
GeneratorPositions.create(Set<DirectedLanePosition> positions,
      nl.tudelft.simulation.jstats.streams.StreamInterface stream,
      GeneratorPositions.LaneBiases biases,
      Map<CrossSectionLink,Double> linkWeights)
Create a GeneratorPositions object to draw positions from. 
 | 
static GeneratorPositions | 
GeneratorPositions.create(Set<DirectedLanePosition> positions,
      nl.tudelft.simulation.jstats.streams.StreamInterface stream,
      Map<CrossSectionLink,Double> linkWeights)
Create a GeneratorPositions object to draw positions from. 
 | 
| Constructor and Description | 
|---|
LaneBasedGTUGenerator(String id,
                     org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Duration> interarrivelTimeGenerator,
                     org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
                     LaneBasedGTUCharacteristicsGenerator laneBasedGTUCharacteristicsGenerator,
                     GeneratorPositions generatorPositions,
                     org.opentrafficsim.core.network.OTSNetwork network,
                     org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
                     LaneBasedGTUGenerator.RoomChecker roomChecker,
                     org.opentrafficsim.core.idgenerator.IdGenerator idGenerator)
Construct a new lane base GTU generator. 
 | 
Copyright © 2014–2018 Delft University of Technology. All rights reserved.