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.following |
GTU (Car) following models such as IDM+.
|
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.changing |
Classes that deal with lane changing models.
|
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.route |
Routes and route probabilities.
|
Modifier and Type | Method and Description |
---|---|
void |
FundamentalDiagram.addData(LaneBasedGTU gtu)
Add the effect of one passing car to this Fundamental Diagram.
|
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 | Method and Description |
---|---|
LaneBasedGTU |
HeadwayGTU.getOtherGTU() |
Modifier and Type | Method and Description |
---|---|
DualAccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
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. TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DualAccelerationStep |
AbstractGTUFollowingModel.computeAcceleration(LaneBasedGTU referenceGTU,
Collection<HeadwayGTU> otherGTUs,
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. TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU follower,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
AbstractGTUFollowingModel.computeAcceleration(LaneBasedGTU follower,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
org.djunits.value.vdouble.scalar.Length.Rel headway,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
GTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Speed speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
Constructor and Description |
---|
HeadwayGTU(LaneBasedGTU otherGTU,
double distanceSI)
Construct a new HeadwayGTU.
|
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.
|
class |
AbstractTrafficLight
Special GTU that cannot move, but it can be seen by other GTUs.
|
class |
LaneBlock
Special GTU that cannot move, but it can be seen by other GTUs.
|
class |
LaneBlockOnOff
Special GTU that cannot move, but it can be seen by other GTUs.
|
Modifier and Type | Method and Description |
---|---|
Set<LaneBasedGTU> |
LaneBlock.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBasedGTU.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractTrafficLight.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractLaneBasedGTU.parallel(Lane lane,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBlock.parallel(org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
LaneBasedGTU.parallel(org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractTrafficLight.parallel(org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU> |
AbstractLaneBasedGTU.parallel(org.opentrafficsim.core.network.LateralDirectionality lateralDirection,
org.djunits.value.vdouble.scalar.Time.Abs when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
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 |
---|---|
LaneBasedGTU |
Lane.getGtuAfter(org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when) |
LaneBasedGTU |
Lane.getGtuBefore(org.djunits.value.vdouble.scalar.Length.Rel position,
org.opentrafficsim.core.gtu.RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.Time.Abs when) |
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.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 |
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.
|
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Length.Rel |
RandomLaneBasedRouteNavigator.suitability(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time.Rel timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
org.djunits.value.vdouble.scalar.Length.Rel |
LaneBasedRouteNavigator.suitability(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time.Rel timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
org.djunits.value.vdouble.scalar.Length.Rel |
CompleteLaneBasedRouteNavigator.suitability(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time.Rel timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.