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.
Mental mechanisms are a part of perception.
Mental implementation based on Anticipation Reliance as determined by a task manager.
Mental implementation based on an Attention Matrix, determining attention over different channels.
Package for the Stochastic Distraction Model by and in cooperation with Manuel Lindorfer (manuel.lindorfer@fh-ooe.at).
Interfaces and classes describing perceived objects.
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.
GTU (Car) following models such as IDM+.
Classes that implement the LMRS lane change model integrated with a car-following model forming a tactical planner.
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 TypeMethodDescriptionVehicleModel.boundAcceleration(Acceleration acceleration, LaneBasedGtu gtu) Returns a bounded acceleration.VehicleModel.MassBased.boundAcceleration(Acceleration acceleration, LaneBasedGtu gtu) abstract voidAbstractLaneBasedMoveChecker.checkMove(LaneBasedGtu gtu) Check the move of the given GTU.voidAccelerationChecker.checkMove(LaneBasedGtu gtu) voidCollisionDetector.checkMove(LaneBasedGtu gtu) voidMultiLaneBasedMoveChecker.checkMove(LaneBasedGtu gtu) default LengthVehicleModel.getTurnRadius(LaneBasedGtu gtu) Returns the turn radius, which is actually a diameter. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.control
Methods in org.opentrafficsim.road.gtu.lane.control with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionAbstractActuatedControl.delayActuation(Acceleration desiredAcceleration, LaneBasedGtu gtu) Delays the actuation of acceleration.DelayedActuation.delayActuation(Acceleration desiredAcceleration, LaneBasedGtu gtu) Delays the actuation of acceleration.AbstractActuatedControl.getAcceleration(LaneBasedGtu gtu, Parameters settings) LongitudinalControl.getAcceleration(LaneBasedGtu gtu, Parameters settings) Calculate acceleration.abstract AccelerationAbstractActuatedControl.getDesiredAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) Returns the desired acceleration from the longitudinal control.final AccelerationAbstractLinearFreeControl.getDesiredAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) abstract AccelerationAbstractLinearFreeControl.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) Returns the following acceleration of the longitudinal control.LinearAcc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) LinearCacc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) PloegAcc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) PloegCacc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) Method parameters in org.opentrafficsim.road.gtu.lane.control with type arguments of type LaneBasedGtuModifier and TypeMethodDescriptionabstract AccelerationAbstractActuatedControl.getDesiredAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) Returns the desired acceleration from the longitudinal control.final AccelerationAbstractLinearFreeControl.getDesiredAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) abstract AccelerationAbstractLinearFreeControl.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) Returns the following acceleration of the longitudinal control.LinearAcc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) LinearCacc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) PloegAcc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Parameters settings) PloegCacc.getFollowingAcceleration(LaneBasedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, 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 TypeMethodDescriptionTaskHeadwayCollector.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.createPerceivedGtu(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream) Creates a perceived object from a GTU, downstream or upstream.PerceivedGtuType.AnticipationPerceivedGtuType.createPerceivedGtu(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream) default PerceivedGtuPerceivedGtuType.createPerceivedGtu(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream) Creates a perceived object from a GTU, downstream or upstream.Estimation.estimate(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Duration when) Estimate headway, speed and acceleration.default LengthEstimation.getDelayedDistance(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Duration when) Returns a delayed distance.default SpeedEstimation.getDelayedReferenceSpeed(LaneBasedGtu perceivingGtu, LaneBasedObject reference, Duration when) Returns the reference speed.default SpeedEstimation.getDelayedSpeedDifference(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Duration when) Returns a delayed speed difference (other minus reference speed). -
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 TypeMethodDescriptionFactorEstimation.estimate(LaneBasedGtu perceivingGtu, LaneBasedObject reference, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Duration when) Constructors in org.opentrafficsim.road.gtu.lane.perception.mental with parameters of type LaneBasedGtu -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.mental.ar
Methods in org.opentrafficsim.road.gtu.lane.perception.mental.ar with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionprotected DurationArTaskCarFollowing.getHeadway(LanePerception perception, LaneBasedGtu gtu, Parameters parameters) protected abstract DurationArTaskHeadwayBased.getHeadway(LanePerception perception, LaneBasedGtu gtu, Parameters parameters) Returns a collector for the task demand.protected DurationArTaskLaneChanging.getHeadway(LanePerception perception, LaneBasedGtu gtu, Parameters parameters) Constructors in org.opentrafficsim.road.gtu.lane.perception.mental.ar with parameters of type LaneBasedGtu -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.mental.channel
Methods in org.opentrafficsim.road.gtu.lane.perception.mental.channel that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionNeighborsPerceptionChannel.getFollowers(RelativeLane lane) Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.NeighborsPerceptionChannel.getLeaders(RelativeLane lane) Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.Constructors in org.opentrafficsim.road.gtu.lane.perception.mental.channel with parameters of type LaneBasedGtuConstructor parameters in org.opentrafficsim.road.gtu.lane.perception.mental.channel with type arguments of type LaneBasedGtuModifierConstructorDescriptionChannelTaskCarFollowing(Function<LanePerception, PerceptionCollectable.UnderlyingDistance<LaneBasedGtu>> leaderSupplier) Constructor that provides a supplier for a leader that follows a non-default logic. -
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 TypeMethodDescriptionvoidStochasticDistractionModel.startDistraction(LaneBasedGtu gtu, Distraction distraction, boolean scheduleNext) Start a distraction.voidStochasticDistractionModel.stopDistraction(LaneBasedGtu gtu, String distractionId) Stops a distraction task. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.object
Methods in org.opentrafficsim.road.gtu.lane.perception.object that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionPerceivedConflict.getDownstreamConflictingGTUs()Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.PerceivedConflictFull.getDownstreamConflictingGTUs()Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.PerceivedConflict.getUpstreamConflictingGTUs()Returns a set of conflicting GTU's upstream of the start of the conflict ordered close to far from the conflict.PerceivedConflictFull.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.object with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionstatic PerceivedConflictPerceivedConflict.of(LaneBasedGtu perceivingGtu, Conflict conflict, PerceivedGtuType perceivedGtuType, Length distance, Length conflictingVisibility) Returns a standard implementation of this interface that wraps aConflictand uses a given perceived GTU type to perceive the upstream and downstream GTUs.static PerceivedGtu.BehaviorPerceivedGtu.Behavior.of(LaneBasedGtu gtu) Wraps a GTU and returns its behavior.static PerceivedGtu.BehaviorPerceivedGtu.Behavior.of(LaneBasedGtu gtu, Duration time) Wraps a GTU and returns its behavior.static PerceivedGtu.BehaviorPerceivedGtu.Behavior.of(LaneBasedGtu gtu, Duration time, GtuTypeAssumptions gtuTypeAssumptions) Wraps a GTU and returns its behavior.static PerceivedGtu.BehaviorPerceivedGtu.Behavior.of(LaneBasedGtu gtu, GtuTypeAssumptions gtuTypeAssumptions) Wraps a GTU and returns its behavior.static PerceivedGtu.ManeuverPerceivedGtu.Maneuver.of(LaneBasedGtu gtu) Wraps a GTU and returns its signals.static PerceivedGtu.ManeuverPerceivedGtu.Maneuver.of(LaneBasedGtu gtu, Duration time) Wraps a GTU and returns its maneuver at given time.static PerceivedGtuPerceivedGtu.of(LaneBasedGtu gtu, PerceivedObject.Kinematics kinematics) Returns perceived GTU with given kinematics.static PerceivedGtuPerceivedGtu.of(LaneBasedGtu gtu, PerceivedObject.Kinematics kinematics, Duration time) Returns perceived GTU at the given time with given kinematics.static PerceivedGtu.SignalsPerceivedGtu.Signals.of(LaneBasedGtu gtu) Wraps a GTU and returns its signals.static PerceivedGtu.SignalsPerceivedGtu.Signals.of(LaneBasedGtu gtu, Duration time) Wraps a GTU and returns its signals.static PerceivedGtuSimplePerceivedGtuSimple.of(LaneBasedGtu gtu, PerceivedObject.Kinematics kinematics) Returns perceived GTU with given kinematics, but withoutBehavior.Constructor parameters in org.opentrafficsim.road.gtu.lane.perception.object with type arguments of type LaneBasedGtuModifierConstructorDescriptionPerceivedConflictFull(String id, Length distance, Length length, ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, Length conflictingLength, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, PerceivedConflictFull.Width width, PerceivedObject stopLine, PerceivedObject conflictingStopLine, Lane lane) Constructor. -
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, Length upstream, 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 LaneBasedOperationalPlanLaneOperationalPlanBuilder.buildPlanFromSimplePlan(LaneBasedGtu gtu, SimpleOperationalPlan simplePlan, Duration tManeuver) Build operational plan from a simple plan.static LaneBasedOperationalPlanLaneOperationalPlanBuilder.buildRoamingPlan(LaneBasedGtu gtu, Acceleration acceleration, Duration duration, Duration tManeuver) Builds a plan from any position not on a lane, towards a reasonable location on a lane on the route.final voidSimpleOperationalPlan.setTurnIndicator(LaneBasedGtu gtu) Set turn indicator.Constructors in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type LaneBasedGtuModifierConstructorDescriptionLaneBasedOperationalPlan(LaneBasedGtu gtu, OtsLine2d path, Duration startTime, Segments segments, boolean deviative) Construct an operational plan with or without a lane change. -
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 TypeMethodDescriptionLaneBasedTacticalPlannerFactory.create(LaneBasedGtu gtu) Creates a new tactical planner for the given GTU.protected final CarFollowingModelAbstractLaneBasedTacticalPlannerFactory.nextCarFollowingModel(LaneBasedGtu gtu) Returns the next car following model.Constructors in org.opentrafficsim.road.gtu.lane.tactical with parameters of type LaneBasedGtuModifierConstructorDescriptionAbstractLaneBasedTacticalPlanner(CarFollowingModel carFollowingModel, LaneBasedGtu gtu, LanePerception lanePerception) Instantiates a tactical planner. -
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 voidAbstractCarFollowingModel.init(LaneBasedGtu gtu) default voidCarFollowingModel.init(LaneBasedGtu gtu) voidInitialisable.init(LaneBasedGtu gtu) Initialize car-following model. -
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 TypeMethodDescriptionvoidAccelerationBusStop.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) final voidAccelerationConflicts.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) voidAccelerationIncentive.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) Determine acceleration.voidAccelerationNoRightOvertake.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) voidAccelerationSpeedLimitTransition.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) voidAccelerationTrafficLights.accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGtu gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo) LmrsFactory.create(LaneBasedGtu gtu) final LmrsLmrsFactoryOld.create(LaneBasedGtu gtu) Deprecated.LmrsFactory.TacticalPlannerProvider.from(CarFollowingModel carFollowingModel, LaneBasedGtu gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Tailgating tailgating) Constructs an instance of the correct tactical planner class.DefaultLmrsPerceptionFactory.generatePerception(LaneBasedGtu gtu) protected LanePerceptionLmrsFactory.getPerception(LaneBasedGtu gtu) Returns perception for the GTU.voidSocioDesiredSpeed.init(LaneBasedGtu laneBasedGtu) default <T extends PerceivedLaneBasedObject>
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.util
Methods in org.opentrafficsim.road.gtu.lane.tactical.util with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionstatic AccelerationConflictUtil.approachConflicts(Parameters parameters, Iterable<PerceivedConflict> conflicts, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, CarFollowingModel carFollowingModel, Length vehicleLength, Length vehicleWidth, Speed speed, Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, LaneBasedGtu gtu, RelativeLane lane) Approach conflicts by applying appropriate acceleration (or deceleration).Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util with type arguments of type LaneBasedGtuModifier and TypeMethodDescriptionstatic AccelerationConflictUtil.approachConflicts(Parameters parameters, Iterable<PerceivedConflict> conflicts, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, CarFollowingModel carFollowingModel, Length vehicleLength, Length vehicleWidth, Speed speed, Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, LaneBasedGtu gtu, RelativeLane lane) Approach conflicts by applying appropriate acceleration (or deceleration).static booleanConflictUtil.stopForGiveWayConflict(PerceivedConflict conflict, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Speed speed, Acceleration acceleration, Length vehicleLength, Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, ParameterTypeAcceleration bType, Length prevEnd) Approach a give-way conflict.static booleanConflictUtil.stopForStopConflict(PerceivedConflict conflict, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, Speed speed, Acceleration acceleration, Length vehicleLength, Parameters parameters, SpeedLimitInfo speedLimitInfo, CarFollowingModel carFollowingModel, ParameterTypeAcceleration bType, 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 SimpleOperationalPlanLmrsUtil.determinePlan(LaneBasedGtu gtu, CarFollowingModel carFollowingModel, 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 PerceivedGtuSynchronization.getFollower(PerceivedGtu gtu, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> leaders, PerceivedGtu follower, Length ownLength) Returns the upstream gtu of the given gtu. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.strategical
Methods in org.opentrafficsim.road.gtu.strategical that return LaneBasedGtuModifier and TypeMethodDescriptionLaneBasedStrategicalPlanner.getGtu()final LaneBasedGtuLaneBasedStrategicalRoutePlanner.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 LaneBasedGtuLane.getGtu(int index) Returns the index'th GTU.final LaneBasedGtuReturns the index'th GTU at specified time.Methods in org.opentrafficsim.road.network.lane that return types with arguments of type LaneBasedGtuModifier and TypeMethodDescriptionfinal Optional<LaneBasedGtu>Lane.getFirstGtu()Get the first GTU on the lane, relative to a driving direction on this lane.final Optional<LaneBasedGtu>Lane.getGtuAhead(Length position, RelativePosition.Type relativePosition, Duration 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 Optional<LaneBasedGtu>Lane.getGtuBehind(Length position, RelativePosition.Type relativePosition, Duration 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 ImmutableList<LaneBasedGtu>Lane.getGtuList()Returns GTU list.final List<LaneBasedGtu>Lane.getGtuList(Duration time) Returns the list of GTU's at the specified time.final Optional<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 with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionintLane.addGtu(LaneBasedGtu gtu, double fractionalPosition) Add a LaneBasedGtu to the list of this Lane.final intLane.addGtu(LaneBasedGtu gtu, Length longitudinalPosition) Add a LaneBasedGtu to the list of this Lane.final intLane.indexOfGtu(LaneBasedGtu gtu) Returns the index of the given GTU, or -1 if not present.final voidLane.removeGtu(LaneBasedGtu gtu, boolean removeFromParentLink, Length position) Remove a GTU from the GTU list of this lane. -
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, PerceivedGtuType perceivedGtuType, Length visibility) Provides the downstream GTUs.Conflict.getUpstreamGtus(LaneBasedGtu perceivingGtu, PerceivedGtuType perceivedGtuType, Length visibility) Provides the upstream GTUs.Methods in org.opentrafficsim.road.network.lane.conflict with parameters of type LaneBasedGtuModifier and TypeMethodDescriptionConflict.getDownstreamGtus(LaneBasedGtu perceivingGtu, PerceivedGtuType perceivedGtuType, Length visibility) Provides the downstream GTUs.Conflict.getUpstreamGtus(LaneBasedGtu perceivingGtu, PerceivedGtuType perceivedGtuType, 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.DESTINATIONPredicate 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 TypeMethodDescriptionprotected abstract CLoopDetector.LoopDetectorMeasurement.accumulateEntry(C cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) Returns an accumulated value for when the front reaches the detector.protected org.opentrafficsim.road.network.lane.object.detector.LoopDetector.PlatoonMeasurementLoopDetector.PlatoonSizes.accumulateEntry(org.opentrafficsim.road.network.lane.object.detector.LoopDetector.PlatoonMeasurement cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) protected abstract CLoopDetector.LoopDetectorMeasurement.accumulateExit(C cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) Returns an accumulated value for when the rear leaves the detector.protected org.opentrafficsim.road.network.lane.object.detector.LoopDetector.PlatoonMeasurementLoopDetector.PlatoonSizes.accumulateExit(org.opentrafficsim.road.network.lane.object.detector.LoopDetector.PlatoonMeasurement cumulative, LaneBasedGtu gtu, LoopDetector loopDetector) protected final voidTrafficLightDetector.addGtu(LaneBasedGtu gtu) Add a GTU to the set.protected final voidTrafficLightDetector.removeGtu(LaneBasedGtu gtu) Remove a GTU from the set.final voidTrafficLightDetector.signalDetection(TrafficLightDetector.StartEndDetector detector, LaneBasedGtu gtu) One of our start/end detectors has triggered.final voidLaneDetector.trigger(LaneBasedGtu gtu) Trigger an action on the GTU.protected abstract voidLaneDetector.triggerResponse(LaneBasedGtu gtu) Implementation of the response to a trigger of this detector by a GTU.protected voidLoopDetector.triggerResponse(LaneBasedGtu gtu) final voidReportingDetector.triggerResponse(LaneBasedGtu gtu) final voidSinkDetector.triggerResponse(LaneBasedGtu gtu) protected final voidTrafficLightDetector.StartEndDetector.triggerResponse(LaneBasedGtu gtu) booleanSinkDetector.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, 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 LaneBasedGtuConstructors in org.opentrafficsim.road.network.sampling with parameters of type LaneBasedGtu