| Package | Description | 
|---|---|
| org.opentrafficsim.road.gtu.generator | 
 Generate GTUs according to some prescription. 
 | 
| 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-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
| 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.toledo | 
 
 Copyright (c) 2013-2018 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Headway | 
AbstractGTUGenerator.headway(org.djunits.value.vdouble.scalar.Length maxDistance,
       Lane generatorLane)
Check the available headway for GTU that is about to be constructed. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractPerceptionIterable<H extends Headway,U,C>
Abstract iterable that figures out how to find the next nearest object, including splits. 
 | 
class  | 
AbstractPerceptionReiterable<H extends Headway,U>
This class uses a single primary iterator which a subclass defines, and makes sure that all elements are only looked up and
 created once. 
 | 
class  | 
LaneBasedObjectIterable<H extends Headway,L extends LaneBasedObject>
Iterable that searches downstream for a certain type of lane based object. 
 | 
class  | 
MultiLanePerceptionIterable<H extends Headway,U>
Iterable class to search over multiple lanes. 
 | 
interface  | 
PerceptionCollectable<H extends Headway,U>
Iterable that additionally provides support for PerceptionCollectors. 
 | 
interface  | 
PerceptionIterable<H extends Headway>
Iterable set of elements, sorted close to far. 
 | 
class  | 
PerceptionIterableSet<H extends Headway>
Simple implementation of  
PerceptionIterable which wraps a set. | 
class  | 
SortedSetPerceptionIterable<H extends Headway,U>
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
Headway | 
DirectDefaultSimplePerception.getBackwardHeadway() | 
Headway | 
DefaultSimplePerception.getBackwardHeadway()  | 
Headway | 
DirectDefaultSimplePerception.getForwardHeadwayGTU() | 
Headway | 
DefaultSimplePerception.getForwardHeadwayGTU()  | 
Headway | 
DirectDefaultSimplePerception.getForwardHeadwayObject() | 
Headway | 
DefaultSimplePerception.getForwardHeadwayObject()  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<Headway> | 
DirectDefaultSimplePerception.getNeighboringHeadways(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) | 
Collection<Headway> | 
DefaultSimplePerception.getNeighboringHeadways(org.opentrafficsim.core.network.LateralDirectionality lateralDirection)  | 
Collection<Headway> | 
DirectDefaultSimplePerception.getNeighboringHeadwaysLeft() | 
Collection<Headway> | 
DefaultSimplePerception.getNeighboringHeadwaysLeft()  | 
Collection<Headway> | 
DirectDefaultSimplePerception.getNeighboringHeadwaysRight() | 
Collection<Headway> | 
DefaultSimplePerception.getNeighboringHeadwaysRight()  | 
Collection<Headway> | 
DirectDefaultSimplePerception.getParallelHeadways(org.opentrafficsim.core.network.LateralDirectionality lateralDirection) | 
Collection<Headway> | 
DefaultSimplePerception.getParallelHeadways(org.opentrafficsim.core.network.LateralDirectionality lateralDirection)  | 
Collection<Headway> | 
DirectDefaultSimplePerception.getParallelHeadwaysLeft() | 
Collection<Headway> | 
DefaultSimplePerception.getParallelHeadwaysLeft()  | 
Collection<Headway> | 
DirectDefaultSimplePerception.getParallelHeadwaysRight() | 
Collection<Headway> | 
DefaultSimplePerception.getParallelHeadwaysRight()  | 
org.opentrafficsim.base.TimeStampedObject<Headway> | 
DirectDefaultSimplePerception.getTimeStampedBackwardHeadway()  | 
org.opentrafficsim.base.TimeStampedObject<Headway> | 
DirectDefaultSimplePerception.getTimeStampedForwardHeadwayGTU()  | 
org.opentrafficsim.base.TimeStampedObject<Headway> | 
DirectDefaultSimplePerception.getTimeStampedForwardHeadwayObject()  | 
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> | 
DirectDefaultSimplePerception.getTimeStampedNeighboringHeadways(org.opentrafficsim.core.network.LateralDirectionality lateralDirection)  | 
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> | 
DirectDefaultSimplePerception.getTimeStampedNeighboringHeadwaysLeft()  | 
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> | 
DirectDefaultSimplePerception.getTimeStampedNeighboringHeadwaysRight()  | 
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> | 
DirectDefaultSimplePerception.getTimeStampedParallelHeadways(org.opentrafficsim.core.network.LateralDirectionality lateralDirection)  | 
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> | 
DirectDefaultSimplePerception.getTimeStampedParallelHeadwaysLeft()  | 
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> | 
DirectDefaultSimplePerception.getTimeStampedParallelHeadwaysRight()  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
HeadwayGTU
Interface for perceived surrounding GTU's. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractHeadway
Super class for non-delayed and non-erroneous perception. 
 | 
class  | 
AbstractHeadwayCopy
Container for a reference to information about a (lane based) GTU and a headway. 
 | 
class  | 
AbstractHeadwayGTU
Container for a reference to information about a (lane based) GTU and a headway. 
 | 
class  | 
HeadwayBusStop
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
class  | 
HeadwayConflict
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
class  | 
HeadwayDistance
Container for a reference to information about a headway with just a distance, without any further information about the
 object; it assumes a speed of 0 at the headway, so it also good to store information about a lane drop. 
 | 
class  | 
HeadwayGTUPerceived
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
class  | 
HeadwayGTUReal
Container for a reference to information about a (lane based) GTU and a headway. 
 | 
class  | 
HeadwayGTURealCopy
Container for a reference to information about a (lane based) GTU and a headway. 
 | 
class  | 
HeadwayGTUSimple
Container for a reference to information about a (lane based) GTU and a headway. 
 | 
class  | 
HeadwayGTUType
Container for a reference to information about a (lane based) GTU and a headway. 
 | 
class  | 
HeadwayObject
Container for a reference to information about a (lane based) object and a headway. 
 | 
class  | 
HeadwayStopLine
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
class  | 
HeadwayTrafficLight
Container for a reference to information about a (lane based) traffic light and a headway to the traffic light. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default int | 
Headway.compareTo(Headway headway) | 
| 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 | 
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 | 
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. 
 | 
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 | 
|---|---|
protected org.djunits.value.vdouble.scalar.Acceleration | 
IDMPlusMulti.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree,
                      org.opentrafficsim.base.parameters.Parameters parameters,
                      org.djunits.value.vdouble.scalar.Speed speed,
                      org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                      org.djunits.value.vdouble.scalar.Length desiredHeadway,
                      PerceptionIterable<? extends Headway> leaders)
Combines an interaction term with the free term. 
 | 
protected org.djunits.value.vdouble.scalar.Acceleration | 
IDMPlus.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree,
                      org.opentrafficsim.base.parameters.Parameters parameters,
                      org.djunits.value.vdouble.scalar.Speed speed,
                      org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                      org.djunits.value.vdouble.scalar.Length desiredHeadway,
                      PerceptionIterable<? extends Headway> leaders)
Combines an interaction term with the free term. 
 | 
protected org.djunits.value.vdouble.scalar.Acceleration | 
IDM.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree,
                      org.opentrafficsim.base.parameters.Parameters parameters,
                      org.djunits.value.vdouble.scalar.Speed speed,
                      org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                      org.djunits.value.vdouble.scalar.Length desiredHeadway,
                      PerceptionIterable<? extends Headway> leaders)
Combines an interaction term with the free term. 
 | 
protected abstract org.djunits.value.vdouble.scalar.Acceleration | 
AbstractIDM.combineInteractionTerm(org.djunits.value.vdouble.scalar.Acceleration aFree,
                      org.opentrafficsim.base.parameters.Parameters parameters,
                      org.djunits.value.vdouble.scalar.Speed speed,
                      org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                      org.djunits.value.vdouble.scalar.Length desiredHeadway,
                      PerceptionIterable<? extends Headway> leaders)
Combines an interaction term with the free term. 
 | 
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.  | 
protected org.djunits.value.vdouble.scalar.Acceleration | 
AbstractIDM.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                     org.djunits.value.vdouble.scalar.Length desiredHeadway,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
protected abstract org.djunits.value.vdouble.scalar.Acceleration | 
AbstractCarFollowingModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                     org.djunits.value.vdouble.scalar.Length desiredHeadway,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
SequentialFixedAccelerationModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     SpeedLimitInfo speedInfo,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
IDMPlusOld.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     SpeedLimitInfo speedInfo,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
IDMOld.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     SpeedLimitInfo speedInfo,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
FixedAccelerationModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     SpeedLimitInfo speedInfo,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
CarFollowingModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     SpeedLimitInfo speedLimitInfo,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
AbstractCarFollowingModel.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     SpeedLimitInfo speedLimitInfo,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
| 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 | 
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 | 
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 | 
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 | 
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. 
 | 
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. 
 | 
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 | 
|---|---|
protected org.djunits.value.vdouble.scalar.Acceleration | 
ToledoCarFollowing.followingAcceleration(org.opentrafficsim.base.parameters.Parameters parameters,
                     org.djunits.value.vdouble.scalar.Speed speed,
                     org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                     org.djunits.value.vdouble.scalar.Length desiredHeadway,
                     PerceptionIterable<? extends Headway> leaders)
Determination of car-following acceleration, possibly based on multiple leaders. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CarFollowingUtil.CarFollowingHeadway
Simple headway implementation for minimum car-following information. 
 | 
Copyright © 2014–2018 Delft University of Technology. All rights reserved.