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.
|
org.opentrafficsim.road.gtu.lane.perception |
Implementation of lane-based perception for the GTU.
|
org.opentrafficsim.road.gtu.lane.plan.operational |
Specific operational plan method for road-vehicles operating in a lane-based network.
|
Modifier and Type | Method and Description |
---|---|
Set<DirectedLanePosition> |
LaneBasedGTUGenerator.Placement.getPosition()
Returns the position.
|
(package private) Set<DirectedLanePosition> |
GeneratorPositions.GeneratorLanePosition.getPosition()
Returns the contained position set, representing a single GTU position on the network.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTUGenerator.Placement |
TTCRoomChecker.canPlace(SortedSet<HeadwayGTU> leaders,
LaneBasedGTUCharacteristics characteristics,
org.djunits.value.vdouble.scalar.Duration since,
Set<DirectedLanePosition> initialPosition)
Return the maximum safe speed and position for a new GTU with the specified characteristics.
|
LaneBasedGTUGenerator.Placement |
LaneBasedGTUGenerator.RoomChecker.canPlace(SortedSet<HeadwayGTU> leaders,
LaneBasedGTUCharacteristics characteristics,
org.djunits.value.vdouble.scalar.Duration since,
Set<DirectedLanePosition> initialPosition)
Return the maximum safe speed and position for a new GTU with the specified characteristics.
|
LaneBasedGTUGenerator.Placement |
CFRoomChecker.canPlace(SortedSet<HeadwayGTU> leaders,
LaneBasedGTUCharacteristics characteristics,
org.djunits.value.vdouble.scalar.Duration since,
Set<DirectedLanePosition> initialPosition)
Return the maximum safe speed and position for a new GTU with the specified characteristics.
|
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.
|
(package private) void |
LaneBasedGTUGenerator.placeGtu(LaneBasedGTUCharacteristics characteristics,
Set<DirectedLanePosition> position,
org.djunits.value.vdouble.scalar.Speed speed) |
Constructor and Description |
---|
GeneratorLanePosition(int laneNumber,
Set<DirectedLanePosition> position,
CrossSectionLink link)
Constructor.
|
Placement(org.djunits.value.vdouble.scalar.Speed speed,
Set<DirectedLanePosition> position)
Constructor.
|
Platoons(LaneBasedGTUGenerator generator,
GTUCharacteristicsGeneratorOD characteristics,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
nl.tudelft.simulation.jstats.streams.StreamInterface stream,
Set<DirectedLanePosition> position)
Constructor.
|
Platoons(LaneBasedGTUGenerator generator,
LaneBasedGTUCharacteristicsGenerator characteristics,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
Set<DirectedLanePosition> position)
Constructor.
|
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() |
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<? super LaneBasedIndividualGTU>> animationClass,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer) |
void |
AbstractLaneBasedGTU.reinit(Set<DirectedLanePosition> initialLongitudinalPositions)
Reinitializes the GTU on the network using the existing strategical planner and zero speed.
|
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder |
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder.setInitialLongitudinalPositions(Set<DirectedLanePosition> initialLongitudinalPositions) |
Modifier and Type | Method and Description |
---|---|
void |
RollingLaneStructure.update(DirectedLanePosition pos,
org.opentrafficsim.core.network.route.Route route,
org.opentrafficsim.core.gtu.GTUType gtuType)
Updates the underlying structure shifting the root position to the input.
|
void |
LaneStructure.update(DirectedLanePosition pos,
org.opentrafficsim.core.network.route.Route route,
org.opentrafficsim.core.gtu.GTUType gtuType)
Updates the underlying structure shifting the root position to the input.
|
Modifier and Type | Method and Description |
---|---|
org.opentrafficsim.core.geometry.OTSLine3D |
LaneChange.getPath(org.djunits.value.vdouble.scalar.Duration timeStep,
LaneBasedGTU gtu,
DirectedLanePosition from,
nl.tudelft.simulation.language.d3.DirectedPoint startPosition,
org.djunits.value.vdouble.scalar.Length planDistance,
org.opentrafficsim.core.network.LateralDirectionality laneChangeDirection)
Returns the path for a lane change.
|
org.opentrafficsim.core.geometry.OTSLine3D |
LaneChange.LaneChangePath.getPath(org.djunits.value.vdouble.scalar.Duration timeStep,
org.djunits.value.vdouble.scalar.Length planDistance,
org.djunits.value.vdouble.scalar.Speed meanSpeed,
DirectedLanePosition from,
nl.tudelft.simulation.language.d3.DirectedPoint startPosition,
org.opentrafficsim.core.network.LateralDirectionality laneChangeDirection,
List<LaneDirection> fromLanes,
List<LaneDirection> toLanes,
double endFractionalPosition,
org.djunits.value.vdouble.scalar.Duration laneChangeDuration,
double lcFraction)
Returns a (partial) path for a lane change.
|
org.opentrafficsim.core.geometry.OTSLine3D |
LaneChange.LaneChangePath.SequentialLaneChangePath.getPath(org.djunits.value.vdouble.scalar.Duration timeStep,
org.djunits.value.vdouble.scalar.Length planDistance,
org.djunits.value.vdouble.scalar.Speed meanSpeed,
DirectedLanePosition from,
nl.tudelft.simulation.language.d3.DirectedPoint startPosition,
org.opentrafficsim.core.network.LateralDirectionality laneChangeDirection,
List<LaneDirection> fromLanes,
List<LaneDirection> toLanes,
double endFractionalPosition,
org.djunits.value.vdouble.scalar.Duration laneChangeDuration,
double lcFraction)
Returns a (partial) path for a lane change.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.