Package | Description |
---|---|
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.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.
|
org.opentrafficsim.road.network.speed |
Classes to connect driver behavior with many different aspects that govern the desired speed.
|
Modifier and Type | Method and Description |
---|---|
SpeedLimitInfo |
HeadwayGTUType.getSpeedLimitInfo()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
SpeedLimitInfo |
HeadwayGTUSimple.getSpeedLimitInfo()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
SpeedLimitInfo |
HeadwayGTURealCopy.getSpeedLimitInfo()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
SpeedLimitInfo |
HeadwayGTUReal.getSpeedLimitInfo()
Many models that observe a GTU need to predict the imminent behavior of that GTU.
|
SpeedLimitInfo |
HeadwayGTU.getSpeedLimitInfo()
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 |
---|---|
org.djunits.value.vdouble.scalar.Speed |
SequentialFixedAccelerationModel.desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
org.djunits.value.vdouble.scalar.Speed |
IDMPlusOld.desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
org.djunits.value.vdouble.scalar.Speed |
IDMOld.desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
org.djunits.value.vdouble.scalar.Speed |
FixedAccelerationModel.desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
org.djunits.value.vdouble.scalar.Speed |
CarFollowingModel.desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
org.djunits.value.vdouble.scalar.Speed |
AbstractIDM.desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
org.djunits.value.vdouble.scalar.Acceleration |
SequentialFixedAccelerationModel.followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedInfo,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Determination of car-following acceleration, possibly based on multiple leaders.
|
org.djunits.value.vdouble.scalar.Acceleration |
IDMPlusOld.followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedInfo,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Determination of car-following acceleration, possibly based on multiple leaders.
|
org.djunits.value.vdouble.scalar.Acceleration |
IDMOld.followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedInfo,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Determination of car-following acceleration, possibly based on multiple leaders.
|
org.djunits.value.vdouble.scalar.Acceleration |
FixedAccelerationModel.followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedInfo,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Determination of car-following acceleration, possibly based on multiple leaders.
|
org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingModel.followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Determination of car-following acceleration, possibly based on multiple leaders.
|
org.djunits.value.vdouble.scalar.Acceleration |
AbstractCarFollowingModel.followingAcceleration(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
SortedMap<org.djunits.value.vdouble.scalar.Length,org.djunits.value.vdouble.scalar.Speed> leaders)
Forwards the calculation to a similar method with desired speed and desired (equilibrium) headway pre-calculated.
|
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.
|
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Speed |
ToledoCarFollowing.desiredSpeed(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SpeedLimitInfo speedInfo)
Determines the desired speed.
|
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 |
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.Speed |
SpeedLimitUtil.getLegalSpeedLimit(SpeedLimitInfo speedLimitInfo)
Returns the minimum speed of the applicable speed limit types MAX_LEGAL_VEHICLE_SPEED, ROAD_CLASS, FIXED_SIGN and
DYNAMIC_SIGN.
|
static org.djunits.value.vdouble.scalar.Speed |
SpeedLimitUtil.getMaximumVehicleSpeed(SpeedLimitInfo speedLimitInfo)
Returns the speed of speed limit type MAX_VEHICLE_SPEED.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
<T> SpeedLimitInfo |
SpeedLimitProspect.buildSpeedLimitInfo(org.djunits.value.vdouble.scalar.Length distance,
SpeedLimitType<T> speedLimitType)
Builds speed limit info with only MAX_VEHICLE_SPEED and the given speed limit type, where the speed info is obtained at
the given distance.
|
SpeedLimitInfo |
SpeedLimitProspect.getSpeedLimitInfo(org.djunits.value.vdouble.scalar.Length distance)
Returns the speed info at a given location.
|
SpeedLimitInfo |
SpeedLimitProspect.getSpeedLimitInfo(org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Acceleration acceleration,
org.djunits.value.vdouble.scalar.Duration time)
Returns the speed info at a location following an acceleration over some duration.
|
Copyright © 2014–2017 Delft University of Technology. All rights reserved.