Package | Description |
---|---|
org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
org.opentrafficsim.road.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.
|
Modifier and Type | Field and Description |
---|---|
(package private) Set<DirectedLanePosition> |
LaneBasedGTUGenerator.initialLongitudinalPositions
The location and initial direction of the generated GTUs.
|
Constructor and Description |
---|
CharacteristicsGenerator(LaneBasedStrategicalRoutePlannerFactory strategicalFactory,
org.opentrafficsim.core.network.route.RouteGenerator routeGenerator,
org.opentrafficsim.core.idgenerator.IdGenerator idGenerator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network,
GTUTypeGenerator gtuTypeGenerator,
org.djunits.value.vdouble.scalar.Speed generationSpeed,
Set<DirectedLanePosition> positions) |
LaneBasedGTUGenerator(String id,
org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Duration> interarrivelTimeGenerator,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Time endTime,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedGTUCharacteristicsGenerator laneBasedGTUCharacteristicsGenerator,
Set<DirectedLanePosition> initialLongitudinalPositions,
org.opentrafficsim.core.network.OTSNetwork network,
LaneBasedGTUGenerator.RoomChecker roomChecker)
Construct a new lane base GTU generator.
|
Modifier and Type | Method and Description |
---|---|
DirectedLanePosition |
LaneBasedGTU.getReferencePosition()
Return the current Lane, position and directionality of the GTU.
|
DirectedLanePosition |
AbstractLaneBasedGTU.getReferencePosition()
Return the current Lane, position and directionality of the GTU.
|
Modifier and Type | Method and Description |
---|---|
Set<DirectedLanePosition> |
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder.getInitialLongitudinalPositions() |
Set<DirectedLanePosition> |
LaneBasedGTUCharacteristics.getInitialLongitudinalPositions() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLaneBasedGTU.init(LaneBasedStrategicalPlanner strategicalPlanner,
Set<DirectedLanePosition> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed) |
void |
LaneBasedIndividualGTU.initWithAnimation(LaneBasedStrategicalPlanner strategicalPlanner,
Set<DirectedLanePosition> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer) |
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder |
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder.setInitialLongitudinalPositions(Set<DirectedLanePosition> initialLongitudinalPositions) |
Constructor and Description |
---|
LaneBasedGTUCharacteristics(org.opentrafficsim.core.gtu.GTUCharacteristics gtuCharacteristics,
LaneBasedStrategicalPlannerFactory<?> laneBasedStrategicalPlannerFactory,
org.opentrafficsim.core.network.route.Route route,
org.djunits.value.vdouble.scalar.Speed speed,
Set<DirectedLanePosition> initialLongitudinalPositions)
Construct a new set of lane based GTU characteristics.
|
LaneBasedTemplateGTUType(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.idgenerator.IdGenerator idGenerator,
org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Length> lengthGenerator,
org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Length> widthGenerator,
org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Speed> maximumSpeedGenerator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
LaneBasedStrategicalPlannerFactory<?> strategicalPlannerFactory,
org.opentrafficsim.core.network.route.RouteGenerator routeGenerator,
Set<DirectedLanePosition> initialLongitudinalPositions,
org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Speed> initialSpeedGenerator,
org.opentrafficsim.core.network.OTSNetwork network) |
Copyright © 2014–2017 Delft University of Technology. All rights reserved.