Uses of Interface
org.opentrafficsim.road.gtu.lane.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 |
Mental mechanisms are a part of perception.
|
| 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 |
Tactical planners for a lane-based GTU.
|
| 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.lanechangemobil |
Classes that deal with lane changing models.
|
| 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.steering |
Development tactical planners using the steering utility.
|
| org.opentrafficsim.road.gtu.lane.tactical.toledo |
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.road.gtu.lane.tactical.util |
Static methods for composition in tactical planners.
|
| org.opentrafficsim.road.gtu.lane.tactical.util.lmrs |
LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.
|
| org.opentrafficsim.road.gtu.strategical |
Strategical planners for a road-based GTU.
|
| org.opentrafficsim.road.gtu.strategical.route |
Route planners as part of strategical planning.
|
| 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.
|
| org.opentrafficsim.road.network.sampling |
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
-
Uses of LaneBasedGTU in org.opentrafficsim.road.gtu.lane
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.abstract voidAbstractLaneBasedMoveChecker. checkMove(LaneBasedGTU gtu)Check the move of the given GTU.voidAccelerationChecker. checkMove(LaneBasedGTU gtu)Check the move of the given GTU.voidCollisionDetector. checkMove(LaneBasedGTU gtu)Check the move of the given GTU.voidMultiLaneBasedMoveChecker. checkMove(LaneBasedGTU gtu)Check the move of the given GTU. -
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.AccelerationAbstractActuatedControl. getAcceleration(LaneBasedGTU gtu, Parameters settings)Calculate acceleration.AccelerationLongitudinalControl. getAcceleration(LaneBasedGTU gtu, Parameters settings)Calculate acceleration.abstract AccelerationAbstractActuatedControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.AccelerationAbstractLinearFreeControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.abstract AccelerationAbstractLinearFreeControl. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.Method parameters in org.opentrafficsim.road.gtu.lane.control with type arguments of type LaneBasedGTU Modifier and Type Method Description abstract AccelerationAbstractActuatedControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.AccelerationAbstractLinearFreeControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the desired acceleration from the longitudinal control.abstract AccelerationAbstractLinearFreeControl. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationLinearCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)Returns the following acceleration of the longitudinal control.AccelerationPloegCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,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 LaneBasedGTU Modifier and Type Method Description protected LaneBasedGTUAbstractPerceptionReiterable. getGtu()Returns the GTU.LaneBasedGTULanePerception. getGtu()Methods in org.opentrafficsim.road.gtu.lane.perception that return types with arguments of type LaneBasedGTU Modifier and Type Method Description java.util.Iterator<LaneBasedGTU>SortedSetPerceptionIterable. underlying()Deprecated.Returns an iterator over the underlying objects.java.util.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 LanePerceptionPerceptionFactory. generatePerception(LaneBasedGTU gtu)Generate perception.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>
java.util.Map<RelativeLane,java.util.SortedSet<LaneStructure.Entry<T>>>LaneStructure. getDownstreamObjects(java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)Retrieve objects of a specific type.<T extends LaneBasedObject>
java.util.SortedSet<LaneStructure.Entry<T>>LaneStructure. getDownstreamObjects(RelativeLane lane, java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
java.util.Map<RelativeLane,java.util.SortedSet<LaneStructure.Entry<T>>>RollingLaneStructure. getDownstreamObjects(java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)Retrieve objects of a specific type.<T extends LaneBasedObject>
java.util.SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getDownstreamObjects(RelativeLane lane, java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
java.util.Map<RelativeLane,java.util.SortedSet<LaneStructure.Entry<T>>>LaneStructure. getDownstreamObjectsOnRoute(java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)Retrieve objects of a specific type.<T extends LaneBasedObject>
java.util.SortedSet<LaneStructure.Entry<T>>LaneStructure. getDownstreamObjectsOnRoute(RelativeLane lane, java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
java.util.Map<RelativeLane,java.util.SortedSet<LaneStructure.Entry<T>>>RollingLaneStructure. getDownstreamObjectsOnRoute(java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)Retrieve objects of a specific type.<T extends LaneBasedObject>
java.util.SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getDownstreamObjectsOnRoute(RelativeLane lane, java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos, Route route)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
java.util.SortedSet<LaneStructure.Entry<T>>LaneStructure. getUpstreamObjects(RelativeLane lane, java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.<T extends LaneBasedObject>
java.util.SortedSet<LaneStructure.Entry<T>>RollingLaneStructure. getUpstreamObjects(RelativeLane lane, java.lang.Class<T> clazz, LaneBasedGTU gtu, RelativePosition.TYPE pos)Retrieve objects on a lane of a specific type.protected abstract HAbstractPerceptionReiterable. perceive(LaneBasedGTU perceivingGtu, U object, Length distance)Returns a perceived version of the underlying object.HeadwayGTUDownstreamNeighborsIterable. perceive(LaneBasedGTU perceivingGtu, LaneBasedGTU object, Length distance)Returns a perceived version of the underlying object.HMultiLanePerceptionIterable. perceive(LaneBasedGTU perceivingGtu, U object, Length distance)Returns a perceived version of the underlying object.HeadwayGTUUpstreamNeighborsIterable. perceive(LaneBasedGTU perceivingGtu, LaneBasedGTU object, Length distance)Returns a perceived version of the underlying object.static java.lang.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(java.util.function.Supplier<I> identity, PerceptionCollectable.PerceptionAccumulator<? super LaneBasedGTU,I> accumulator, PerceptionCollectable.PerceptionFinalizer<C,I> finalizer)Deprecated.Collect the underlying objects in to a perceived result.Constructors in org.opentrafficsim.road.gtu.lane.perception with parameters of type LaneBasedGTU Constructor Description AbstractLanePerception(LaneBasedGTU gtu)Create a new LanePerception module without mental module.AbstractLanePerception(LaneBasedGTU gtu, Mental mental)Create a new LanePerception module with mental module.AbstractPerceptionIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, boolean downstream, Length maxDistance, RelativePosition relativePosition, Route route)Constructor.AbstractPerceptionReiterable(LaneBasedGTU perceivingGtu)Constructor.CategoricalLanePerception(LaneBasedGTU gtu)CategoricalLanePerception(LaneBasedGTU gtu, Mental mental)DownstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane, boolean ignoreIfUpstream)Constructor.LaneBasedObjectIterable(LaneBasedGTU perceivingGtu, java.lang.Class<L> clazz, LaneRecord<?> root, Length initialPosition, boolean downstream, Length maxDistance, RelativePosition relativePosition, Route route)Constructor.MultiLanePerceptionIterable(LaneBasedGTU perceivingGtu)Constructor.RollingLaneStructure(Length lookAhead, Length down, Length up, Length downSplit, Length upMerge, LaneBasedGTU gtu)Constructor.UpstreamNeighborsIterable(LaneBasedGTU perceivingGtu, LaneRecord<?> root, Length initialPosition, Length maxDistance, RelativePosition relativePosition, HeadwayGtuType headwayGtuType, RelativeLane lane)Constructor. -
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<HeadwayGTU,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<HeadwayGTU,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<HeadwayGTU,LaneBasedGTU>AccPerception. getLeaders()Returns the leaders.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>CaccPerception. getLeaders()Returns the leaders.PerceptionCollectable<HeadwayGTU,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<HeadwayGTU,LaneBasedGTU>LongitudinalControllerPerception. getLeaders()Returns the leaders.PerceptionCollectable<HeadwayGTU,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 HeadwayGTUDefaultCaccSensors. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.default HeadwayGTUHeadwayGtuType. createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream)Creates a headway object from a GTU, downstream or upstream.HeadwayGTUDefaultCaccSensors. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.HeadwayGTUHeadwayGtuType. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)Creates a headway object from a GTU, parallel.HeadwayGTUDefaultCaccSensors. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.HeadwayGTUHeadwayGtuType.PerceivedHeadwayGtuType. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)Creates a headway object from a GTU, downstream.NeighborTripletEstimation. estimate(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when)Estimate headway, speed and acceleration.NeighborTripletEstimation.FactorEstimation. estimate(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when)Estimate headway, speed and acceleration.default LengthEstimation. getDelayedHeadway(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when)Returns a delayed headway.default SpeedEstimation. getDelayedSpeedDifference(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Time when)Returns a delayed speed difference (other minus ego).default SpeedEstimation. getEgoSpeed(LaneBasedGTU perceivingGtu)Returns the ego speed.static java.util.SortedSet<HeadwayGTU>NeighborsUtil. perceive(java.util.SortedSet<NeighborsUtil.DistanceGTU> base, HeadwayGtuType headwayGtuType, LaneBasedGTU perceivingGtu, boolean downstream)Translation from a set ofDistanceGTU's, to a sorted set ofHeadwayGTU's. -
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<HeadwayGTU,LaneBasedGTU>HeadwayConflict. getDownstreamConflictingGTUs()Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>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 LaneBasedGTU Modifier and Type Method Description static GTUStatus[]AbstractHeadwayGTU. getGTUStatuses(LaneBasedGTU gtu, Time when)Collects GTU statuses from a gtu.static SpeedLimitInfoAbstractHeadwayGTU. 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 HeadwayGTUPerceived(LaneBasedGTU gtu, Length overlapFront, Length overlap, Length overlapRear, Speed speed, Acceleration acceleration)HeadwayGTUPerceived(LaneBasedGTU gtu, Length distance, Speed speed, Acceleration acceleration)HeadwayGTUReal(LaneBasedGTU gtu, Length distance, boolean facingSameDirection)Construct a new Headway information object, for a GTU ahead of us or behind us.HeadwayGTUReal(LaneBasedGTU gtu, Length overlapFront, Length overlap, Length overlapRear, boolean facingSameDirection)Construct a new Headway information object, for a GTU parallel with us.HeadwayGTURealCopy(LaneBasedGTU gtu, Length distance)Construct a new Headway information object, for a GTU ahead of us or behind us.HeadwayGTURealCopy(LaneBasedGTU gtu, Length overlapFront, Length overlap, 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 LaneBasedGTU Constructor Description HeadwayConflict(ConflictType conflictType, ConflictPriority conflictPriority, java.lang.Class<? extends ConflictRule> conflictRuleType, java.lang.String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, HeadwayConflict.Width width, HeadwayStopLine stopLine, HeadwayStopLine conflictingStopLine, Lane lane)Constructor.HeadwayConflict(ConflictType conflictType, ConflictPriority conflictPriority, java.lang.Class<? extends ConflictRule> conflictRuleType, java.lang.String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs, Length conflictingVisibility, 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 LaneBasedGTU Modifier and Type Method Description doubleConstantTask. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns the gross task demand to be managed by a task manager.doubleExponentialTask. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns the gross task demand to be managed by a task manager.doubleTask. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns the gross task demand to be managed by a task manager.doubleTaskHeadwayBased. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns the gross task demand to be managed by a task manager.doubleTaskRoadSideDistraction. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns the gross task demand to be managed by a task manager.doubleTaskLaneChanging.LateralConsideration. getConsideration(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns fraction of lateral consideration, <0 for left lane, >0 for right lane.protected DurationTaskCarFollowing. getHeadway(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns a collector for the task demand.protected abstract DurationTaskHeadwayBased. getHeadway(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns a collector for the task demand.protected DurationTaskLaneChanging. getHeadway(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Returns a collector for the task demand.voidTaskManager. manage(java.util.Set<Task> tasks, LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Manage tasks.voidTaskManager.SummativeTaskManager. manage(java.util.Set<Task> tasks, LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Manage tasks. -
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.voidStochasticDistractionModel. startDistraction(LaneBasedGTU gtu, Distraction distraction, boolean scheduleNext)Start a distraction.voidStochasticDistractionModel. stopDistraction(LaneBasedGTU gtu, Task task)Stops a distraction task. -
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 static LaneBasedOperationalPlanLaneOperationalPlanBuilder. buildAccelerationLaneChangePlan(LaneBasedGTU gtu, LateralDirectionality laneChangeDirectionality, DirectedPoint startPosition, Time startTime, Speed startSpeed, Acceleration acceleration, Duration timeStep, LaneChange laneChange)Build a plan with a path and a given start speed to try to reach a provided end speed.static LaneBasedOperationalPlanLaneOperationalPlanBuilder. buildAccelerationPlan(LaneBasedGTU gtu, Time startTime, Speed startSpeed, Acceleration acceleration, Duration timeStep, boolean deviative)Build a plan with a path and a given start speed to try to reach a provided end speed.static LaneBasedOperationalPlanLaneOperationalPlanBuilder. buildGradualAccelerationPlan(LaneBasedGTU gtu, Length distance, Time startTime, Speed startSpeed, Speed endSpeed)Build a plan with a path and a given start speed to reach a provided end speed, exactly at the end of the curve.static LaneBasedOperationalPlanLaneOperationalPlanBuilder. buildGradualAccelerationPlan(LaneBasedGTU gtu, Length distance, Time startTime, Speed startSpeed, Speed endSpeed, Acceleration maxAcceleration, Acceleration maxDeceleration)Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the end of the curve.static LaneBasedOperationalPlanLaneOperationalPlanBuilder. buildMaximumAccelerationPlan(LaneBasedGTU gtu, Length distance, Time startTime, Speed startSpeed, Speed endSpeed, Acceleration acceleration, Acceleration deceleration)Build a plan with a path and a given start speed to try to reach a provided end speed.static LaneBasedOperationalPlanLaneOperationalPlanBuilder. buildPlanFromSimplePlan(LaneBasedGTU gtu, Time startTime, SimpleOperationalPlan simplePlan, LaneChange laneChange)Build an operational plan based on a simple operational plan and status info.static LaneBasedOperationalPlanLaneOperationalPlanBuilder. buildStopPlan(LaneBasedGTU gtu, Length distance, Time startTime, Speed startSpeed, Acceleration deceleration)Build a plan with a path and a given start speed to try to come to a stop with a given deceleration.booleanLaneChange. checkRoom(LaneBasedGTU gtu, Headway headway)Checks whether the given GTU has sufficient space relative to aHeadway.static OTSLine3DLaneOperationalPlanBuilder. createPathAlongCenterLine(LaneBasedGTU gtu, Length distance)Creates a path along lane center lines.LengthLaneBasedOperationalPlan. getDistanceAlongLane(LaneBasedGTU gtu, DirectedPoint point)Returns the distance along the reference lane that the GTU travels from the current location up to the point.OTSLine3DLaneChange. getPath(Duration timeStep, LaneBasedGTU gtu, DirectedLanePosition from, DirectedPoint startPosition, Length planDistance, LateralDirectionality laneChangeDirection)Returns the path for a lane change.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.static voidLaneOperationalPlanBuilder. scheduleLaneChangeFinalization(LaneBasedGTU gtu, Length distance, LateralDirectionality laneChangeDirection)Schedules a lane change finalization after the given distance is covered.voidSimpleOperationalPlan. setTurnIndicator(LaneBasedGTU gtu)Constructors in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type LaneBasedGTU Constructor Description LaneBasedOperationalPlan(LaneBasedGTU gtu, DirectedPoint waitPoint, Time startTime, Duration duration, boolean deviative)Build a plan where the GTU will wait for a certain time.LaneBasedOperationalPlan(LaneBasedGTU gtu, OTSLine3D path, Time startTime, Speed startSpeed, java.util.List<OperationalPlan.Segment> operationalPlanSegmentList, 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 LaneBasedGTU Modifier and Type Method Description LaneBasedGTUAbstractLaneBasedTacticalPlanner. getGtu()Methods in org.opentrafficsim.road.gtu.lane.tactical with parameters of type LaneBasedGTU Modifier and Type Method Description static LanePathInfoAbstractLaneBasedTacticalPlanner. buildLanePathInfo(LaneBasedGTU gtu, Length maxHeadway)Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.static LanePathInfoAbstractLaneBasedTacticalPlanner. buildLanePathInfo(LaneBasedGTU gtu, Length maxHeadway, Lane startLane, Length position, GTUDirectionality startDirectionality)Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.protected static java.util.List<LinkDirection>AbstractLaneBasedTacticalPlanner. buildLinkListForward(LaneBasedGTU gtu, 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 booleanAbstractLaneBasedTacticalPlanner. connectsToPath(LaneBasedGTU gtu, Length maxHeadway, Lane startLane, Length startLanePosition, GTUDirectionality startDirectionality, 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?LaneBasedCFLCTacticalPlannerLaneBasedCFLCTacticalPlannerFactory. create(LaneBasedGTU gtu)Creates a new tactical planner for the given GTU.LaneBasedGTUFollowingDirectedChangeTacticalPlannerLaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory. create(LaneBasedGTU gtu)Creates a new tactical planner for the given GTU.LaneBasedGTUFollowingTacticalPlannerLaneBasedGTUFollowingTacticalPlannerFactory. create(LaneBasedGTU gtu)Creates a new tactical planner for the given GTU.TLaneBasedTacticalPlannerFactory. create(LaneBasedGTU gtu)Creates a new tactical planner for the given GTU.static NextSplitInfoAbstractLaneBasedTacticalPlanner. determineNextSplit(LaneBasedGTU gtu, Length maxHeadway)Calculate the next location where the network splits, with a maximum headway relative to the reference point of the GTU.protected CarFollowingModelAbstractLaneBasedTacticalPlannerFactory. nextCarFollowingModel(LaneBasedGTU gtu)Returns the next car following model.protected static booleanAbstractLaneBasedTacticalPlanner. noLaneDrop(LaneBasedGTU gtu, Length maxHeadway, Lane startLane, Length startLanePosition, GTUDirectionality startDirectionality)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 LaneBasedGTU Constructor Description AbstractLaneBasedTacticalPlanner(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.LaneBasedGTUFollowingDirectedChangeTacticalPlanner(GTUFollowingModelOld carFollowingModel, LaneBasedGTU gtu)Instantiated a tactical planner with just GTU following behavior and no lane changes.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 LaneBasedGTU Modifier and Type Method Description DirectedLaneMovementStepAbstractDirectedLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGTU gtu, LateralDirectionality direction, java.util.Collection<Headway> sameLaneGTUs, java.util.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, java.util.Collection<Headway> sameLaneTraffic, java.util.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, java.util.Collection<Headway> sameLaneTraffic, java.util.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, java.util.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, java.util.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.DualAccelerationStepGTUFollowingModelOld. computeDualAccelerationStep(LaneBasedGTU gtu, java.util.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, java.util.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.voidAbstractCarFollowingModel. init(LaneBasedGTU gtu)Initialize car-following model.default voidCarFollowingModel. init(LaneBasedGTU gtu)Initialize car-following model.voidInitialisable. 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 LaneBasedGTU Modifier and Type Method Description LaneMovementStepAbstractLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGTU gtu, java.util.Collection<Headway> sameLaneGTUs, java.util.Collection<Headway> preferredLaneGTUs, java.util.Collection<Headway> nonPreferredLaneGTUs, Speed speedLimit, Acceleration preferredLaneRouteIncentive, Acceleration laneChangeThreshold, Acceleration nonPreferredLaneRouteIncentive)Compute the acceleration and lane change.LaneMovementStepFixedLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGTU gtu, java.util.Collection<Headway> sameLaneTraffic, java.util.Collection<Headway> rightLaneTraffic, java.util.Collection<Headway> leftLaneTraffic, Speed speedLimit, Acceleration preferredLaneRouteIncentive, Acceleration laneChangeThreshold, Acceleration nonPreferredLaneRouteIncentive)Compute the acceleration and lane change.LaneMovementStepLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGTU gtu, java.util.Collection<Headway> sameLaneTraffic, java.util.Collection<Headway> rightLaneTraffic, java.util.Collection<Headway> leftLaneTraffic, Speed speedLimit, Acceleration preferredLaneRouteIncentive, Acceleration laneChangeThreshold, 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 LaneBasedGTU Modifier and Type Method Description voidAccelerationBusStop. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)Determine acceleration.voidAccelerationConflicts. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)Determine acceleration.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)Determine acceleration.voidAccelerationSpeedLimitTransition. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)Determine acceleration.voidAccelerationTrafficLights. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)Determine acceleration.LMRSLMRSFactory. create(LaneBasedGTU gtu)Creates a new tactical planner for the given GTU.LanePerceptionDefaultLMRSPerceptionFactory. generatePerception(LaneBasedGTU gtu)Generate perception.voidSocioDesiredSpeed. init(LaneBasedGTU laneBasedGtu)Initialize car-following model.default <T extends HeadwayLaneBasedObject>
java.lang.Iterable<T>AccelerationIncentive. onRoute(java.lang.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 LaneBasedGTU Constructor Description AbstractIncentivesTacticalPlanner(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.steering
Constructors in org.opentrafficsim.road.gtu.lane.tactical.steering with parameters of type LaneBasedGTU Constructor Description SteeringLmrs(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Steering.FeedbackTable feedbackTable)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 LaneBasedGTU Modifier and Type Method Description ToledoToledoFactory. create(LaneBasedGTU gtu)Creates a new tactical planner for the given GTU.Constructors in org.opentrafficsim.road.gtu.lane.tactical.toledo with parameters of type LaneBasedGTU Constructor Description Toledo(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 LaneBasedGTU Modifier and Type Method Description static AccelerationConflictUtil. approachConflicts(Parameters parameters, java.lang.Iterable<HeadwayConflict> conflicts, PerceptionCollectable<HeadwayGTU,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 OperationalPlanSteering. fromReferencePlan(LaneBasedGTU gtu, Parameters params, Steering.SteeringState steeringState, OperationalPlan referencePlan, Steering.FeedbackTable feedbackTable)Translates a reference trajectory in to steering angles and a resulting trajectory.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, java.lang.Iterable<HeadwayConflict> conflicts, PerceptionCollectable<HeadwayGTU,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(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,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(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Speed speed, Length vehicleLength, Parameters parameters, Length prevEnd)Approach a priority conflict.static booleanConflictUtil. stopForStopConflict(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,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<HeadwayGTU,LaneBasedGTU>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<HeadwayGTU,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.Methods in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with parameters of type LaneBasedGTU Modifier and Type Method Description static SimpleOperationalPlanLmrsUtil. determinePlan(LaneBasedGTU gtu, Time startTime, CarFollowingModel carFollowingModel, LaneChange laneChange, LmrsData lmrsData, LanePerception perception, java.lang.Iterable<MandatoryIncentive> mandatoryIncentives, java.lang.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 LaneBasedGTU Modifier and Type Method Description static HeadwayGTUSynchronization. getFollower(HeadwayGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, HeadwayGTU follower, Length ownLength)Returns the upstream gtu of the given gtu.static PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Synchronization. removeAllUpstreamOfConflicts(PerceptionCollectable<HeadwayGTU,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 LaneBasedGTUAbstractLaneBasedStrategicalPlanner. getGtu()LaneBasedGTULaneBasedStrategicalPlanner. getGtu()Methods in org.opentrafficsim.road.gtu.strategical with parameters of type LaneBasedGTU Modifier and Type Method Description TLaneBasedStrategicalPlannerFactory. create(LaneBasedGTU gtu, Route route, Node origin, Node destination)Creates a new strategical planner for the given GTU.protected LaneBasedTacticalPlannerAbstractLaneBasedStrategicalPlannerFactory. nextTacticalPlanner(LaneBasedGTU gtu)Returns the next tactical planner.Constructors in org.opentrafficsim.road.gtu.strategical with parameters of type LaneBasedGTU Constructor Description AbstractLaneBasedStrategicalPlanner(LaneBasedGTU gtu)LaneBasedStrategicalPlannerNone(LaneBasedGTU gtu)Constructor. -
Uses of LaneBasedGTU in org.opentrafficsim.road.gtu.strategical.route
Methods in org.opentrafficsim.road.gtu.strategical.route with parameters of type LaneBasedGTU Modifier and Type Method Description LaneBasedStrategicalPlannerLaneBasedStrategicalRoutePlannerFactory. create(LaneBasedGTU gtu, Route route, Node origin, Node destination)Creates a new strategical planner for the given GTU.Constructors in org.opentrafficsim.road.gtu.strategical.route with parameters of type LaneBasedGTU Constructor Description LaneBasedStrategicalRoutePlanner(LaneBasedTacticalPlanner fixedTacticalPlanner, Route route, LaneBasedGTU gtu, Node origin, Node destination)Constructor for a strategical planner with route.LaneBasedStrategicalRoutePlanner(LaneBasedTacticalPlanner fixedTacticalPlanner, Route route, LaneBasedGTU gtu, Node origin, Node destination, RouteGeneratorOD routeGenerator)Constructor for a strategical planner with route.LaneBasedStrategicalRoutePlanner(LaneBasedTacticalPlanner fixedTacticalPlanner, LaneBasedGTU gtu)Constructor for a strategical planner without route.LaneBasedStrategicalRoutePlanner(LaneBasedTacticalPlanner fixedTacticalPlanner, LaneBasedGTU gtu, Node origin, Node destination, RouteGeneratorOD routeGenerator)Constructor for a strategical planner with route generator. -
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)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.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()java.util.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.java.util.Set<LaneDirection>LaneDirection. getNextForRoute(LaneBasedGTU gtu)Returns a set ofLaneDirection's that can be followed considering the route.LaneDirectionLaneDirection. getNextLaneDirection(LaneBasedGTU gtu)Returns the next lane and direction.intLane. indexOfGtu(LaneBasedGTU gtu)Returns the index of the given GTU, or -1 if not present.intLane. indexOfGtu(LaneBasedGTU gtu, Time time)Returns the index of the given GTU, or -1 if not present, at specified time.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)Schedule triggering of the sensors 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 LaneBasedGTU Modifier and Type Method Description PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Conflict. getDownstreamGtus(LaneBasedGTU perceivingGtu, HeadwayGtuType headwayGtuType, Length visibility)Provides the downstream GTUs.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Conflict. getUpstreamGtus(LaneBasedGTU perceivingGtu, HeadwayGtuType headwayGtuType, Length visibility)Provides the upstream GTUs.Methods in org.opentrafficsim.road.network.lane.conflict with parameters of type LaneBasedGTU Modifier and Type Method Description PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Conflict. getDownstreamGtus(LaneBasedGTU perceivingGtu, HeadwayGtuType headwayGtuType, Length visibility)Provides the downstream GTUs.PerceptionCollectable<HeadwayGTU,LaneBasedGTU>Conflict. getUpstreamGtus(LaneBasedGTU perceivingGtu, HeadwayGtuType 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. -
Uses of LaneBasedGTU in org.opentrafficsim.road.network.sampling
Methods in org.opentrafficsim.road.network.sampling that return LaneBasedGTU Modifier and Type Method Description LaneBasedGTUGtuData. getGtu()Methods in org.opentrafficsim.road.network.sampling with parameters of type LaneBasedGTU Modifier and Type Method Description voidRoadSampler. notifySample(LaneBasedGTU gtu, LaneDirection laneDirection)Samples a gtu and schedules the next sampling event.Constructors in org.opentrafficsim.road.network.sampling with parameters of type LaneBasedGTU Constructor Description GtuData(LaneBasedGTU gtu)