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-2017 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.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.
|
Modifier and Type | Method and Description |
---|---|
CarFollowingModel |
GTUTypeAssumptions.getCarFollowingModel(org.opentrafficsim.core.gtu.GTUType gtuType)
Return the car following model for a certain GTUType as an assumption for that GTUType.
|
Modifier and Type | Method and Description |
---|---|
void |
GTUTypeAssumptions.setCarFollowingModel(org.opentrafficsim.core.gtu.GTUType gtuType,
CarFollowingModel carFollowingModel)
Set the car following model for a certain GTUType as an assumption for that GTUType.
|
Modifier and Type | Method and Description |
---|---|
CarFollowingModel |
HeadwayGTUType.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 |
HeadwayGTURealCopy.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 |
HeadwayGTU.getCarFollowingModel()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
Constructor and Description |
---|
HeadwayGTURealCopy(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedLimitInfo,
org.opentrafficsim.core.network.route.Route route,
GTUStatus... gtuStatus)
Private constructor for copies.
|
Modifier and Type | Method and Description |
---|---|
CarFollowingModel |
LaneBasedTacticalPlanner.getCarFollowingModel()
Returns the car-following model.
|
CarFollowingModel |
AbstractLaneBasedTacticalPlanner.getCarFollowingModel()
Returns the car-following model.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractLaneBasedTacticalPlanner.setCarFollowingModel(CarFollowingModel carFollowingModel)
Sets the car-following model.
|
Constructor and Description |
---|
AbstractLaneBasedTacticalPlanner(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception)
Instantiates a tactical planner.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CarFollowingModelFactory<T extends CarFollowingModel>
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GTUFollowingModelOld
GTU following model interface.
|
Modifier and Type | Class and 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-2017 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.
|
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.
|
Desire |
IncentiveRoute.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveGetInLane.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveDummy.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveBusStop.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveSpeedWithCourtesy.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire,
Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveSpeed.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire,
Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveKeep.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire,
Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveHierarchal.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire,
Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
IncentiveCourtesy.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire,
Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive.
|
Constructor and Description |
---|
LMRS(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception,
Synchronization synchronization)
Constructor setting the car-following model.
|
Constructor and Description |
---|
LMRSFactory(CarFollowingModelFactory<? extends CarFollowingModel> carFollowingModelFactory,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics defaultCarFollowingBehavioralCharacteristics,
PerceptionFactory perceptionFactory)
Constructor using default incentives and passive synchronization.
|
LMRSFactory(CarFollowingModelFactory<? extends CarFollowingModel> carFollowingModelFactory,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics defaultCarFollowingBehavioralCharacteristics,
PerceptionFactory perceptionFactory,
Synchronization synchronization,
Set<MandatoryIncentive> mandatoryIncentives,
Set<VoluntaryIncentive> voluntaryIncentives,
Set<AccelerationIncentive> accelerationIncentives)
Constructor with full control over incentives and type of synchronization.
|
Modifier and Type | Class and Description |
---|---|
class |
ToledoCarFollowing
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Constructor and Description |
---|
Toledo(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static AnticipationInfo |
AnticipationInfo.anticipateMovementFreeAcceleration(org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
CarFollowingModel carFollowingModel,
SpeedLimitInfo speedLimitInfo,
org.djunits.value.vdouble.scalar.Duration timeStep)
Returns info of the anticipation using free acceleration from car-following model.
|
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).
|
static org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingUtil.approachTargetSpeed(CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.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 org.djunits.value.vdouble.scalar.Acceleration |
SpeedLimitUtil.considerSpeedLimitTransitions(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitProspect speedLimitProspect,
CarFollowingModel carFollowingModel)
Acceleration for speed limit transitions.
|
static org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingUtil.constantAccelerationStop(CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Length distance)
Return constant acceleration in order to stop in specified distance.
|
static org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingUtil.followLeaders(CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
SortedSet<HeadwayGTU> leaders)
Follow a set of headway GTUs.
|
static org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingUtil.followSingleLeader(CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Speed leaderSpeed)
Follow a set of headway GTUs.
|
static org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingUtil.freeAcceleration(CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo)
Calculate free acceleration.
|
static org.djunits.value.vdouble.scalar.Acceleration |
TrafficLightUtil.respondToTrafficLight(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
HeadwayTrafficLight headwayTrafficLight,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo)
Returns an acceleration as response to a traffic light, being positive infinity if ignored.
|
static org.djunits.value.vdouble.scalar.Acceleration |
TrafficLightUtil.respondToTrafficLights(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
Set<HeadwayTrafficLight> headwayTrafficLights,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo)
Returns an acceleration as response to a set of traffic lights, being positive infinity if ignored.
|
static org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingUtil.stop(CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
org.djunits.value.vdouble.scalar.Length distance)
Stop within given distance.
|
static boolean |
ConflictUtil.stopForGiveWayConflict(HeadwayConflict conflict,
SortedSet<HeadwayGTU> leaders,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Length vehicleLength,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedLimitInfo,
CarFollowingModel carFollowingModel)
Approach a give-way conflict.
|
static boolean |
ConflictUtil.stopForStopConflict(HeadwayConflict conflict,
SortedSet<HeadwayGTU> leaders,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Length vehicleLength,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedLimitInfo,
CarFollowingModel carFollowingModel)
Approach a stop conflict.
|
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
LmrsUtil.acceptGapNeighbors(LanePerception perception,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo sli,
CarFollowingModel cfm,
double desire,
org.djunits.value.vdouble.scalar.Speed ownSpeed,
org.opentrafficsim.core.network.LateralDirectionality lat)
Determine whether a gap is acceptable.
|
(package private) abstract org.djunits.value.vdouble.scalar.Acceleration |
Synchronization.cooperate(LanePerception perception,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo sli,
CarFollowingModel cfm,
org.opentrafficsim.core.network.LateralDirectionality lat,
Desire ownDesire)
Determine acceleration for cooperation.
|
Desire |
MandatoryIncentive.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
LanePerception perception,
CarFollowingModel carFollowingModel,
Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive.
|
Desire |
VoluntaryIncentive.determineDesire(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
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,
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.
|
static org.djunits.value.vdouble.scalar.Acceleration |
LmrsUtil.singleAcceleration(org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Speed followerSpeed,
org.djunits.value.vdouble.scalar.Speed leaderSpeed,
double desire,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo sli,
CarFollowingModel cfm)
Determine acceleration from car-following.
|
(package private) static org.djunits.value.vdouble.scalar.Acceleration |
Synchronization.stopForEnd(org.djunits.value.vdouble.scalar.Length xCur,
org.djunits.value.vdouble.scalar.Length xMerge,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
org.djunits.value.vdouble.scalar.Speed ownSpeed,
CarFollowingModel cfm,
SpeedLimitInfo sli)
Calculates acceleration to stop for a split or dead-end, accounting for infrastructure.
|
(package private) abstract org.djunits.value.vdouble.scalar.Acceleration |
Synchronization.synchronize(LanePerception perception,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo sli,
CarFollowingModel cfm,
double desire,
org.opentrafficsim.core.network.LateralDirectionality lat,
LmrsData lmrsData)
Determine acceleration for synchronization.
|
(package private) static org.djunits.value.vdouble.scalar.Acceleration |
Synchronization.tagAlongAcceleration(HeadwayGTU leader,
org.djunits.value.vdouble.scalar.Speed followerSpeed,
org.djunits.value.vdouble.scalar.Length followerLength,
org.djunits.value.vdouble.scalar.Speed tagSpeed,
double desire,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo sli,
CarFollowingModel cfm)
Calculates acceleration by following an adjacent vehicle, with tagging along if desire is not very high and speed is low.
|
Copyright © 2014–2017 Delft University of Technology. All rights reserved.