Uses of Interface
org.opentrafficsim.road.gtu.lane.LaneBasedGtu
-
Packages that use LaneBasedGtu Package Description org.opentrafficsim.road.gtu.lane The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.org.opentrafficsim.road.gtu.lane.control Classes about vehicle control, including ACC and CACC.org.opentrafficsim.road.gtu.lane.perception Implementation of lane-based perception for the GTU.org.opentrafficsim.road.gtu.lane.perception.categories Categories define a set of perceivable information.org.opentrafficsim.road.gtu.lane.perception.categories.neighbors Contains perception categories to perceive neighbors.org.opentrafficsim.road.gtu.lane.perception.headway Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.road.gtu.lane.perception.mental.sdm Package for the Stochastic Distraction Model by and in cooperation with Manuel Lindorfer (manuel.lindorfer@fh-ooe.at).org.opentrafficsim.road.gtu.lane.plan.operational Specific operational plan method for road-vehicles operating in a lane-based network.org.opentrafficsim.road.gtu.lane.tactical.directedlanechange Classes that deal with lane changing models.org.opentrafficsim.road.gtu.lane.tactical.following GTU (Car) following models such as IDM+.org.opentrafficsim.road.gtu.lane.tactical.lmrs Classes that implement the LMRS lane change model integrated with a car-following model forming a tactical planner.org.opentrafficsim.road.gtu.lane.tactical.util Static methods for composition in tactical planners.org.opentrafficsim.road.gtu.lane.tactical.util.lmrs LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.org.opentrafficsim.road.gtu.strategical Strategical planners for a road-based GTU.org.opentrafficsim.road.network.lane Classes that provide detailed cross-sections of a link using lanes, markers and sensors.org.opentrafficsim.road.network.lane.conflict Contains classes describing intersection conflicts.org.opentrafficsim.road.network.lane.object.sensor Lane-based objects that act as sensors.org.opentrafficsim.road.network.lane.object.trafficlight Traffic light and traffic light controller objects. -
-
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane
Subinterfaces of LaneBasedGtu in org.opentrafficsim.road.gtu.lane Modifier and Type Interface Description interfaceInternalLaneBasedGtuInternalLaneBasedGTU.java.Classes in org.opentrafficsim.road.gtu.lane that implement LaneBasedGtu Modifier and Type Class Description classAbstractLaneBasedGtuThis class contains most of the code that is needed to run a lane based GTU.classAbstractLaneBasedGtu2This class contains most of the code that is needed to run a lane based GTU.classAbstractLaneBasedIndividualGtuSpecific type of LaneBasedGTU.classLaneBasedIndividualGtuAugments the AbstractLaneBasedIndividualGTU with a LaneBasedIndividualCarBuilder and animation supportMethods in org.opentrafficsim.road.gtu.lane with parameters of type LaneBasedGtu Modifier and Type Method Description AccelerationVehicleModel. boundAcceleration(Acceleration acceleration, LaneBasedGtu gtu)Returns a bounded acceleration.AccelerationVehicleModel.MassBased. boundAcceleration(Acceleration acceleration, LaneBasedGtu gtu)Returns a bounded acceleration. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.control
Methods in org.opentrafficsim.road.gtu.lane.control with parameters of type LaneBasedGtu Modifier and Type Method Description AccelerationAbstractActuatedControl. delayActuation(Acceleration desiredAcceleration, LaneBasedGtu gtu)Delays the actuation of acceleration.AccelerationDelayedActuation. delayActuation(Acceleration desiredAcceleration, LaneBasedGtu gtu)Delays the actuation of acceleration.Method parameters in org.opentrafficsim.road.gtu.lane.control with type arguments of type LaneBasedGtu Modifier and Type Method Description abstract AccelerationAbstractActuatedControl. getDesiredAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.AccelerationAbstractLinearFreeControl. getDesiredAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.abstract AccelerationAbstractLinearFreeControl. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearCACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegCACC. getFollowingAcceleration(InternalLaneBasedGtu gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Parameters settings)Returns the following acceleration of the longitudinal control. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception
Methods in org.opentrafficsim.road.gtu.lane.perception that return types with arguments of type LaneBasedGtu Modifier and Type Method Description Iterator<LaneBasedGtu>SortedSetPerceptionIterable. underlying()Deprecated.Returns an iterator over the underlying objects.Iterator<PerceptionCollectable.UnderlyingDistance<LaneBasedGtu>>SortedSetPerceptionIterable. underlyingWithDistance()Deprecated.Returns an iterator over the underlying objects coupled with the distance.Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type LaneBasedGtu Modifier and Type Method Description protected LengthDownstreamNeighborsIterable. getDistance(LaneBasedGtu object, LaneRecord<?> record, Length position)Returns the distance to the object.protected LengthUpstreamNeighborsIterable. getDistance(LaneBasedGtu object, LaneRecord<?> record, Length position)Returns the distance to the object.<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>LaneStructure. getDownstreamObjects(Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos)Retrieve objects of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>LaneStructure. getDownstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>RollingLaneStructure. getDownstreamObjects(Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos)Retrieve objects of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getDownstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>LaneStructure. getDownstreamObjectsOnRoute(Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos, Route route)Retrieve objects of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>LaneStructure. getDownstreamObjectsOnRoute(RelativeLane lane, Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos, Route route)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
Map<RelativeLane,SortedSet<LaneStructure.Entry<T>>>RollingLaneStructure. getDownstreamObjectsOnRoute(Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos, Route route)Retrieve objects of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getDownstreamObjectsOnRoute(RelativeLane lane, Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos, Route route)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>LaneStructure. getUpstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getUpstreamObjects(RelativeLane lane, Class<T> clazz, LaneBasedGtu gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.GtuHeadwayDownstreamNeighborsIterable. perceive(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu object, Length distance)Returns a perceived version of the underlying object.GtuHeadwayUpstreamNeighborsIterable. perceive(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu object, Length distance)Returns a perceived version of the underlying object.static StringRollingLaneStructure. print(RollingLaneStructure ls, LaneBasedGtu gtu)Print the lane structure as a number of lines in a String.Method parameters in org.opentrafficsim.road.gtu.lane.perception with type arguments of type LaneBasedGtu Modifier and Type Method Description <C,I>
CSortedSetPerceptionIterable. collect(Supplier<I> identity, PerceptionCollectable.PerceptionAccumulator<? super LaneBasedGtu,I> accumulator, PerceptionCollectable.PerceptionFinalizer<C,I> finalizer)Deprecated.Collect the underlying objects in to a perceived result. -
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 Modifier and Type Method Description PerceptionCollectable.PerceptionAccumulator<LaneBasedGtu,AnticipationSpeed.SpeedSet>AnticipationSpeed. getAccumulator()Returns the accumulator. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that return LaneBasedGtu Modifier and Type Method Description LaneBasedGtuNeighborsUtil.DistanceGtu. getGTU()Returns the GTU.Methods in org.opentrafficsim.road.gtu.lane.perception.categories.neighbors that return types with arguments of type LaneBasedGtu Modifier and Type Method Description PerceptionCollectable.PerceptionAccumulator<LaneBasedGtu,Duration>TaskHeadwayCollector. getAccumulator()Returns the accumulator.PerceptionCollectable<GtuHeadway,LaneBasedGtu>DirectNeighborsPerception. getFollowers(RelativeLane lane)Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.PerceptionCollectable<GtuHeadway,LaneBasedGtu>NeighborsPerception. getFollowers(RelativeLane lane)Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.PerceptionCollectable<GtuHeadway,LaneBasedGtu>AccPerception. getLeaders()Returns the leaders.PerceptionCollectable<GtuHeadway,LaneBasedGtu>CaccPerception. getLeaders()Returns the leaders.PerceptionCollectable<GtuHeadway,LaneBasedGtu>DirectNeighborsPerception. getLeaders(RelativeLane lane)Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.PerceptionCollectable<GtuHeadway,LaneBasedGtu>LongitudinalControllerPerception. getLeaders()Returns the leaders.PerceptionCollectable<GtuHeadway,LaneBasedGtu>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 LaneBasedGtu Modifier and Type Method Description GtuHeadwayDefaultCaccSensors. createDownstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType. createDownstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createDownstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.default GtuHeadwayGtuHeadwayType. createHeadwayGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createHeadwayGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.GtuHeadwayDefaultCaccSensors. createParallelGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.GtuHeadwayGtuHeadwayType. createParallelGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createParallelGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.GtuHeadwayDefaultCaccSensors. createUpstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType. createUpstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.GtuHeadwayGtuHeadwayType.PerceivedGtuHeadwayType. createUpstreamGtu(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.NeighborTripletEstimation. estimate(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Time when)Deprecated.Estimate headway, speed and acceleration.NeighborTripletEstimation.FactorEstimation. estimate(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Time when)Estimate headway, speed and acceleration.default LengthEstimation. getDelayedHeadway(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Length distance, boolean downstream, Time when)Deprecated.Returns a delayed headway.default SpeedEstimation. getDelayedSpeedDifference(InternalLaneBasedGtu perceivingGtu, LaneBasedGtu perceivedGtu, Time when)Deprecated.Returns a delayed speed difference (other minus ego). -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.perception.headway
Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return types with arguments of type LaneBasedGtu Modifier and Type Method Description PerceptionCollectable<GtuHeadway,LaneBasedGtu>ConflictHeadway. getDownstreamConflictingGTUs()Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.PerceptionCollectable<GtuHeadway,LaneBasedGtu>ConflictHeadway. 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 LaneBasedGtu Modifier and Type Method Description static GtuStatus[]AbstractGtuHeadway. getGTUStatuses(LaneBasedGtu gtu)Collects GTU statuses from a gtu.static GtuStatus[]AbstractGtuHeadway. getGTUStatuses(LaneBasedGtu gtu, Time when)Deprecated.static SpeedLimitInfoAbstractGtuHeadway. getSpeedLimitInfo(LaneBasedGtu gtu)Creates speed limit info for given GTU.Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type LaneBasedGtu Constructor Description GtuHeadwayPerceived(LaneBasedGtu gtu, Length overlapFront, Length overlap, Length overlapRear, Speed speed, Acceleration acceleration)Deprecated.GtuHeadwayPerceived(LaneBasedGtu gtu, Length distance, Speed speed, Acceleration acceleration)Deprecated.GtuHeadwayReal(LaneBasedGtu otherGtu, Length distance, boolean facingSameDirection)Construct a new Headway information object, for a GTU ahead of us or behind us.GtuHeadwayReal(LaneBasedGtu otherGtu, Length overlapFront, Length overlap, Length overlapRear, boolean facingSameDirection)Construct a new Headway information object, for a GTU parallel with us.GtuHeadwayRealCopy(LaneBasedGtu gtu, Length distance)Deprecated.GtuHeadwayRealCopy(LaneBasedGtu gtu, Length overlapFront, Length overlap, Length overlapRear)Deprecated.Constructor parameters in org.opentrafficsim.road.gtu.lane.perception.headway with type arguments of type LaneBasedGtu Constructor Description ConflictHeadway(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<GtuHeadway,LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<GtuHeadway,LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, ConflictHeadway.Width width, StopLineHeadway stopLine, StopLineHeadway conflictingStopLine, Lane lane)Constructor.ConflictHeadway(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<GtuHeadway,LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<GtuHeadway,LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, ConflictHeadway.Width width, Lane lane)Constructor without stop lines. -
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 LaneBasedGtu Modifier and Type Method Description TaskDistraction. getTask(LaneBasedGtu gtu)Returns a task for the given GTU.TaskTaskSupplier.Constant. getTask(LaneBasedGtu gtu)Returns a task for the given GTU.TaskTaskSupplier. getTask(LaneBasedGtu gtu)Returns a task for the given GTU. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.plan.operational
Methods in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type LaneBasedGtu Modifier and Type Method Description LengthLaneBasedOperationalPlan. getDistanceAlongLane(LaneBasedGtu gtu, OrientedPoint3d point)Returns the distance along the reference lane that the GTU travels from the current location up to the point.RelativeLaneLaneChange. getSecondLane(LaneBasedGtu gtu)Second lane of lane change relative to the reference lane.LengthLaneBasedOperationalPlan. getTotalLengthAlongLane(LaneBasedGtu gtu)Returns the total length along the reference lane that the GTU travels.Constructors in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type LaneBasedGtu Constructor Description LaneBasedOperationalPlan(LaneBasedGtu gtu, PolyLine3d path, Time startTime, Speed startSpeed, List<OperationalPlan.Segment> operationalPlanSegmentList, boolean deviative)Construct an operational plan with or without a lane change.LaneBasedOperationalPlan(LaneBasedGtu gtu, OrientedPoint3d waitPoint, Time startTime, Duration duration, boolean deviative)Build a plan where the GTU will wait for a certain time.LaneChange(LaneBasedGtu gtu)Constructor. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.directedlanechange
Methods in org.opentrafficsim.road.gtu.lane.tactical.directedlanechange with parameters of type LaneBasedGtu Modifier and Type Method Description DirectedLaneMovementStepAbstractDirectedLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGtu gtu, LateralDirectionality direction, Collection<Headway> sameLaneGTUs, Collection<Headway> otherLaneGTUs, Length maxDistance, Speed speedLimit, Acceleration otherLaneRouteIncentive, Acceleration laneChangeThreshold, Duration laneChangeTime)Compute the acceleration and lane change.DirectedLaneMovementStepDirectedFixedLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGtu gtu, LateralDirectionality direction, Collection<Headway> sameLaneTraffic, Collection<Headway> otherLaneTraffic, Length maxDistance, Speed speedLimit, Acceleration otherLaneRouteIncentive, Acceleration laneChangeThreshold, Duration laneChangeTime)Compute the acceleration and lane change.DirectedLaneMovementStepDirectedLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGtu gtu, LateralDirectionality direction, Collection<Headway> sameLaneTraffic, Collection<Headway> otherLaneTraffic, Length maxDistance, Speed speedLimit, Acceleration otherLaneRouteIncentive, Acceleration laneChangeThreshold, 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 LaneBasedGtu Modifier and Type Method Description AccelerationStepAbstractGtuFollowingModelMobil. computeAccelerationStep(LaneBasedGtu gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit)Compute the acceleration that would be used to follow a leader.AccelerationStepAbstractGtuFollowingModelMobil. computeAccelerationStep(LaneBasedGtu gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit, Duration stepSize)Compute the acceleration that would be used to follow a leader.AccelerationStepGtuFollowingModelOld. computeAccelerationStep(LaneBasedGtu gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit)Compute the acceleration that would be used to follow a leader.AccelerationStepGtuFollowingModelOld. computeAccelerationStep(LaneBasedGtu gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit, Duration stepSize)Compute the acceleration that would be used to follow a leader.AccelerationStepAbstractGtuFollowingModelMobil. computeAccelerationStepWithNoLeader(LaneBasedGtu gtu, Length maxDistance, Speed speedLimit)Compute the acceleration that would be used if the is not leader in sight.AccelerationStepAbstractGtuFollowingModelMobil. computeAccelerationStepWithNoLeader(LaneBasedGtu gtu, Length maxDistance, Speed speedLimit, Duration stepSize)Compute the acceleration that would be used if the is not leader in sight.AccelerationStepGtuFollowingModelOld. computeAccelerationStepWithNoLeader(LaneBasedGtu gtu, Length maxDistance, Speed speedLimit)Compute the acceleration that would be used if the is not leader in sight.AccelerationStepGtuFollowingModelOld. computeAccelerationStepWithNoLeader(LaneBasedGtu gtu, Length maxDistance, Speed speedLimit, Duration stepSize)Compute the acceleration that would be used if the is not leader in sight.DualAccelerationStepAbstractGtuFollowingModelMobil. computeDualAccelerationStep(LaneBasedGtu referenceGtu, Collection<Headway> otherGTUs, Length maxDistance, 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.DualAccelerationStepAbstractGtuFollowingModelMobil. computeDualAccelerationStep(LaneBasedGtu referenceGtu, Collection<Headway> otherHeadways, Length maxDistance, Speed speedLimit, Duration stepSize)Deprecated.DualAccelerationStepGtuFollowingModelOld. computeDualAccelerationStep(LaneBasedGtu gtu, Collection<Headway> otherHeadways, Length maxDistance, 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.DualAccelerationStepGtuFollowingModelOld. computeDualAccelerationStep(LaneBasedGtu gtu, Collection<Headway> otherHeadways, Length maxDistance, Speed speedLimit, 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. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.lmrs
Methods in org.opentrafficsim.road.gtu.lane.tactical.lmrs with parameters of type LaneBasedGtu Modifier and Type Method Description default <T extends LaneBasedObjectHeadway>
Iterable<T>AccelerationIncentive. onRoute(Iterable<T> iterable, LaneBasedGtu gtu)Deprecated. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.lane.tactical.util
Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util with type arguments of type LaneBasedGtu Modifier and Type Method Description static AccelerationConflictUtil. approachConflicts(Parameters parameters, Iterable<ConflictHeadway> conflicts, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, CarFollowingModel carFollowingModel, Length vehicleLength, Length vehicleWidth, Speed speed, Acceleration acceleration, SpeedLimitInfo speedLimitInfo, ConflictUtil.ConflictPlans conflictPlans, InternalLaneBasedGtu gtu, RelativeLane lane)Approach conflicts by applying appropriate acceleration (or deceleration).static booleanConflictUtil. stopForGiveWayConflict(ConflictHeadway conflict, PerceptionCollectable<GtuHeadway,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. stopForPriorityConflict(ConflictHeadway conflict, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, Speed speed, Length vehicleLength, Parameters parameters, Length prevEnd)Approach a priority conflict.static booleanConflictUtil. stopForStopConflict(ConflictHeadway conflict, PerceptionCollectable<GtuHeadway,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 that return types with arguments of type LaneBasedGtu Modifier and Type Method Description static PerceptionCollectable<GtuHeadway,LaneBasedGtu>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<GtuHeadway,LaneBasedGtu> set, LanePerception perception, RelativeLane relativeLane)Removes all GTUs from the set, that are found upstream on the conflicting lane of a conflict in the current lane.Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with type arguments of type LaneBasedGtu Modifier and Type Method Description static GtuHeadwaySynchronization. getFollower(GtuHeadway gtu, PerceptionCollectable<GtuHeadway,LaneBasedGtu> leaders, GtuHeadway follower, Length ownLength)Returns the upstream gtu of the given gtu.static PerceptionCollectable<GtuHeadway,LaneBasedGtu>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<GtuHeadway,LaneBasedGtu> set, LanePerception perception, RelativeLane relativeLane)Removes all GTUs from the set, that are found upstream on the conflicting lane of a conflict in the current lane. -
Uses of LaneBasedGtu in org.opentrafficsim.road.gtu.strategical
Methods in org.opentrafficsim.road.gtu.strategical that return LaneBasedGtu Modifier and Type Method Description LaneBasedGtuLaneBasedStrategicalPlanner. getEgoGtu() -
Uses of LaneBasedGtu in org.opentrafficsim.road.network.lane
Methods in org.opentrafficsim.road.network.lane that return LaneBasedGtu Modifier and Type Method Description LaneBasedGtuLane. getFirstGtu(GtuDirectionality direction)Get the first GTU on the lane, relative to a driving direction on this lane.LaneBasedGtuLane. getGtu(int index)Returns the index'th GTU.LaneBasedGtuLane. getGtu(int index, Time time)Returns the index'th GTU at specified time.LaneBasedGtuLane. getGtuAhead(Length position, GtuDirectionality direction, RelativePosition.TYPE relativePosition, Time when)Deprecated.LaneBasedGtuLane. getGtuBehind(Length position, GtuDirectionality direction, RelativePosition.TYPE relativePosition, 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.LaneBasedGtuLane. getLastGtu(GtuDirectionality direction)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 LaneBasedGtu Modifier and Type Method Description ImmutableList<LaneBasedGtu>Lane. getGtuList()List<LaneBasedGtu>Lane. getGtuList(Time time)Returns the list of GTU's at the specified time.Methods in org.opentrafficsim.road.network.lane with parameters of type LaneBasedGtu Modifier and Type Method Description intLane. addGTU(LaneBasedGtu gtu, double fractionalPosition)Add a LaneBasedGTU to the list of this Lane.intLane. addGTU(LaneBasedGtu gtu, Length longitudinalPosition)Add a LaneBasedGTU to the list of this Lane.LaneDirectionLaneDirection. getAdjacentLaneDirection(LateralDirectionality laneChangeDirection, LaneBasedGtu gtu)Returns the adjacent lane and direction.Set<LaneDirection>LaneDirection. getNextForRoute(LaneBasedGtu gtu)Deprecated.LaneDirectionLaneDirection. getNextLaneDirection(LaneBasedGtu gtu)Deprecated.intLane. indexOfGtu(LaneBasedGtu gtu)Returns the index of the given GTU, or -1 if not present.intLane. indexOfGtu(LaneBasedGtu gtu, Time time)Deprecated.voidLane. removeGTU(LaneBasedGtu gtu, boolean removeFromParentLink, Length position)Remove a GTU from the GTU list of this lane.voidLane. scheduleSensorTriggers(LaneBasedGtu gtu, double referenceStartSI, double referenceMoveSI)Deprecated. -
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 LaneBasedGtu Modifier and Type Method Description PerceptionCollectable<GtuHeadway,LaneBasedGtu>Conflict. getDownstreamGtus(InternalLaneBasedGtu perceivingGtu, GtuHeadwayType headwayGtuType, Length visibility)Provides the downstream GTUs.PerceptionCollectable<GtuHeadway,LaneBasedGtu>Conflict. getUpstreamGtus(InternalLaneBasedGtu perceivingGtu, GtuHeadwayType headwayGtuType, Length visibility)Provides the upstream GTUs. -
Uses of LaneBasedGtu in org.opentrafficsim.road.network.lane.object.sensor
Methods in org.opentrafficsim.road.network.lane.object.sensor with parameters of type LaneBasedGtu Modifier and Type Method Description CDetector.DetectorMeasurement. accumulateEntry(C cumulative, LaneBasedGtu gtu, Detector loopDetector)Returns an accumulated value for when the front reaches the detector.org.opentrafficsim.road.network.lane.object.sensor.Detector.PlatoonMeasurementDetector.PlatoonSizes. accumulateEntry(org.opentrafficsim.road.network.lane.object.sensor.Detector.PlatoonMeasurement cumulative, LaneBasedGtu gtu, Detector loopDetector)Returns an accumulated value for when the front reaches the detector.CDetector.DetectorMeasurement. accumulateExit(C cumulative, LaneBasedGtu gtu, Detector loopDetector)Returns an accumulated value for when the rear leaves the detector.org.opentrafficsim.road.network.lane.object.sensor.Detector.PlatoonMeasurementDetector.PlatoonSizes. accumulateExit(org.opentrafficsim.road.network.lane.object.sensor.Detector.PlatoonMeasurement cumulative, LaneBasedGtu gtu, Detector loopDetector)Returns an accumulated value for when the rear leaves the detector.protected voidTrafficLightSensor. addGTU(LaneBasedGtu gtu)Add a GTU to the set.protected voidTrafficLightSensor. removeGTU(LaneBasedGtu gtu)Remove a GTU from the set.voidTrafficLightSensor. signalDetection(FlankSensor sensor, LaneBasedGtu gtu)One of our flank sensors has triggered.voidAbstractSensor. trigger(LaneBasedGtu gtu)Trigger an action on the GTU.voidSingleSensor. trigger(LaneBasedGtu gtu)Trigger an action on the GTU.protected abstract voidAbstractSensor. triggerResponse(LaneBasedGtu gtu)Implementation of the response to a trigger of this sensor by a GTU.voidDestinationSensor. triggerResponse(LaneBasedGtu gtu)Implementation of the response to a trigger of this sensor by a GTU.protected voidDetector. triggerResponse(LaneBasedGtu gtu)Implementation of the response to a trigger of this sensor by a GTU.voidSimpleReportingSensor. triggerResponse(LaneBasedGtu gtu)Implementation of the response to a trigger of this sensor by a GTU.voidSinkSensor. triggerResponse(LaneBasedGtu gtu)Implementation of the response to a trigger of this sensor by a GTU. -
Uses of LaneBasedGtu in org.opentrafficsim.road.network.lane.object.trafficlight
Methods in org.opentrafficsim.road.network.lane.object.trafficlight with parameters of type LaneBasedGtu Modifier and Type Method Description protected voidFlankSensor. triggerResponse(LaneBasedGtu gtu)Implementation of the response to a trigger of this sensor by a GTU.
-