Uses of Interface
org.opentrafficsim.road.gtu.lane.tactical.following.CarFollowingModel
-
Packages that use CarFollowingModel Package Description org.opentrafficsim.road.gtu.lane.perception Implementation of lane-based perception for the GTU.org.opentrafficsim.road.gtu.lane.perception.headway Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.road.gtu.lane.tactical Tactical planners for a lane-based GTU.org.opentrafficsim.road.gtu.lane.tactical.following GTU (Car) following models such as IDM+.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.steering Development tactical planners using the steering utility.org.opentrafficsim.road.gtu.lane.tactical.toledo Copyright (c) 2013-2020 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. -
-
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.perception
Methods in org.opentrafficsim.road.gtu.lane.perception that return CarFollowingModel Modifier and Type Method Description CarFollowingModel
GTUTypeAssumptions. getCarFollowingModel(GTUType gtuType)
Return the car following model for a certain GTUType as an assumption for that GTUType.Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type CarFollowingModel Modifier and Type Method Description void
GTUTypeAssumptions. setCarFollowingModel(GTUType gtuType, CarFollowingModel carFollowingModel)
Set the car following model for a certain GTUType as an assumption for that GTUType. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.perception.headway
Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return CarFollowingModel Modifier and Type Method Description CarFollowingModel
HeadwayGTU. getCarFollowingModel()
Many models that observe a GTU need to predict the imminent behavior of that GTU.CarFollowingModel
HeadwayGTUReal. getCarFollowingModel()
Many models that observe a GTU need to predict the imminent behavior of that GTU.CarFollowingModel
HeadwayGTURealCopy. getCarFollowingModel()
Many models that observe a GTU need to predict the imminent behavior of that GTU.CarFollowingModel
HeadwayGTUSimple. getCarFollowingModel()
Many models that observe a GTU need to predict the imminent behavior of that GTU.CarFollowingModel
HeadwayGTUType. getCarFollowingModel()
Many models that observe a GTU need to predict the imminent behavior of that GTU. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical
Methods in org.opentrafficsim.road.gtu.lane.tactical that return CarFollowingModel Modifier and Type Method Description CarFollowingModel
AbstractLaneBasedTacticalPlanner. getCarFollowingModel()
Returns the car-following model.CarFollowingModel
LaneBasedTacticalPlanner. getCarFollowingModel()
Returns the car-following model.protected CarFollowingModel
AbstractLaneBasedTacticalPlannerFactory. nextCarFollowingModel(LaneBasedGTU gtu)
Returns the next car following model.Methods in org.opentrafficsim.road.gtu.lane.tactical with parameters of type CarFollowingModel Modifier and Type Method Description void
AbstractLaneBasedTacticalPlanner. setCarFollowingModel(CarFollowingModel carFollowingModel)
Sets the car-following model.Constructors in org.opentrafficsim.road.gtu.lane.tactical with parameters of type CarFollowingModel Constructor Description AbstractLaneBasedTacticalPlanner(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception)
Instantiates a tactical planner.Constructor parameters in org.opentrafficsim.road.gtu.lane.tactical with type arguments of type CarFollowingModel Constructor Description AbstractLaneBasedTacticalPlannerFactory(CarFollowingModelFactory<? extends CarFollowingModel> carFollowingModelFactory, PerceptionFactory perceptionFactory)
Constructor. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical.following
Classes in org.opentrafficsim.road.gtu.lane.tactical.following with type parameters of type CarFollowingModel Modifier and Type Interface Description interface
CarFollowingModelFactory<T extends CarFollowingModel>
Factory for car-following models.Subinterfaces of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical.following Modifier and Type Interface Description interface
GTUFollowingModelOld
GTU following model interface.Classes in org.opentrafficsim.road.gtu.lane.tactical.following that implement CarFollowingModel Modifier and Type Class Description class
AbstractCarFollowingModel
Default implementation where desired speed and headway are pre-calculated for car-following.class
AbstractGTUFollowingModelMobil
Code shared between various car following models.class
AbstractIDM
Implementation of the IDM.class
FixedAccelerationModel
Fixed GTU following model.class
IDM
Implementation of the IDM.class
IDMOld
The Intelligent Driver Model by Treiber, Hennecke and Helbing.class
IDMPlus
Implementation of the IDM+.class
IDMPlusMulti
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.class
IDMPlusOld
IDMPlus implements the Integrated Lane Change Model with Relaxation and Synchronization as published by Wouter J.class
SequentialFixedAccelerationModel
Extended version of FixedAccelerationModel.Fields in org.opentrafficsim.road.gtu.lane.tactical.following with type parameters of type CarFollowingModel Modifier and Type Field Description static ParameterTypeClass<CarFollowingModel>
CarFollowingModel. CAR_FOLLOWING_MODEL
Parameter type for car-following model. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.lmrs with parameters of type CarFollowingModel Modifier and Type Method Description void
AccelerationBusStop. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationConflicts. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationIncentive. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationNoRightOvertake. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationSpeedLimitTransition. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationTrafficLights. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.Desire
IncentiveBusStop. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveCourtesy. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveDummy. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveGetInLane. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveKeep. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveQueue. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveRoute. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveSocioSpeed. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveSpeed. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveSpeedWithCourtesy. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.Desire
IncentiveStayRight. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.Constructors in org.opentrafficsim.road.gtu.lane.tactical.lmrs with parameters of type CarFollowingModel Constructor Description AbstractIncentivesTacticalPlanner(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception)
Constructor.LMRS(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Tailgating tailgating)
Constructor setting the car-following model.Constructor parameters in org.opentrafficsim.road.gtu.lane.tactical.lmrs with type arguments of type CarFollowingModel Constructor Description LMRSFactory(CarFollowingModelFactory<? extends CarFollowingModel> carFollowingModelFactory, PerceptionFactory perceptionFactory)
Constructor using default incentives and passive synchronization.LMRSFactory(CarFollowingModelFactory<? extends CarFollowingModel> carFollowingModelFactory, PerceptionFactory perceptionFactory, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Tailgating tailgating, Set<MandatoryIncentive> mandatoryIncentives, Set<VoluntaryIncentive> voluntaryIncentives, Set<AccelerationIncentive> accelerationIncentives)
Constructor with full control over incentives and type of synchronization. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical.steering
Constructors in org.opentrafficsim.road.gtu.lane.tactical.steering with parameters of type CarFollowingModel Constructor Description SteeringLmrs(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Steering.FeedbackTable feedbackTable)
Constructor setting the car-following model. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical.toledo
Classes in org.opentrafficsim.road.gtu.lane.tactical.toledo that implement CarFollowingModel Modifier and Type Class Description class
ToledoCarFollowing
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.Constructors in org.opentrafficsim.road.gtu.lane.tactical.toledo with parameters of type CarFollowingModel Constructor Description Toledo(CarFollowingModel carFollowingModel, LaneBasedGTU gtu)
Constructor. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical.util
Methods in org.opentrafficsim.road.gtu.lane.tactical.util with parameters of type CarFollowingModel Modifier and Type Method Description static AnticipationInfo
AnticipationInfo. anticipateMovementFreeAcceleration(Length distance, Speed initialSpeed, Parameters parameters, CarFollowingModel carFollowingModel, SpeedLimitInfo speedLimitInfo, Duration timeStep)
Returns info of the anticipation using free acceleration from car-following model.static Acceleration
ConflictUtil. approachConflicts(Parameters parameters, Iterable<HeadwayConflict> conflicts, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, CarFollowingModel carFollowingModel, Length vehicleLength, Length vehicleWidth, Speed speed, Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, LaneBasedGTU gtu, RelativeLane lane)
Approach conflicts by applying appropriate acceleration (or deceleration).static Acceleration
CarFollowingUtil. approachTargetSpeed(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, SpeedLimitInfo speedLimitInfo, Length distance, Speed targetSpeed)
Returns an acceleration based on the car-following model in order to adjust the speed to a given value at some location ahead.static Acceleration
SpeedLimitUtil. considerSpeedLimitTransitions(Parameters parameters, Speed speed, SpeedLimitProspect speedLimitProspect, CarFollowingModel carFollowingModel)
Acceleration for speed limit transitions.static Acceleration
CarFollowingUtil. constantAccelerationStop(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, Length distance)
Return constant acceleration in order to stop in specified distance.static Acceleration
CarFollowingUtil. followSingleLeader(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, SpeedLimitInfo speedLimitInfo, Length distance, Speed leaderSpeed)
Follow a set of headway GTUs.static Acceleration
CarFollowingUtil. followSingleLeader(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, SpeedLimitInfo speedLimitInfo, HeadwayGTU leader)
Follow a set of headway GTUs.static Acceleration
CarFollowingUtil. freeAcceleration(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, SpeedLimitInfo speedLimitInfo)
Calculate free acceleration.static Acceleration
TrafficLightUtil. respondToTrafficLight(Parameters parameters, HeadwayTrafficLight headwayTrafficLight, CarFollowingModel carFollowingModel, Speed speed, SpeedLimitInfo speedLimitInfo)
Returns an acceleration as response to a traffic light, being positive infinity if ignored.static Acceleration
TrafficLightUtil. respondToTrafficLights(Parameters parameters, Iterable<HeadwayTrafficLight> headwayTrafficLights, CarFollowingModel carFollowingModel, Speed speed, SpeedLimitInfo speedLimitInfo)
Returns an acceleration as response to a set of traffic lights, being positive infinity if ignored.static Acceleration
CarFollowingUtil. stop(CarFollowingModel carFollowingModel, Parameters parameters, Speed speed, SpeedLimitInfo speedLimitInfo, Length distance)
Stop within given distance.static boolean
ConflictUtil. stopForGiveWayConflict(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Speed speed, Acceleration acceleration, Length vehicleLength, Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, ParameterTypeAcceleration bType, Length prevEnd)
Approach a give-way conflict.static boolean
ConflictUtil. stopForStopConflict(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Speed speed, Acceleration acceleration, Length vehicleLength, Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, ParameterTypeAcceleration bType, Length prevEnd)
Approach a stop conflict. -
Uses of CarFollowingModel in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with parameters of type CarFollowingModel Modifier and Type Method Description boolean
GapAcceptance. acceptGap(LanePerception perception, Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, double desire, Speed ownSpeed, Acceleration ownAcceleration, LateralDirectionality lat)
Determine whether a gap is acceptable.Acceleration
Cooperation. cooperate(LanePerception perception, Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, LateralDirectionality lat, Desire ownDesire)
Determine acceleration for cooperation.Desire
MandatoryIncentive. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.Desire
VoluntaryIncentive. determineDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.static SimpleOperationalPlan
LmrsUtil. determinePlan(LaneBasedGTU gtu, Time startTime, CarFollowingModel carFollowingModel, LaneChange laneChange, LmrsData lmrsData, LanePerception perception, Iterable<MandatoryIncentive> mandatoryIncentives, Iterable<VoluntaryIncentive> voluntaryIncentives)
Determines a simple representation of an operational plan.static Acceleration
GapAcceptance. egoAcceleration(LanePerception perception, Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, double desire, Speed ownSpeed, LateralDirectionality lat)
Determine whether a gap is acceptable.static Desire
LmrsUtil. getLaneChangeDesire(Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Iterable<MandatoryIncentive> mandatoryIncentives, Iterable<VoluntaryIncentive> voluntaryIncentives, Map<Class<? extends Incentive>,Desire> desireMap)
Determines lane change desire for the given GtU.static Acceleration
LmrsUtil. singleAcceleration(Length distance, Speed followerSpeed, Speed leaderSpeed, double desire, Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm)
Determine acceleration from car-following with desire-adjusted headway.static Acceleration
Synchronization. stopForEnd(Length xCur, Length xMerge, Parameters params, Speed ownSpeed, CarFollowingModel cfm, SpeedLimitInfo sli)
Calculates acceleration to stop for a split or dead-end, accounting for infrastructure.Acceleration
Synchronization. synchronize(LanePerception perception, Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, double desire, LateralDirectionality lat, LmrsData lmrsData, LaneChange laneChange, LateralDirectionality initiatedLaneChange)
Determine acceleration for synchronization.static Acceleration
Synchronization. tagAlongAcceleration(HeadwayGTU leader, Speed followerSpeed, Length followerLength, Speed tagSpeed, double desire, Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm)
Calculates acceleration by following an adjacent vehicle, with tagging along if desire is not very high and speed is low.
-