Package | Description |
---|---|
org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
org.opentrafficsim.road.car |
Classes that extend the GTU to car behavior.
|
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.object |
Lane-based objects such as barriers, gates, traffic lights, obstacles on the road, etc.
|
org.opentrafficsim.road.gtu.lane.perception |
Implementation of lane-based perception for the GTU.
|
org.opentrafficsim.road.gtu.lane.tactical |
Tactical planners for a lane-based GTU.
|
org.opentrafficsim.road.gtu.lane.tactical.directedlanechange |
Classes that deal with lane changing models.
|
org.opentrafficsim.road.gtu.lane.tactical.following |
GTU (Car) following models such as IDM+.
|
org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil |
Classes that deal with lane changing models.
|
org.opentrafficsim.road.network.factory.opendrive.communicationRTI | |
org.opentrafficsim.road.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
org.opentrafficsim.road.network.lane.changing |
Lane change possibility models.
|
Modifier and Type | Method and Description |
---|---|
void |
FundamentalDiagram.addData(LaneBasedGTU gtu)
Add the effect of one passing car to this Fundamental Diagram.
|
void |
TrajectoryPlot.addData(LaneBasedGTU car,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
LaneBasedGTUSampler.addData(LaneBasedGTU gtu,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
ContourPlot.addData(LaneBasedGTU car,
Lane lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
TrajectoryPlot.Trajectory.addSegment(LaneBasedGTU car,
Lane lane,
double positionOffset)
Add a trajectory segment and update the currentEndTime and currentEndPosition.
|
void |
FundamentalDiagram.FundamentalDiagramSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
Modifier and Type | Class and Description |
---|---|
class |
LaneBasedIndividualCar
Augments the AbstractLaneBasedIndividualGTU with a LaneBasedIndividualCarBuilder and animation support
|
class |
LaneBasedTemplateCar
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLaneBasedGTU
This class contains most of the code that is needed to run a lane based GTU.
|
class |
AbstractLaneBasedIndividualGTU
Specific type of LaneBasedGTU.
|
class |
AbstractLaneBasedTemplateGTU
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTrafficLight
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
LaneBlock
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
LaneBlockOnOff
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
SimpleTrafficLight
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Field and Description |
---|---|
protected LaneBasedGTU |
AbstractLanePerception.gtu
The lane based GTU for which this perception module stores information.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
LanePerception.getGTU() |
LaneBasedGTU |
AbstractLanePerception.getGTU() |
Modifier and Type | Method and Description |
---|---|
Set<LaneBasedGTU> |
LanePerception.getParallelGTUsLeft() |
Set<LaneBasedGTU> |
AbstractLanePerception.getParallelGTUsLeft() |
Set<LaneBasedGTU> |
LanePerception.getParallelGTUsRight() |
Set<LaneBasedGTU> |
AbstractLanePerception.getParallelGTUsRight() |
TimeStampedObject<Set<LaneBasedGTU>> |
LanePerception.getTimeStampedParallelGTUsLeft() |
TimeStampedObject<Set<LaneBasedGTU>> |
AbstractLanePerception.getTimeStampedParallelGTUsLeft() |
TimeStampedObject<Set<LaneBasedGTU>> |
LanePerception.getTimeStampedParallelGTUsRight() |
TimeStampedObject<Set<LaneBasedGTU>> |
AbstractLanePerception.getTimeStampedParallelGTUsRight() |
Set<LaneBasedGTU> |
LanePerception.parallelGTUs(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
Set<LaneBasedGTU> |
AbstractLanePerception.parallelGTUs(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) |
Modifier and Type | Method and Description |
---|---|
void |
LanePerception.setGTU(LaneBasedGTU gtu)
sets the GTU -- call this method before any call to the perceive() method!
|
void |
AbstractLanePerception.setGTU(LaneBasedGTU gtu)
sets the GTU -- call this method before any call to the perceive() method!
|
Modifier and Type | Method and Description |
---|---|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLaneListForward(LaneBasedGTU gtu,
Lane startLane,
org.djunits.value.vdouble.scalar.Length.Rel startPosition,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway)
Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.
|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLaneListForward(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway)
Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.
|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLaneListForward(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality)
Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.
|
protected static List<Lane> |
AbstractLaneBasedTacticalPlanner.buildLaneListForwardXXX(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality)
Build a list of lanes forward, with a maximum headway.
|
protected static List<org.opentrafficsim.core.network.LinkDirection> |
AbstractLaneBasedTacticalPlanner.buildLinkListForward(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway)
Make a list of links on which to drive next, with a maximum headway relative to the reference point of the GTU.
|
protected static boolean |
AbstractLaneBasedTacticalPlanner.connectsToPath(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality,
org.opentrafficsim.core.network.Link linkAfterSplit)
Determine whether the lane is directly connected to our route, in other words: if we would (continue to) drive on the
given lane, can we take the right branch at the nextSplitNode without switching lanes?
|
static NextSplitInfo |
AbstractLaneBasedTacticalPlanner.determineNextSplit(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway)
Calculate the next location where the network splits, with a maximum headway relative to the reference point of the GTU.
|
static Lane |
AbstractLaneBasedTacticalPlanner.getReferenceLane(LaneBasedGTU gtu)
The reference lane is the widest lane on which the reference point of the GTU is fully registered.
|
protected static boolean |
AbstractLaneBasedTacticalPlanner.noLaneDrop(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxHeadway,
Lane startLane,
double startLaneFractionalPosition,
org.opentrafficsim.core.gtu.GTUDirectionality startDirectionality)
Determine whether the lane does not drop, in other words: if we would (continue to) drive on the given lane, can we
continue to drive at the nextSplitNode without switching lanes?
|
Modifier and Type | Method and Description |
---|---|
DirectedLaneMovementStep |
DirectedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
org.opentrafficsim.core.network.LateralDirectionality direction,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> otherLaneTraffic,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Acceleration otherLaneRouteIncentive,
org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold,
org.djunits.value.vdouble.scalar.Time.Rel laneChangeTime)
Compute the acceleration and lane change.
|
DirectedLaneMovementStep |
DirectedFixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
org.opentrafficsim.core.network.LateralDirectionality direction,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> otherLaneTraffic,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Acceleration otherLaneRouteIncentive,
org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold,
org.djunits.value.vdouble.scalar.Time.Rel laneChangeTime)
Compute the acceleration and lane change.
|
DirectedLaneMovementStep |
AbstractDirectedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
org.opentrafficsim.core.network.LateralDirectionality direction,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> otherLaneGTUs,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Acceleration otherLaneRouteIncentive,
org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold,
org.djunits.value.vdouble.scalar.Time.Rel laneChangeTime)
Compute the acceleration and lane change.
|
Modifier and Type | Method and Description |
---|---|
AccelerationStep |
GTUFollowingModel.computeAccelerationStep(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used to follow a leader.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationStep(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used to follow a leader.
|
AccelerationStep |
GTUFollowingModel.computeAccelerationStep(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Time.Rel stepSize)
Compute the acceleration that would be used to follow a leader.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationStep(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Time.Rel stepSize)
Compute the acceleration that would be used to follow a leader.
|
AccelerationStep |
GTUFollowingModel.computeAccelerationStepWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationStepWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
GTUFollowingModel.computeAccelerationStepWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Time.Rel stepSize)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationStepWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Time.Rel stepSize)
Compute the acceleration that would be used if the is not leader in sight.
|
DualAccelerationStep |
GTUFollowingModel.computeDualAccelerationStep(LaneBasedGTU gtu,
Collection<HeadwayGTU> otherGtuHeadways,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. or should slow down for a crossing from accelerating to unsafe speeds. |
DualAccelerationStep |
AbstractGTUFollowingModel.computeDualAccelerationStep(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. or should slow down for a crossing from accelerating to unsafe speeds. |
DualAccelerationStep |
GTUFollowingModel.computeDualAccelerationStep(LaneBasedGTU gtu,
Collection<HeadwayGTU> otherGtuHeadways,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Time.Rel stepSize)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. or should slow down for a crossing from accelerating to unsafe speeds. |
DualAccelerationStep |
AbstractGTUFollowingModel.computeDualAccelerationStep(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Time.Rel stepSize)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. or should slow down for a crossing from accelerating to unsafe speeds. |
Modifier and Type | Method and Description |
---|---|
LaneMovementStep |
LaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive,
org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold,
org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
FixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive,
org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold,
org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
LaneMovementStep |
AbstractLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
Collection<HeadwayGTU> sameLaneGTUs,
Collection<HeadwayGTU> preferredLaneGTUs,
Collection<HeadwayGTU> nonPreferredLaneGTUs,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive,
org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold,
org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
Modifier and Type | Class and Description |
---|---|
class |
RTICars |
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
Lane.getGtuAhead(org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when)
Get the first GTU where the relativePosition is in front of a certain position on the lane, in a driving direction on
this lane, compared to the DESIGN LINE.
|
LaneBasedGTU |
Lane.getGtuBehind(org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when)
Get the first GTU where the relativePosition is behind a certain position on the lane, in a driving direction on this
lane, compared to the DESIGN LINE.
|
Modifier and Type | Method and Description |
---|---|
List<LaneBasedGTU> |
Lane.getGtuList() |
Modifier and Type | Method and Description |
---|---|
int |
Lane.addGTU(LaneBasedGTU gtu,
double fractionalPosition)
Add a LaneBasedGTU to the list of this Lane.
|
int |
Lane.addGTU(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition)
Add a LaneBasedGTU to the list of this Lane.
|
void |
Lane.removeGTU(LaneBasedGTU gtu)
Remove a GTU from the GTU list of this lane.
|
void |
Lane.sample(LaneBasedGTU gtu)
Add the movement of a GTU to all graphs that sample this Lane.
|
void |
Lane.scheduleTriggers(LaneBasedGTU gtu,
double referenceStartSI,
double referenceMoveSI)
Trigger the sensors for a certain time step; from now until the nextEvaluationTime of the GTU.
|
void |
SinkSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
void |
SimpleReportingSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
void |
Sensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
Modifier and Type | Method and Description |
---|---|
OvertakingDirection |
OvertakingConditions.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.None.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAndRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAlwaysRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightAlwaysLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSetRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSetLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.