Uses of Interface
org.opentrafficsim.road.gtu.lane.perception.LanePerception
Package
Description
Implementation of lane-based perception for the GTU.
Categories define a set of perceivable information.
Contains perception categories to perceive neighbors.
Mental mechanisms are a part of perception.
Tactical planners for a lane-based GTU.
Classes that deal with lane changing models.
Classes that implement the LMRS lane change model integrated with a car-following model forming a tactical planner.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.
-
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.perception
Modifier and TypeClassDescriptionclass
The perception module of a GTU based on lanes.Modifier and TypeMethodDescriptionPerceptionFactory.generatePerception
(LaneBasedGtu gtu) Generate perception. -
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.perception.categories
ModifierConstructorDescriptionAnticipationTrafficPerception
(LanePerception perception) Constructor.DirectBusStopPerception
(LanePerception perception) DirectDefaultSimplePerception
(LanePerception perception) DirectInfrastructurePerception
(LanePerception perception) DirectIntersectionPerception
(LanePerception perception, HeadwayGtuType headwayGtuType) -
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
ModifierConstructorDescriptionCaccPerception
(LanePerception perception) Constructor using default sensors with zero delay.CaccPerception
(LanePerception perception, HeadwayGtuType sensors) Constructor using specified sensors.DirectNeighborsPerception
(LanePerception perception, HeadwayGtuType headwayGtuType) Constructor. -
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.perception.mental
Modifier and TypeMethodDescriptionvoid
Fuller.apply
(LanePerception perception) Apply mental model on perception.void
Mental.apply
(LanePerception perception) Apply mental model on perception.double
ConstantTask.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns the gross task demand to be managed by a task manager.double
ExponentialTask.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns the gross task demand to be managed by a task manager.double
Task.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns the gross task demand to be managed by a task manager.double
TaskHeadwayBased.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns the gross task demand to be managed by a task manager.double
TaskRoadSideDistraction.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns the gross task demand to be managed by a task manager.double
TaskLaneChanging.LateralConsideration.getConsideration
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns fraction of lateral consideration, <0 for left lane, >0 for right lane.protected org.djunits.value.vdouble.scalar.Duration
TaskCarFollowing.getHeadway
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns a collector for the task demand.protected abstract org.djunits.value.vdouble.scalar.Duration
TaskHeadwayBased.getHeadway
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns a collector for the task demand.protected org.djunits.value.vdouble.scalar.Duration
TaskLaneChanging.getHeadway
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Returns a collector for the task demand.void
TaskManager.manage
(Set<Task> tasks, LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Manage tasks.void
TaskManager.SummativeTaskManager.manage
(Set<Task> tasks, LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) Manage tasks. -
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.tactical
Modifier and TypeMethodDescriptionfinal LanePerception
AbstractLaneBasedTacticalPlanner.getPerception()
ModifierConstructorDescriptionAbstractLaneBasedTacticalPlanner
(CarFollowingModel carFollowingModel, LaneBasedGtu gtu, LanePerception lanePerception) Instantiates a tactical planner. -
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.tactical.directedlanechange
Modifier and TypeMethodDescriptionfinal LanePerception
AbstractDirectedLaneChangeModel.getPerception()
final LanePerception
DirectedFixedLaneChangeModel.getPerception()
DirectedLaneChangeModel.getPerception()
ModifierConstructorDescriptionAbstractDirectedLaneChangeModel
(LanePerception perception) Construct a DirectedLaneChangeModel.DirectedAltruistic
(LanePerception perception) DirectedEgoistic
(LanePerception perception) -
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.tactical.lmrs
Modifier and TypeMethodDescriptionDefaultLmrsPerceptionFactory.generatePerception
(LaneBasedGtu gtu) Generate perception.Modifier and TypeMethodDescriptionfinal void
AccelerationBusStop.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.final void
AccelerationConflicts.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.void
AccelerationIncentive.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.void
AccelerationNoRightOvertake.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.final void
AccelerationSpeedLimitTransition.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.final void
AccelerationTrafficLights.accelerate
(SimpleOperationalPlan simplePlan, RelativeLane lane, org.djunits.value.vdouble.scalar.Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Speed speed, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.IncentiveBusStop.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire) Determines level of lane change desire for a lane change incentive.final Desire
IncentiveCourtesy.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) Determines level of lane change desire for a lane change incentive.final Desire
IncentiveDummy.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire) Determines level of lane change desire for a lane change incentive.IncentiveGetInLane.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire) Determines level of lane change desire for a lane change incentive.final Desire
IncentiveKeep.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) Determines level of lane change desire for a lane change incentive.IncentiveQueue.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) Determines level of lane change desire for a lane change incentive.final Desire
IncentiveRoute.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire) Determines level of lane change desire for a lane change incentive.final Desire
IncentiveSocioSpeed.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) Determines level of lane change desire for a lane change incentive.final Desire
IncentiveSpeed.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) Determines level of lane change desire for a lane change incentive.final Desire
IncentiveSpeedWithCourtesy.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) Determines level of lane change desire for a lane change incentive.IncentiveStayRight.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire, Desire voluntaryDesire) Determines level of lane change desire for a lane change incentive.ModifierConstructorDescriptionAbstractIncentivesTacticalPlanner
(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. -
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.tactical.toledo
-
Uses of LanePerception in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Modifier and TypeMethodDescriptionboolean
GapAcceptance.acceptGap
(LanePerception perception, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, double desire, org.djunits.value.vdouble.scalar.Speed ownSpeed, org.djunits.value.vdouble.scalar.Acceleration ownAcceleration, LateralDirectionality lat) Determine whether a gap is acceptable.(package private) static boolean
LmrsUtil.acceptLaneChange
(LanePerception perception, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, double desire, org.djunits.value.vdouble.scalar.Speed ownSpeed, org.djunits.value.vdouble.scalar.Acceleration ownAcceleration, LateralDirectionality lat, GapAcceptance gapAcceptance, LaneChange laneChange) Determine whether a lane change is acceptable (gap, lane markings, etc.).org.djunits.value.vdouble.scalar.Acceleration
Cooperation.cooperate
(LanePerception perception, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, LateralDirectionality lat, Desire ownDesire) Determine acceleration for cooperation.MandatoryIncentive.determineDesire
(org.opentrafficsim.base.parameters.Parameters parameters, LanePerception perception, CarFollowingModel carFollowingModel, Desire mandatoryDesire) Determines level of lane change desire for a lane change incentive.VoluntaryIncentive.determineDesire
(org.opentrafficsim.base.parameters.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, org.djunits.value.vdouble.scalar.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 org.djunits.value.vdouble.scalar.Acceleration
GapAcceptance.egoAcceleration
(LanePerception perception, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, double desire, org.djunits.value.vdouble.scalar.Speed ownSpeed, LateralDirectionality lat) Determine whether a gap is acceptable.static Desire
LmrsUtil.getLaneChangeDesire
(org.opentrafficsim.base.parameters.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 org.djunits.value.vdouble.scalar.Length
Synchronization.getMergeDistance
(LanePerception perception, LateralDirectionality lat) Returns the distance to the next merge, stopping within this distance is futile for a lane change.org.djunits.value.vdouble.scalar.Acceleration
Synchronization.synchronize
(LanePerception perception, org.opentrafficsim.base.parameters.Parameters params, SpeedLimitInfo sli, CarFollowingModel cfm, double desire, LateralDirectionality lat, LmrsData lmrsData, LaneChange laneChange, LateralDirectionality initiatedLaneChange) Determine acceleration for synchronization.void
Tailgating.tailgate
(LanePerception perception, org.opentrafficsim.base.parameters.Parameters parameters) Apply tailgating.