Uses of Class
org.opentrafficsim.road.gtu.lane.LaneBasedGtu
Packages that use LaneBasedGtu
Package
Description
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.
Classes about vehicle control, including ACC and CACC.
Implementation of lane-based perception for the GTU.
Categories define a set of perceivable information.
Contains perception categories to perceive neighbors.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
Mental mechanisms are a part of perception.
Package for the Stochastic Distraction Model by and in cooperation with Manuel Lindorfer (manuel.lindorfer@fh-ooe.at).
The lane structure provides a way to see the world for a lane based model.
Specific operational plan method for road-vehicles operating in a lane-based network.
Tactical planners for a lane-based GTU.
Classes that deal with lane changing models.
GTU (Car) following models such as IDM+.
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.
Static methods for composition in tactical planners.
LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.
Strategical planners for a road-based GTU.
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
Contains classes describing intersection conflicts.
Lane-based objects that act as sensors.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
-
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane
Methods in org.opentrafficsim.road.gtu.lane with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionorg.djunits.value.vdouble.scalar.Acceleration
VehicleModel.boundAcceleration
(org.djunits.value.vdouble.scalar.Acceleration acceleration, LaneBasedGtu gtu) Returns a bounded acceleration.org.djunits.value.vdouble.scalar.Acceleration
VehicleModel.MassBased.boundAcceleration
(org.djunits.value.vdouble.scalar.Acceleration acceleration, LaneBasedGtu gtu) abstract void
AbstractLaneBasedMoveChecker.checkMove
(LaneBasedGtu gtu) Check the move of the given GTU.void
AccelerationChecker.checkMove
(LaneBasedGtu gtu) void
CollisionDetector.checkMove
(LaneBasedGtu gtu) void
MultiLaneBasedMoveChecker.checkMove
(LaneBasedGtu gtu) -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.control
Methods in org.opentrafficsim.road.gtu.lane.control with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionorg.djunits.value.vdouble.scalar.Acceleration
AbstractActuatedControl.delayActuation
(org.djunits.value.vdouble.scalar.Acceleration desiredAcceleration, LaneBasedGtu gtu) Delays the actuation of acceleration.org.djunits.value.vdouble.scalar.Acceleration
DelayedActuation.delayActuation
(org.djunits.value.vdouble.scalar.Acceleration desiredAcceleration, LaneBasedGtu gtu) Delays the actuation of acceleration.org.djunits.value.vdouble.scalar.Acceleration
AbstractActuatedControl.getAcceleration
(LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters settings) org.djunits.value.vdouble.scalar.Acceleration
LongitudinalControl.getAcceleration
(LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters settings) Calculate acceleration.abstract org.djunits.value.vdouble.scalar.Acceleration
AbstractActuatedControl.getDesiredAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) Returns the desired acceleration from the longitudinal control.final org.djunits.value.vdouble.scalar.Acceleration
AbstractLinearFreeControl.getDesiredAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) abstract org.djunits.value.vdouble.scalar.Acceleration
AbstractLinearFreeControl.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) Returns the following acceleration of the longitudinal control.org.djunits.value.vdouble.scalar.Acceleration
LinearAcc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) org.djunits.value.vdouble.scalar.Acceleration
LinearCacc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) org.djunits.value.vdouble.scalar.Acceleration
PloegAcc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) org.djunits.value.vdouble.scalar.Acceleration
PloegCacc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) Method parameters in org.opentrafficsim.road.gtu.lane.control with type arguments of type LaneBasedGtuModifier and TypeMethodDescriptionabstract org.djunits.value.vdouble.scalar.Acceleration
AbstractActuatedControl.getDesiredAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) Returns the desired acceleration from the longitudinal control.final org.djunits.value.vdouble.scalar.Acceleration
AbstractLinearFreeControl.getDesiredAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) abstract org.djunits.value.vdouble.scalar.Acceleration
AbstractLinearFreeControl.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) Returns the following acceleration of the longitudinal control.org.djunits.value.vdouble.scalar.Acceleration
LinearAcc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) org.djunits.value.vdouble.scalar.Acceleration
LinearCacc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) org.djunits.value.vdouble.scalar.Acceleration
PloegAcc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) org.djunits.value.vdouble.scalar.Acceleration
PloegCacc.getFollowingAcceleration
(LaneBasedGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.opentrafficsim.base.parameters.Parameters settings) -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception
Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionPerceptionFactory.generatePerception
(LaneBasedGtu gtu) Generate perception.Constructors in org.opentrafficsim.road.gtu.lane.perception with parameters of type LaneBasedGtuModifierConstructorDescriptionCreate a new LanePerception module without mental module.CategoricalLanePerception
(LaneBasedGtu gtu, Mental mental) Create a new LanePerception module with mental module. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.categories
Methods in org.opentrafficsim.road.gtu.lane.perception.categories that return types with arguments of type LaneBasedGtu -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionPerceptionCollectable.PerceptionAccumulator<LaneBasedGtu,
org.djunits.value.vdouble.scalar.Duration> TaskHeadwayCollector.getAccumulator()
DirectNeighborsPerception.getFollowers
(RelativeLane lane) NeighborsPerception.getFollowers
(RelativeLane lane) Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.CaccPerception.getLeaders()
DirectNeighborsPerception.getLeaders
(RelativeLane lane) LongitudinalControllerPerception.getLeaders()
Returns the leaders.NeighborsPerception.getLeaders
(RelativeLane lane) Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionDefaultCaccSensors.createDownstreamGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance) HeadwayGtuType.createDownstreamGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance) Creates a headway object from a GTU, downstream.HeadwayGtuType.PerceivedHeadwayGtuType.createDownstreamGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance) default HeadwayGtu
HeadwayGtuType.createHeadwayGtu
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream) Creates a headway object from a GTU, downstream or upstream.HeadwayGtuType.PerceivedHeadwayGtuType.createHeadwayGtu
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream) DefaultCaccSensors.createParallelGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear) HeadwayGtuType.createParallelGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear) Creates a headway object from a GTU, parallel.HeadwayGtuType.PerceivedHeadwayGtuType.createParallelGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear) DefaultCaccSensors.createUpstreamGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance) HeadwayGtuType.createUpstreamGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance) Creates a headway object from a GTU, downstream.HeadwayGtuType.PerceivedHeadwayGtuType.createUpstreamGtu
(LaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance) Estimation.estimate
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream, org.djunits.value.vdouble.scalar.Time when) Estimate headway, speed and acceleration.Estimation.FactorEstimation.estimate
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream, org.djunits.value.vdouble.scalar.Time when) default org.djunits.value.vdouble.scalar.Length
Estimation.getDelayedDistance
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Length distance, boolean downstream, org.djunits.value.vdouble.scalar.Time when) Returns a delayed distance.default org.djunits.value.vdouble.scalar.Speed
Estimation.getDelayedSpeedDifference
(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, org.djunits.value.vdouble.scalar.Time when) Returns a delayed speed difference (other minus ego).default org.djunits.value.vdouble.scalar.Speed
Estimation.getEgoSpeed
(LaneBasedGtu perceivingGtu, LaneBasedObject reference) Returns the ego speed. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.headway
Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return LaneBasedGtuMethods in org.opentrafficsim.road.gtu.lane.perception.headway that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionHeadwayConflict.getDownstreamConflictingGTUs()
Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.HeadwayConflict.getUpstreamConflictingGTUs()
Returns a set of conflicting GTU's upstream of the start of the conflict ordered close to far from the conflict.Methods in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionstatic final GtuStatus[]
AbstractHeadwayGtu.getGtuStatuses
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Time when) Collects GTU statuses from a gtu.static SpeedLimitInfo
AbstractHeadwayGtu.getSpeedLimitInfo
(LaneBasedGtu gtu) Creates speed limit info for given GTU.Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type LaneBasedGtuModifierConstructorDescriptionHeadwayGtuPerceived
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration) HeadwayGtuPerceived
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration) HeadwayGtuReal
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length distance, boolean facingSameDirection) Construct a new Headway information object, for a GTU ahead of us or behind us.HeadwayGtuReal
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear, boolean facingSameDirection) Construct a new Headway information object, for a GTU parallel with us.HeadwayGtuRealCopy
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length distance) Construct a new Headway information object, for a GTU ahead of us or behind us.HeadwayGtuRealCopy
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length overlapFront, org.djunits.value.vdouble.scalar.Length overlap, org.djunits.value.vdouble.scalar.Length overlapRear) Construct a new Headway information object, for a GTU parallel with us.Constructor parameters in org.opentrafficsim.road.gtu.lane.perception.headway with type arguments of type LaneBasedGtuModifierConstructorDescriptionHeadwayConflict
(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Length length, org.djunits.value.vdouble.scalar.Length conflictingLength, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> downstreamConflictingGTUs, org.djunits.value.vdouble.scalar.Length conflictingVisibility, org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, HeadwayConflict.Width width, HeadwayStopLine stopLine, HeadwayStopLine conflictingStopLine, Lane lane) Constructor.HeadwayConflict
(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Length length, org.djunits.value.vdouble.scalar.Length conflictingLength, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> downstreamConflictingGTUs, org.djunits.value.vdouble.scalar.Length conflictingVisibility, org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, HeadwayConflict.Width width, Lane lane) Constructor without stop lines. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.mental
Methods in org.opentrafficsim.road.gtu.lane.perception.mental with parameters of type LaneBasedGtuModifier and TypeMethodDescriptiondouble
ConstantTask.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) double
ExponentialTask.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) 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) double
TaskRoadSideDistraction.calculateTaskDemand
(LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) 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) 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) 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) -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.mental.sdm
Methods in org.opentrafficsim.road.gtu.lane.perception.mental.sdm with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionfinal Task
Distraction.getTask
(LaneBasedGtu gtu) Returns a task for the given GTU.TaskSupplier.Constant.getTask
(LaneBasedGtu gtu) TaskSupplier.getTask
(LaneBasedGtu gtu) Returns a task for the given GTU.void
StochasticDistractionModel.startDistraction
(LaneBasedGtu gtu, Distraction distraction, boolean scheduleNext) Start a distraction.void
StochasticDistractionModel.stopDistraction
(LaneBasedGtu gtu, Task task) Stops a distraction task. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.structure
Methods in org.opentrafficsim.road.gtu.lane.perception.structure that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionLaneStructure.getDownstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.LaneStructure.getFirstDownstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.LaneStructure.getFirstUpstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.LaneStructure.getUpstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.Constructors in org.opentrafficsim.road.gtu.lane.perception.structure with parameters of type LaneBasedGtuModifierConstructorDescriptionLaneStructure
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length upstream, org.djunits.value.vdouble.scalar.Length downstream) Constructor. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.plan.operational
Methods in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionstatic LaneBasedOperationalPlan
LaneOperationalPlanBuilder.buildAccelerationLaneChangePlan
(LaneBasedGtu gtu, LateralDirectionality laneChangeDirectionality, org.djutils.draw.point.OrientedPoint2d startPosition, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Speed startSpeed, org.djunits.value.vdouble.scalar.Acceleration acceleration, org.djunits.value.vdouble.scalar.Duration timeStep, LaneChange laneChange) Build a plan with a path and a given start speed to try to reach a provided end speed.static LaneBasedOperationalPlan
LaneOperationalPlanBuilder.buildAccelerationPlan
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Speed startSpeed, org.djunits.value.vdouble.scalar.Acceleration acceleration, org.djunits.value.vdouble.scalar.Duration timeStep, boolean deviative) Build a plan with a path and a given start speed to try to reach a provided end speed.static LaneBasedOperationalPlan
LaneOperationalPlanBuilder.buildPlanFromSimplePlan
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Time startTime, SimpleOperationalPlan simplePlan, LaneChange laneChange) Build an operational plan based on a simple operational plan and status info.boolean
LaneChange.checkRoom
(LaneBasedGtu gtu, Headway headway) Checks whether the given GTU has sufficient space relative to aHeadway
.static org.opentrafficsim.base.geometry.OtsLine2d
LaneOperationalPlanBuilder.createPathAlongCenterLine
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length distance) Creates a path along lane center lines.final org.djunits.value.vdouble.scalar.Length
LaneBasedOperationalPlan.getDistanceAlongLane
(LaneBasedGtu gtu, org.djutils.draw.point.OrientedPoint2d point) Returns the distance along the reference lane that the GTU travels from the current location up to the point.final org.opentrafficsim.base.geometry.OtsLine2d
LaneChange.getPath
(org.djunits.value.vdouble.scalar.Duration timeStep, LaneBasedGtu gtu, LanePosition from, org.djutils.draw.point.OrientedPoint2d startPosition, org.djunits.value.vdouble.scalar.Length planDistance, LateralDirectionality laneChangeDirection) Returns the path for a lane change.final RelativeLane
LaneChange.getSecondLane
(LaneBasedGtu gtu) Second lane of lane change relative to the reference lane.final org.djunits.value.vdouble.scalar.Length
LaneBasedOperationalPlan.getTotalLengthAlongLane
(LaneBasedGtu gtu) Returns the total length along the reference lane that the GTU travels.static void
LaneOperationalPlanBuilder.scheduleLaneChangeFinalization
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length distance, LateralDirectionality laneChangeDirection) Schedules a lane change finalization after the given distance is covered.final void
SimpleOperationalPlan.setTurnIndicator
(LaneBasedGtu gtu) Constructors in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type LaneBasedGtuModifierConstructorDescriptionLaneBasedOperationalPlan
(LaneBasedGtu gtu, org.opentrafficsim.base.geometry.OtsLine2d path, org.djunits.value.vdouble.scalar.Time startTime, Segments segments, boolean deviative) Construct an operational plan with or without a lane change.LaneChange
(LaneBasedGtu gtu) Constructor. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical
Methods in org.opentrafficsim.road.gtu.lane.tactical that return LaneBasedGtuMethods in org.opentrafficsim.road.gtu.lane.tactical with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionstatic LanePathInfo
AbstractLaneBasedTacticalPlanner.buildLanePathInfo
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxHeadway) Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.static LanePathInfo
AbstractLaneBasedTacticalPlanner.buildLanePathInfo
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxHeadway, Lane startLane, org.djunits.value.vdouble.scalar.Length position) Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.AbstractLaneBasedTacticalPlanner.buildLinkListForward
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxHeadway) Make a list of links on which to drive next, with a maximum headway relative to the reference point of the GTU.protected static boolean
AbstractLaneBasedTacticalPlanner.connectsToPath
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxHeadway, Lane startLane, org.djunits.value.vdouble.scalar.Length startLanePosition, Link linkAfterSplit) Determine whether the lane is directly connected to our route, in other words: if we would (continue to) drive on the given lane, can we take the right branch at the nextSplitNode without switching lanes?LaneBasedCfLcTacticalPlannerFactory.create
(LaneBasedGtu gtu) LaneBasedGtuFollowingTacticalPlannerFactory.create
(LaneBasedGtu gtu) LaneBasedTacticalPlannerFactory.create
(LaneBasedGtu gtu) Creates a new tactical planner for the given GTU.static NextSplitInfo
AbstractLaneBasedTacticalPlanner.determineNextSplit
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxHeadway) Calculate the next location where the network splits, with a maximum headway relative to the reference point of the GTU.protected final CarFollowingModel
AbstractLaneBasedTacticalPlannerFactory.nextCarFollowingModel
(LaneBasedGtu gtu) Returns the next car following model.protected static boolean
AbstractLaneBasedTacticalPlanner.noLaneDrop
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxHeadway, Lane startLane, org.djunits.value.vdouble.scalar.Length startLanePosition) Determine whether the lane does not drop, in other words: if we would (continue to) drive on the given lane, can we continue to drive at the nextSplitNode without switching lanes?Constructors in org.opentrafficsim.road.gtu.lane.tactical with parameters of type LaneBasedGtuModifierConstructorDescriptionAbstractLaneBasedTacticalPlanner
(CarFollowingModel carFollowingModel, LaneBasedGtu gtu, LanePerception lanePerception) Instantiates a tactical planner.LaneBasedCfLcTacticalPlanner
(GtuFollowingModelOld carFollowingModel, LaneChangeModel laneChangeModel, LaneBasedGtu gtu) Instantiated a tactical planner with GTU following and lane change behavior.LaneBasedGtuFollowingTacticalPlanner
(GtuFollowingModelOld carFollowingModel, LaneBasedGtu gtu) Instantiate a tactical planner with just GTU following behavior and no lane changes. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.directedlanechange
Methods in org.opentrafficsim.road.gtu.lane.tactical.directedlanechange with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionfinal DirectedLaneMovementStep
AbstractDirectedLaneChangeModel.computeLaneChangeAndAcceleration
(LaneBasedGtu gtu, 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) final DirectedLaneMovementStep
DirectedFixedLaneChangeModel.computeLaneChangeAndAcceleration
(LaneBasedGtu gtu, 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) DirectedLaneChangeModel.computeLaneChangeAndAcceleration
(LaneBasedGtu gtu, 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. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.following
Methods in org.opentrafficsim.road.gtu.lane.tactical.following with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionfinal AccelerationStep
AbstractGtuFollowingModelMobil.computeAccelerationStep
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Speed leaderSpeed, org.djunits.value.vdouble.scalar.Length headway, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit) final AccelerationStep
AbstractGtuFollowingModelMobil.computeAccelerationStep
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Speed leaderSpeed, org.djunits.value.vdouble.scalar.Length headway, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Duration stepSize) GtuFollowingModelOld.computeAccelerationStep
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Speed leaderSpeed, org.djunits.value.vdouble.scalar.Length headway, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit) Compute the acceleration that would be used to follow a leader.GtuFollowingModelOld.computeAccelerationStep
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Speed leaderSpeed, org.djunits.value.vdouble.scalar.Length headway, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Duration stepSize) Compute the acceleration that would be used to follow a leader.final AccelerationStep
AbstractGtuFollowingModelMobil.computeAccelerationStepWithNoLeader
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit) final AccelerationStep
AbstractGtuFollowingModelMobil.computeAccelerationStepWithNoLeader
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Duration stepSize) GtuFollowingModelOld.computeAccelerationStepWithNoLeader
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit) Compute the acceleration that would be used if the is not leader in sight.GtuFollowingModelOld.computeAccelerationStepWithNoLeader
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Duration stepSize) Compute the acceleration that would be used if the is not leader in sight.final DualAccelerationStep
AbstractGtuFollowingModelMobil.computeDualAccelerationStep
(LaneBasedGtu referenceGTU, Collection<Headway> otherGTUs, org.djunits.value.vdouble.scalar.Length maxDistance, org.djunits.value.vdouble.scalar.Speed speedLimit) final 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) 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.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.final void
AbstractCarFollowingModel.init
(LaneBasedGtu gtu) default void
CarFollowingModel.init
(LaneBasedGtu gtu) void
Initialisable.init
(LaneBasedGtu gtu) Initialize car-following model. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil
Methods in org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionfinal 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) final 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) 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. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.lmrs with parameters of type LaneBasedGtuModifier 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) 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) 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) 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) 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) final Lmrs
LmrsFactory.create
(LaneBasedGtu gtu) DefaultLmrsPerceptionFactory.generatePerception
(LaneBasedGtu gtu) void
SocioDesiredSpeed.init
(LaneBasedGtu laneBasedGtu) default <T extends HeadwayLaneBasedObject>
Iterable<T>AccelerationIncentive.onRoute
(Iterable<T> iterable, LaneBasedGtu gtu) Returns an iterable with only those lane-based objects that are on the route, accounting for longitudinal direction of the GTU type.Constructors in org.opentrafficsim.road.gtu.lane.tactical.lmrs with parameters of type LaneBasedGtuModifierConstructorDescriptionAbstractIncentivesTacticalPlanner
(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 LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.toledo
Methods in org.opentrafficsim.road.gtu.lane.tactical.toledo with parameters of type LaneBasedGtuConstructors in org.opentrafficsim.road.gtu.lane.tactical.toledo with parameters of type LaneBasedGtuModifierConstructorDescriptionToledo
(CarFollowingModel carFollowingModel, LaneBasedGtu gtu) Constructor. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.util
Methods in org.opentrafficsim.road.gtu.lane.tactical.util with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionstatic org.djunits.value.vdouble.scalar.Acceleration
ConflictUtil.approachConflicts
(org.opentrafficsim.base.parameters.Parameters parameters, Iterable<HeadwayConflict> conflicts, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Length vehicleLength, org.djunits.value.vdouble.scalar.Length vehicleWidth, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, LaneBasedGtu gtu, RelativeLane lane) Approach conflicts by applying appropriate acceleration (or deceleration).Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util with type arguments of type LaneBasedGtuModifier and TypeMethodDescriptionstatic org.djunits.value.vdouble.scalar.Acceleration
ConflictUtil.approachConflicts
(org.opentrafficsim.base.parameters.Parameters parameters, Iterable<HeadwayConflict> conflicts, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, CarFollowingModel carFollowingModel, org.djunits.value.vdouble.scalar.Length vehicleLength, org.djunits.value.vdouble.scalar.Length vehicleWidth, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, LaneBasedGtu gtu, RelativeLane lane) Approach conflicts by applying appropriate acceleration (or deceleration).static boolean
ConflictUtil.stopForGiveWayConflict
(HeadwayConflict conflict, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration, org.djunits.value.vdouble.scalar.Length vehicleLength, org.opentrafficsim.base.parameters.Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, org.opentrafficsim.base.parameters.ParameterTypeAcceleration bType, org.djunits.value.vdouble.scalar.Length prevEnd) Approach a give-way conflict.static boolean
ConflictUtil.stopForPriorityConflict
(HeadwayConflict conflict, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Length vehicleLength, org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Length prevEnd) Approach a priority conflict.static boolean
ConflictUtil.stopForStopConflict
(HeadwayConflict conflict, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration, org.djunits.value.vdouble.scalar.Length vehicleLength, org.opentrafficsim.base.parameters.Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, org.opentrafficsim.base.parameters.ParameterTypeAcceleration bType, org.djunits.value.vdouble.scalar.Length prevEnd) Approach a stop conflict. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionstatic 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.Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with type arguments of type LaneBasedGtuModifier and TypeMethodDescriptionstatic HeadwayGtu
Synchronization.getFollower
(HeadwayGtu gtu, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> leaders, HeadwayGtu follower, org.djunits.value.vdouble.scalar.Length ownLength) Returns the upstream gtu of the given gtu.(package private) HeadwayGtu
LmrsData.getSyncVehicle
(PerceptionCollectable<HeadwayGtu, LaneBasedGtu> adjLeaders) Returns the gtu from the set that is the current sync vehicle, ornull
of there is no sync vehicle or it is not in the set. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.strategical
Methods in org.opentrafficsim.road.gtu.strategical that return LaneBasedGtuModifier and TypeMethodDescriptionLaneBasedStrategicalPlanner.getGtu()
final LaneBasedGtu
LaneBasedStrategicalRoutePlanner.getGtu()
Methods in org.opentrafficsim.road.gtu.strategical with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionLaneBasedStrategicalPlannerFactory.create
(LaneBasedGtu gtu, Route route, Node origin, Node destination) Creates a new strategical planner for the given GTU.LaneBasedStrategicalRoutePlannerFactory.create
(LaneBasedGtu gtu, Route route, Node origin, Node destination) Constructors in org.opentrafficsim.road.gtu.strategical with parameters of type LaneBasedGtuModifierConstructorDescriptionLaneBasedStrategicalRoutePlanner
(LaneBasedTacticalPlanner fixedTacticalPlanner, Route route, LaneBasedGtu gtu, Node origin, Node destination, RouteGenerator routeGenerator) Constructor for a strategical planner with route.LaneBasedStrategicalRoutePlanner
(LaneBasedTacticalPlanner fixedTacticalPlanner, LaneBasedGtu gtu) Constructor for a strategical planner without route. -
Uses of LaneBasedGtu in org.opentrafficsim.road.network.lane
Methods in org.opentrafficsim.road.network.lane that return LaneBasedGtuModifier and TypeMethodDescriptionfinal LaneBasedGtu
Lane.getFirstGtu()
Get the first GTU on the lane, relative to a driving direction on this lane.final LaneBasedGtu
Lane.getGtu
(int index) Returns the index'th GTU.final LaneBasedGtu
Lane.getGtu
(int index, org.djunits.value.vdouble.scalar.Time time) Returns the index'th GTU at specified time.final LaneBasedGtu
Lane.getGtuAhead
(org.djunits.value.vdouble.scalar.Length position, RelativePosition.Type relativePosition, org.djunits.value.vdouble.scalar.Time when) Get the first GTU where the relativePosition is in front of another GTU on the lane, in a driving direction on this lane, compared to the DESIGN LINE.final LaneBasedGtu
Lane.getGtuBehind
(org.djunits.value.vdouble.scalar.Length position, RelativePosition.Type relativePosition, org.djunits.value.vdouble.scalar.Time when) Get the first GTU where the relativePosition is behind a certain position on the lane, in a driving direction on this lane, compared to the DESIGN LINE.final LaneBasedGtu
Lane.getLastGtu()
Get the last GTU on the lane, relative to a driving direction on this lane.Methods in org.opentrafficsim.road.network.lane that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionfinal org.djutils.immutablecollections.ImmutableList<LaneBasedGtu>
Lane.getGtuList()
final List<LaneBasedGtu>
Lane.getGtuList
(org.djunits.value.vdouble.scalar.Time time) Returns the list of GTU's at the specified time.Methods in org.opentrafficsim.road.network.lane with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionfinal int
Lane.addGtu
(LaneBasedGtu gtu, double fractionalPosition) Add a LaneBasedGtu to the list of this Lane.final int
Lane.addGtu
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Length longitudinalPosition) Add a LaneBasedGtu to the list of this Lane.final int
Lane.indexOfGtu
(LaneBasedGtu gtu) Returns the index of the given GTU, or -1 if not present.final int
Lane.indexOfGtu
(LaneBasedGtu gtu, org.djunits.value.vdouble.scalar.Time time) Returns the index of the given GTU, or -1 if not present, at specified time.final void
Lane.removeGtu
(LaneBasedGtu gtu, boolean removeFromParentLink, org.djunits.value.vdouble.scalar.Length position) Remove a GTU from the GTU list of this lane.final void
Lane.scheduleDetectorTriggers
(LaneBasedGtu gtu, double referenceStartSI, double referenceMoveSI) Schedule triggering of the detectors for a certain time step; from now until the nextEvaluationTime of the GTU. -
Uses of LaneBasedGtu in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionConflict.getDownstreamGtus
(LaneBasedGtu perceivingGtu, HeadwayGtuType headwayGtuType, org.djunits.value.vdouble.scalar.Length visibility) Provides the downstream GTUs.Conflict.getUpstreamGtus
(LaneBasedGtu perceivingGtu, HeadwayGtuType headwayGtuType, org.djunits.value.vdouble.scalar.Length visibility) Provides the upstream GTUs.Methods in org.opentrafficsim.road.network.lane.conflict with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionConflict.getDownstreamGtus
(LaneBasedGtu perceivingGtu, HeadwayGtuType headwayGtuType, org.djunits.value.vdouble.scalar.Length visibility) Provides the downstream GTUs.Conflict.getUpstreamGtus
(LaneBasedGtu perceivingGtu, HeadwayGtuType headwayGtuType, org.djunits.value.vdouble.scalar.Length visibility) Provides the upstream GTUs. -
Uses of LaneBasedGtu in org.opentrafficsim.road.network.lane.object.detector
Fields in org.opentrafficsim.road.network.lane.object.detector with type parameters of type LaneBasedGtuModifier and TypeFieldDescriptionstatic final BiPredicate<SinkDetector,
LaneBasedGtu> SinkDetector.DESTINATION
Predicate to use to destroy all GTUs with routes ending in the end node of this link, possibly via a connector.Methods in org.opentrafficsim.road.network.lane.object.detector with parameters of type LaneBasedGtuModifier and TypeMethodDescription(package private) <C> void
LoopDetector.accumulate
(LoopDetector.LoopDetectorMeasurement<C, ?> measurement, LaneBasedGtu gtu, org.opentrafficsim.road.network.lane.object.detector.LoopDetector.GtuTypeData dat, boolean front) Accumulates a measurement.protected abstract C
LoopDetector.LoopDetectorMeasurement.accumulateEntry
(C cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) Returns an accumulated value for when the front reaches the detector.protected LoopDetector.PlatoonMeasurement
LoopDetector.PlatoonSizes.accumulateEntry
(LoopDetector.PlatoonMeasurement cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) protected abstract C
LoopDetector.LoopDetectorMeasurement.accumulateExit
(C cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) Returns an accumulated value for when the rear leaves the detector.protected LoopDetector.PlatoonMeasurement
LoopDetector.PlatoonSizes.accumulateExit
(LoopDetector.PlatoonMeasurement cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) protected final void
TrafficLightDetector.addGtu
(LaneBasedGtu gtu) Add a GTU to the set.protected final void
TrafficLightDetector.removeGtu
(LaneBasedGtu gtu) Remove a GTU from the set.final void
TrafficLightDetector.signalDetection
(TrafficLightDetector.StartEndDetector detector, LaneBasedGtu gtu) One of our start/end detectors has triggered.final void
LaneDetector.trigger
(LaneBasedGtu gtu) Trigger an action on the GTU.protected abstract void
LaneDetector.triggerResponse
(LaneBasedGtu gtu) Implementation of the response to a trigger of this detector by a GTU.protected void
LoopDetector.triggerResponse
(LaneBasedGtu gtu) final void
ReportingDetector.triggerResponse
(LaneBasedGtu gtu) final void
SinkDetector.triggerResponse
(LaneBasedGtu gtu) protected final void
TrafficLightDetector.StartEndDetector.triggerResponse
(LaneBasedGtu gtu) boolean
SinkDetector.willDestroy
(LaneBasedGtu gtu) Returns whether the GTU will be removed by this sink.Constructor parameters in org.opentrafficsim.road.network.lane.object.detector with type arguments of type LaneBasedGtuModifierConstructorDescriptionSinkDetector
(Lane lane, org.djunits.value.vdouble.scalar.Length position, DetectorType detectorType, BiPredicate<SinkDetector, LaneBasedGtu> predicate) Constructor. -
Uses of LaneBasedGtu in org.opentrafficsim.road.network.sampling
Methods in org.opentrafficsim.road.network.sampling that return LaneBasedGtuMethods in org.opentrafficsim.road.network.sampling with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionfinal void
RoadSampler.notifySample
(LaneBasedGtu gtu, Lane lane, boolean scheduleNext) Samples a gtu and schedules the next sampling event.Constructors in org.opentrafficsim.road.network.sampling with parameters of type LaneBasedGtu