Package | Description |
---|---|
org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
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.plan.operational |
Specific operational plan method for road-vehicles operating in a lane-based network.
|
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.gtu.lane.tactical.lmrs |
Classes that implement the LMRS lane change model integrated with a car-following model forming a tactical planner.
|
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 |
AbstractLaneBasedGTU
This class contains most of the code that is needed to run a lane based GTU.
|
class |
AbstractLaneBasedIndividualGTU
Specific type of LaneBasedGTU.
|
class |
CopyOfAbstractLaneBasedGTU
This class contains most of the code that is needed to run a lane based GTU.
|
class |
LaneBasedIndividualGTU
Augments the AbstractLaneBasedIndividualGTU with a LaneBasedIndividualCarBuilder and animation support
|
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 | 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 laneBasedGtu)
sets the GTU -- call this method before any call to the perceive() method!
|
Modifier and Type | Method and Description |
---|---|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildGradualAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed)
Build a plan with a path and a given start speed to reach a provided end speed, exactly at the end of the curve.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildGradualAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed,
org.djunits.value.vdouble.scalar.Acceleration maxAcceleration,
org.djunits.value.vdouble.scalar.Acceleration maxDeceleration)
Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the end of the curve.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildMaximumAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Speed endSpeed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Acceleration deceleration)
Build a plan with a path and a given start speed to try to reach a provided end speed.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildStopPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length.Rel firstLanePosition,
org.djunits.value.vdouble.scalar.Length.Rel distance,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Acceleration deceleration)
Build a plan with a path and a given start speed to try to come to a stop with a given deceleration.
|
Constructor and Description |
---|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
nl.tudelft.simulation.language.d3.DirectedPoint waitPoint,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Rel duration,
Lane referenceLane)
Build a plan where the GTU will wait for a certain time.
|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
org.opentrafficsim.core.geometry.OTSLine3D path,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
List<org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment> operationalPlanSegmentList,
List<Lane> referenceLaneList)
Construct an operational plan without a lane change.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLanePathInfo(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.buildLanePathInfo(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.buildLanePathInfo(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<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 |
GTUFollowingModelOld.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 |
AbstractGTUFollowingModelMobil.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 |
AbstractCarFollowingModel.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) |
AccelerationStep |
GTUFollowingModelOld.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 |
AbstractGTUFollowingModelMobil.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 |
AbstractCarFollowingModel.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) |
AccelerationStep |
GTUFollowingModelOld.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 |
AbstractGTUFollowingModelMobil.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 |
AbstractCarFollowingModel.computeAccelerationStepWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit) |
AccelerationStep |
GTUFollowingModelOld.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 |
AbstractGTUFollowingModelMobil.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 |
AbstractCarFollowingModel.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) |
DualAccelerationStep |
GTUFollowingModelOld.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 |
AbstractGTUFollowingModelMobil.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 |
AbstractCarFollowingModel.computeDualAccelerationStep(LaneBasedGTU gtu,
Collection<HeadwayGTU> otherGtuHeadways,
org.djunits.value.vdouble.scalar.Length.Rel maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit) |
DualAccelerationStep |
GTUFollowingModelOld.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 |
AbstractGTUFollowingModelMobil.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. |
DualAccelerationStep |
AbstractCarFollowingModel.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) |
org.djunits.value.vdouble.scalar.Length.Rel |
IDM.desiredHeadway(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed)
Determines the desired headway.
|
org.djunits.value.vdouble.scalar.Length.Rel |
CarFollowingModel.desiredHeadway(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed)
Determines the desired headway.
|
org.djunits.value.vdouble.scalar.Speed |
IDM.desiredSpeed(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed)
Determines the desired speed.
|
org.djunits.value.vdouble.scalar.Speed |
CarFollowingModel.desiredSpeed(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed)
Determines the desired speed.
|
protected org.djunits.value.vdouble.scalar.Length.Rel |
IDM.dynamicDesiredHeadway(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines the dynamic desired headway, which is non-negative.
|
protected org.djunits.value.vdouble.scalar.Length.Rel |
IDM.dynamicHeadwayTerm(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines the dynamic headway term.
|
org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingModel.followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines car-following acceleration.
|
org.djunits.value.vdouble.scalar.Acceleration |
AbstractCarFollowingModel.followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Determines car-following acceleration.
|
org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingModel.followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed,
SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders)
Multi-anticipative determination of car-following acceleration.
|
org.djunits.value.vdouble.scalar.Acceleration |
AbstractCarFollowingModel.followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed,
SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders)
Multi-anticipative determination of car-following acceleration.
|
protected org.djunits.value.vdouble.scalar.Acceleration |
IDMPlus.followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed desiredSpeed,
org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway,
SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders)
Multi-anticipative determination of car-following acceleration.
|
protected org.djunits.value.vdouble.scalar.Acceleration |
IDM.followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed desiredSpeed,
org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway,
SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders)
Multi-anticipative determination of car-following acceleration.
|
protected abstract org.djunits.value.vdouble.scalar.Acceleration |
AbstractCarFollowingModel.followingAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed desiredSpeed,
org.djunits.value.vdouble.scalar.Length.Rel desiredHeadway,
SortedMap<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.value.vdouble.scalar.Speed> leaders)
Multi-anticipative determination of car-following acceleration.
|
org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingModel.freeAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed)
Determines the acceleration if there is no reason to decelerate.
|
org.djunits.value.vdouble.scalar.Acceleration |
AbstractCarFollowingModel.freeAcceleration(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Speed speedLimit,
boolean enforcement,
org.djunits.value.vdouble.scalar.Speed maximumVehicleSpeed)
Determines the acceleration if there is no reason to decelerate.
|
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 | Method and Description |
---|---|
protected org.djunits.value.vdouble.scalar.Acceleration |
LMRS.calculateAcceleration(LaneBasedGTU follower,
HeadwayGTU leader) |
protected org.djunits.value.vdouble.scalar.Acceleration |
LMRS.calculateAcceleration(LaneBasedGTU follower,
HeadwayGTU leader,
double d) |
Desire |
MandatoryIncentive.determineDesire(LaneBasedGTU gtu,
LanePerception perception)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveRoute.determineDesire(LaneBasedGTU gtu,
LanePerception perception)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveDummy.determineDesire(LaneBasedGTU gtu,
LanePerception perception)
Determines level of lane change desire for a lane change incentive.
|
Desire |
VoluntaryIncentive.determineDesire(LaneBasedGTU gtu,
LanePerception perception,
Desire mandatory)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveSpeedWithCourtesy.determineDesire(LaneBasedGTU gtu,
LanePerception perception,
Desire mandatory)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveSpeed.determineDesire(LaneBasedGTU gtu,
LanePerception perception,
Desire mandatory)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveKeep.determineDesire(LaneBasedGTU gtu,
LanePerception perception,
Desire mandatory)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveHierarchal.determineDesire(LaneBasedGTU gtu,
LanePerception perception,
Desire mandatory)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveCourtesy.determineDesire(LaneBasedGTU gtu,
LanePerception perception,
Desire mandatory)
Determines level of lane change desire for a lane change incentive.
|
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.