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.perception |
Implementation of lane-based perception for the GTU.
|
org.opentrafficsim.road.gtu.lane.perception.categories |
Categories define a set of perceivable information.
|
org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
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.gtu.lane.tactical.toledo |
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
org.opentrafficsim.road.gtu.lane.tactical.util |
Static methods for composition in tactical planners.
|
org.opentrafficsim.road.gtu.lane.tactical.util.lmrs |
LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.
|
org.opentrafficsim.road.gtu.strategical |
Strategical planners for a road-based GTU.
|
org.opentrafficsim.road.gtu.strategical.route |
Route planners as part of strategical planning.
|
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.
|
org.opentrafficsim.road.network.lane.object.sensor |
Lane-based objects that act as sensors.
|
org.opentrafficsim.road.network.sampling |
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Method and Description |
---|---|
void |
FundamentalDiagram.addData(LaneBasedGTU gtu)
Add the effect of one passing car to this Fundamental Diagram.
|
protected void |
ContourPlot.addData(LaneBasedGTU gtu,
Lane lane)
Add data for a GTU on a lane to this graph.
|
protected void |
TrajectoryPlot.addData(LaneBasedGTU gtu,
Lane lane,
double posOnLane)
Add data for a GTU on a lane to this graph.
|
void |
TrajectoryPlot.Trajectory.addSample(LaneBasedGTU gtu,
Lane lane,
double position)
Add a trajectory segment sample and update the currentEndTime and currentEndPosition.
|
void |
TrajectoryPlot.VariableSampleRateTrajectory.addSample(LaneBasedGTU gtu,
Lane lane,
double position)
Add a trajectory segment sample and update the currentEndTime and currentEndPosition.
|
void |
TrajectoryPlot.FixedSampleRateTrajectory.addSample(LaneBasedGTU gtu,
Lane lane,
double position)
Add a trajectory segment sample and update the currentEndTime and currentEndPosition.
|
void |
FundamentalDiagram.FundamentalDiagramSensor.triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a 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 |
LaneBasedIndividualGTU
Augments the AbstractLaneBasedIndividualGTU with a LaneBasedIndividualCarBuilder and animation support
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
LanePerception.getGtu() |
LaneBasedGTU |
AbstractLanePerception.getGtu() |
Modifier and Type | Method and Description |
---|---|
LanePerception |
PerceptionFactory.generatePerception(LaneBasedGTU gtu)
Generate perception.
|
Constructor and Description |
---|
AbstractLanePerception(LaneBasedGTU gtu)
Create a new LanePerception module.
|
CategorialLanePerception(LaneBasedGTU gtu) |
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
LaneBasedAbstractPerceptionCategory.getGtu() |
Modifier and Type | Method and Description |
---|---|
abstract HeadwayGTU |
HeadwayGtuType.createHeadwayGtu(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length distance)
Creates a headway object from a GTU, downstream or upstream.
|
abstract HeadwayGTU |
HeadwayGtuType.createHeadwayGtu(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length overlapFront,
org.djunits.value.vdouble.scalar.Length overlap,
org.djunits.value.vdouble.scalar.Length overlapRear)
Creates a headway object from a GTU, parallel.
|
Constructor and Description |
---|
HeadwayGTUReal(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length distance,
boolean facingSameDirection)
Construct a new Headway information object, for a GTU ahead of us or behind us.
|
HeadwayGTUReal(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length overlapFront,
org.djunits.value.vdouble.scalar.Length overlap,
org.djunits.value.vdouble.scalar.Length overlapRear,
boolean facingSameDirection)
Construct a new Headway information object, for a GTU parallel with us.
|
HeadwayGTURealCopy(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length distance,
GTUStatus... gtuStatus)
Construct a new Headway information object, for a GTU ahead of us or behind us.
|
HeadwayGTURealCopy(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length overlapFront,
org.djunits.value.vdouble.scalar.Length overlap,
org.djunits.value.vdouble.scalar.Length overlapRear)
Construct a new Headway information object, for a GTU parallel with us.
|
Modifier and Type | Method and Description |
---|---|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildAccelerationLaneChangePlan(LaneBasedGTU gtu,
List<Lane> fromLanes,
org.opentrafficsim.core.network.LateralDirectionality laneChangeDirectionality,
nl.tudelft.simulation.language.d3.DirectedPoint startPosition,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Duration timeStep,
LaneOperationalPlanBuilder.LaneChange laneChange)
Build a plan with a path and a given start speed to try to reach a provided end speed.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Duration timeStep)
Build a plan with a path and a given start speed to try to reach a provided end speed.
|
static LaneBasedOperationalPlan |
LaneOperationalPlanBuilder.buildGradualAccelerationPlan(LaneBasedGTU gtu,
List<Lane> lanes,
org.djunits.value.vdouble.scalar.Length firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time 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 firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time 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 firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time 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 firstLanePosition,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Time 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.
|
RelativeLane |
LaneOperationalPlanBuilder.LaneChange.getSecondLane(LaneBasedGTU gtu)
Second lane of lane change relative to the reference lane.
|
(package private) double |
LaneOperationalPlanBuilder.LaneChange.updateAndGetFraction(org.djunits.value.vdouble.scalar.Duration timeStep,
org.opentrafficsim.core.network.LateralDirectionality laneChangeDirection,
LaneBasedGTU gtu)
Update the lane change and return the lateral fraction for the end of the coming time step.
|
Constructor and Description |
---|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
nl.tudelft.simulation.language.d3.DirectedPoint waitPoint,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Duration 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 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.
|
LaneBasedOperationalPlan(LaneBasedGTU gtu,
org.opentrafficsim.core.geometry.OTSLine3D path,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Speed startSpeed,
List<org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment> operationalPlanSegmentList,
List<Lane> fromLaneList,
List<Lane> toLaneList,
int lastLaneIndex,
double lastFractionalPosition)
Construct an operational plan with a lane change.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
LaneBasedTacticalPlanner.getGtu() |
LaneBasedGTU |
AbstractLaneBasedTacticalPlanner.getGtu() |
Modifier and Type | Method and Description |
---|---|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLanePathInfo(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length 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 maxHeadway,
Lane startLane,
org.djunits.value.vdouble.scalar.Length position,
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 maxHeadway)
Make a list of links on which to drive next, with a maximum headway relative to the reference point of the GTU.
|
static LaneBasedOperationalPlan |
AbstractLaneBasedTacticalPlanner.buildPlanFromSimplePlan(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time startTime,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SimpleOperationalPlan simplePlan,
LaneOperationalPlanBuilder.LaneChange laneChange)
Build an operational plan based on a simple operational plan and status info.
|
protected static boolean |
AbstractLaneBasedTacticalPlanner.connectsToPath(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length maxHeadway,
Lane startLane,
org.djunits.value.vdouble.scalar.Length startLanePosition,
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?
|
T |
LaneBasedTacticalPlannerFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
LaneBasedGTUFollowingTacticalPlanner |
LaneBasedGTUFollowingTacticalPlannerFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
LaneBasedGTUFollowingDirectedChangeTacticalPlanner |
LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
LaneBasedCFLCTacticalPlanner |
LaneBasedCFLCTacticalPlannerFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
static NextSplitInfo |
AbstractLaneBasedTacticalPlanner.determineNextSplit(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length maxHeadway)
Calculate the next location where the network splits, with a maximum headway relative to the reference point of the GTU.
|
protected static boolean |
AbstractLaneBasedTacticalPlanner.noLaneDrop(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length maxHeadway,
Lane startLane,
org.djunits.value.vdouble.scalar.Length startLanePosition,
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?
|
Constructor and Description |
---|
AbstractLaneBasedTacticalPlanner(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception)
Instantiates a tactical planner.
|
LaneBasedCFLCTacticalPlanner(GTUFollowingModelOld carFollowingModel,
LaneChangeModel laneChangeModel,
LaneBasedGTU gtu)
Instantiated a tactical planner with GTU following and lane change behavior.
|
LaneBasedGTUFollowingDirectedChangeTacticalPlanner(GTUFollowingModelOld carFollowingModel,
LaneBasedGTU gtu)
Instantiated a tactical planner with just GTU following behavior and no lane changes.
|
LaneBasedGTUFollowingTacticalPlanner(GTUFollowingModelOld carFollowingModel,
LaneBasedGTU gtu)
Instantiate a tactical planner with just GTU following behavior and no lane changes.
|
Modifier and Type | Method and Description |
---|---|
DirectedLaneMovementStep |
DirectedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
org.opentrafficsim.core.network.LateralDirectionality direction,
Collection<Headway> sameLaneTraffic,
Collection<Headway> otherLaneTraffic,
org.djunits.value.vdouble.scalar.Length 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.Duration laneChangeTime)
Compute the acceleration and lane change.
|
DirectedLaneMovementStep |
DirectedFixedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
org.opentrafficsim.core.network.LateralDirectionality direction,
Collection<Headway> sameLaneTraffic,
Collection<Headway> otherLaneTraffic,
org.djunits.value.vdouble.scalar.Length 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.Duration laneChangeTime)
Compute the acceleration and lane change.
|
DirectedLaneMovementStep |
AbstractDirectedLaneChangeModel.computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
org.opentrafficsim.core.network.LateralDirectionality direction,
Collection<Headway> sameLaneGTUs,
Collection<Headway> otherLaneGTUs,
org.djunits.value.vdouble.scalar.Length 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.Duration 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 headway,
org.djunits.value.vdouble.scalar.Length 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 headway,
org.djunits.value.vdouble.scalar.Length maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used to follow a leader.
|
AccelerationStep |
GTUFollowingModelOld.computeAccelerationStep(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length headway,
org.djunits.value.vdouble.scalar.Length maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Duration 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 headway,
org.djunits.value.vdouble.scalar.Length maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Duration stepSize)
Compute the acceleration that would be used to follow a leader.
|
AccelerationStep |
GTUFollowingModelOld.computeAccelerationStepWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length 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 maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
GTUFollowingModelOld.computeAccelerationStepWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Length maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Duration 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 maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Duration stepSize)
Compute the acceleration that would be used if the is not leader in sight.
|
DualAccelerationStep |
GTUFollowingModelOld.computeDualAccelerationStep(LaneBasedGTU gtu,
Collection<Headway> otherHeadways,
org.djunits.value.vdouble.scalar.Length 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<Headway> otherGTUs,
org.djunits.value.vdouble.scalar.Length 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 |
GTUFollowingModelOld.computeDualAccelerationStep(LaneBasedGTU gtu,
Collection<Headway> otherHeadways,
org.djunits.value.vdouble.scalar.Length maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Duration 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<Headway> otherHeadways,
org.djunits.value.vdouble.scalar.Length maxDistance,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Duration 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<Headway> sameLaneTraffic,
Collection<Headway> rightLaneTraffic,
Collection<Headway> 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<Headway> sameLaneTraffic,
Collection<Headway> rightLaneTraffic,
Collection<Headway> 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<Headway> sameLaneGTUs,
Collection<Headway> preferredLaneGTUs,
Collection<Headway> 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 |
---|---|
void |
AccelerationTrafficLights.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationSpeedLimitTransition.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationIncentive.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationConflicts.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationBusStop.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
LMRS |
LMRSFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
LanePerception |
DefaultLMRSPerceptionFactory.generatePerception(LaneBasedGTU gtu)
Generate perception.
|
Constructor and Description |
---|
LMRS(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception,
Synchronization synchronization)
Constructor setting the car-following model.
|
Modifier and Type | Method and Description |
---|---|
Toledo |
ToledoFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
Constructor and Description |
---|
Toledo(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.djunits.value.vdouble.scalar.Acceleration |
ConflictUtil.approachConflicts(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SortedSet<HeadwayConflict> conflicts,
SortedSet<HeadwayGTU> leaders,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Length vehicleLength,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
SpeedLimitInfo speedLimitInfo,
ConflictUtil.ConflictPlans conflictPlans,
LaneBasedGTU gtu)
Approach conflicts by applying appropriate acceleration (or deceleration).
|
Modifier and Type | Method and Description |
---|---|
static SimpleOperationalPlan |
LmrsUtil.determinePlan(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time startTime,
CarFollowingModel carFollowingModel,
LaneOperationalPlanBuilder.LaneChange laneChange,
LmrsData lmrsData,
LanePerception perception,
LinkedHashSet<MandatoryIncentive> mandatoryIncentives,
LinkedHashSet<VoluntaryIncentive> voluntaryIncentives,
Map<Class<? extends Incentive>,Desire> desireMap)
Determines a simple representation of an operational plan.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
LaneBasedStrategicalPlanner.getGtu() |
LaneBasedGTU |
AbstractLaneBasedStrategicalPlanner.getGtu() |
Modifier and Type | Method and Description |
---|---|
T |
LaneBasedStrategicalPlannerFactory.create(LaneBasedGTU gtu,
org.opentrafficsim.core.network.route.Route route)
Creates a new strategical planner for the given GTU.
|
Constructor and Description |
---|
AbstractLaneBasedStrategicalPlanner(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LaneBasedGTU gtu) |
LaneBasedStrategicalPlannerNone(LaneBasedGTU gtu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedStrategicalPlanner |
LaneBasedStrategicalRoutePlannerFactory.create(LaneBasedGTU gtu,
org.opentrafficsim.core.network.route.Route route)
Creates a new strategical planner for the given GTU.
|
Constructor and Description |
---|
LaneBasedStrategicalRoutePlanner(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.opentrafficsim.core.gtu.plan.tactical.TacticalPlanner fixedTacticalPlanner,
LaneBasedGTU gtu) |
LaneBasedStrategicalRoutePlanner(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.opentrafficsim.core.gtu.plan.tactical.TacticalPlanner fixedTacticalPlanner,
org.opentrafficsim.core.network.route.Route route,
LaneBasedGTU gtu) |
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
Lane.getFirstGtu(org.opentrafficsim.core.gtu.GTUDirectionality direction)
Get the first GTU on the lane, relative to a driving direction on this lane.
|
LaneBasedGTU |
Lane.getGtuAhead(org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.Time when)
Get the first GTU where the relativePosition is in front of another GTU on the lane, in a driving direction on this lane,
compared to the DESIGN LINE.
|
LaneBasedGTU |
Lane.getGtuBehind(org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.Time 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.
|
LaneBasedGTU |
Lane.getLastGtu(org.opentrafficsim.core.gtu.GTUDirectionality direction)
Get the last GTU on the lane, relative to a driving direction on this lane.
|
Modifier and Type | Method and Description |
---|---|
nl.tudelft.simulation.immutablecollections.ImmutableList<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 longitudinalPosition)
Add a LaneBasedGTU to the list of this Lane.
|
void |
Lane.removeGTU(LaneBasedGTU gtu,
boolean removeFromParentLink,
org.djunits.value.vdouble.scalar.Length position)
Remove a GTU from the GTU list of this lane.
|
void |
Lane.scheduleSensorTriggers(LaneBasedGTU gtu,
double referenceStartSI,
double referenceMoveSI)
Schedule triggering of the sensors for a certain time step; from now until the nextEvaluationTime of 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.SameLaneLeft.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU predecessorGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneBoth.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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TrafficLightSensor.addGTU(LaneBasedGTU gtu)
Add a GTU to the set.
|
protected void |
TrafficLightSensor.removeGTU(LaneBasedGTU gtu)
Remove a GTU from the set.
|
(package private) void |
TrafficLightSensor.signalDetection(FlankSensor sensor,
LaneBasedGTU gtu)
One of our flank sensors has triggered.
|
void |
SingleSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
void |
AbstractSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
protected void |
FlankSensor.triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.
|
void |
SinkSensor.triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.
|
void |
SimpleReportingSensor.triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.
|
protected abstract void |
AbstractSensor.triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
GtuData.getGtu() |
Modifier and Type | Method and Description |
---|---|
void |
RoadSampler.notifySample(LaneBasedGTU gtu,
LaneDirection laneDirection)
Samples a gtu and schedules the next sampling event.
|
Constructor and Description |
---|
GtuData(LaneBasedGTU gtu) |
Copyright © 2014–2017 Delft University of Technology. All rights reserved.