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 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 class
AbstractLaneBasedGTU
This class contains most of the code that is needed to run a lane based GTU.class
AbstractLaneBasedGTU2
This class contains most of the code that is needed to run a lane based GTU.class
AbstractLaneBasedIndividualGTU
Specific type of LaneBasedGTU.class
LaneBasedIndividualGTU
Augments the AbstractLaneBasedIndividualGTU with a LaneBasedIndividualCarBuilder and animation supportMethods in org.opentrafficsim.road.gtu.lane with parameters of type LaneBasedGTU Modifier and Type Method Description Acceleration
VehicleModel. boundAcceleration(Acceleration acceleration, LaneBasedGTU gtu)
Returns a bounded acceleration.Acceleration
VehicleModel.MassBased. boundAcceleration(Acceleration acceleration, LaneBasedGTU gtu)
Returns a bounded acceleration.abstract void
AbstractLaneBasedMoveChecker. checkMove(LaneBasedGTU gtu)
Check the move of the given GTU.void
AccelerationChecker. checkMove(LaneBasedGTU gtu)
Check the move of the given GTU.void
CollisionDetector. checkMove(LaneBasedGTU gtu)
Check the move of the given GTU.void
MultiLaneBasedMoveChecker. 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 Acceleration
AbstractActuatedControl. delayActuation(Acceleration desiredAcceleration, LaneBasedGTU gtu)
Delays the actuation of acceleration.Acceleration
DelayedActuation. delayActuation(Acceleration desiredAcceleration, LaneBasedGTU gtu)
Delays the actuation of acceleration.Acceleration
AbstractActuatedControl. getAcceleration(LaneBasedGTU gtu, Parameters settings)
Calculate acceleration.Acceleration
LongitudinalControl. getAcceleration(LaneBasedGTU gtu, Parameters settings)
Calculate acceleration.abstract Acceleration
AbstractActuatedControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the desired acceleration from the longitudinal control.Acceleration
AbstractLinearFreeControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the desired acceleration from the longitudinal control.abstract Acceleration
AbstractLinearFreeControl. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
LinearACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
LinearCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
PloegACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
PloegCACC. 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 Acceleration
AbstractActuatedControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the desired acceleration from the longitudinal control.Acceleration
AbstractLinearFreeControl. getDesiredAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the desired acceleration from the longitudinal control.abstract Acceleration
AbstractLinearFreeControl. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
LinearACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
LinearCACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
PloegACC. getFollowingAcceleration(LaneBasedGTU gtu, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Parameters settings)
Returns the following acceleration of the longitudinal control.Acceleration
PloegCACC. 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 LaneBasedGTU
AbstractPerceptionReiterable. getGtu()
Returns the GTU.LaneBasedGTU
LanePerception. getGtu()
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 LanePerception
PerceptionFactory. generatePerception(LaneBasedGTU gtu)
Generate perception.protected Length
DownstreamNeighborsIterable. getDistance(LaneBasedGTU object, LaneRecord<?> record, Length position)
Returns the distance to the object.protected Length
UpstreamNeighborsIterable. 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.protected abstract H
AbstractPerceptionReiterable. perceive(LaneBasedGTU perceivingGtu, U object, Length distance)
Returns a perceived version of the underlying object.HeadwayGTU
DownstreamNeighborsIterable. perceive(LaneBasedGTU perceivingGtu, LaneBasedGTU object, Length distance)
Returns a perceived version of the underlying object.H
MultiLanePerceptionIterable. perceive(LaneBasedGTU perceivingGtu, U object, Length distance)
Returns a perceived version of the underlying object.HeadwayGTU
UpstreamNeighborsIterable. perceive(LaneBasedGTU perceivingGtu, LaneBasedGTU object, Length distance)
Returns a perceived version of the underlying object.static String
RollingLaneStructure. 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.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, 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 LaneBasedGTU
NeighborsUtil.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 HeadwayGTU
DefaultCaccSensors. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)
Creates a headway object from a GTU, downstream.HeadwayGTU
HeadwayGtuType. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)
Creates a headway object from a GTU, downstream.HeadwayGTU
HeadwayGtuType.PerceivedHeadwayGtuType. createDownstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)
Creates a headway object from a GTU, downstream.default HeadwayGTU
HeadwayGtuType. createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream)
Creates a headway object from a GTU, downstream or upstream.HeadwayGTU
HeadwayGtuType.PerceivedHeadwayGtuType. createHeadwayGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream)
Creates a headway object from a GTU, downstream or upstream.HeadwayGTU
DefaultCaccSensors. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)
Creates a headway object from a GTU, parallel.HeadwayGTU
HeadwayGtuType. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)
Creates a headway object from a GTU, parallel.HeadwayGTU
HeadwayGtuType.PerceivedHeadwayGtuType. createParallelGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length overlapFront, Length overlap, Length overlapRear)
Creates a headway object from a GTU, parallel.HeadwayGTU
DefaultCaccSensors. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)
Creates a headway object from a GTU, downstream.HeadwayGTU
HeadwayGtuType. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)
Creates a headway object from a GTU, downstream.HeadwayGTU
HeadwayGtuType.PerceivedHeadwayGtuType. createUpstreamGtu(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance)
Creates a headway object from a GTU, downstream.NeighborTriplet
Estimation. estimate(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when)
Estimate headway, speed and acceleration.NeighborTriplet
Estimation.FactorEstimation. estimate(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when)
Estimate headway, speed and acceleration.default Length
Estimation. getDelayedHeadway(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when)
Returns a delayed headway.default Speed
Estimation. getDelayedSpeedDifference(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Time when)
Returns a delayed speed difference (other minus ego).default Speed
Estimation. getEgoSpeed(LaneBasedGTU perceivingGtu)
Returns the ego speed.static SortedSet<HeadwayGTU>
NeighborsUtil. perceive(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 SpeedLimitInfo
AbstractHeadwayGTU. getSpeedLimitInfo(LaneBasedGTU gtu)
Creates speed limit info for given GTU.Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type 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, Class<? extends ConflictRule> conflictRuleType, 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, Class<? extends ConflictRule> conflictRuleType, 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 double
ConstantTask. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns the gross task demand to be managed by a task manager.double
ExponentialTask. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns the gross task demand to be managed by a task manager.double
Task. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns the gross task demand to be managed by a task manager.double
TaskHeadwayBased. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns the gross task demand to be managed by a task manager.double
TaskRoadSideDistraction. calculateTaskDemand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns the gross task demand to be managed by a task manager.double
TaskLaneChanging.LateralConsideration. getConsideration(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns fraction of lateral consideration, <0 for left lane, >0 for right lane.protected Duration
TaskCarFollowing. getHeadway(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns a collector for the task demand.protected abstract Duration
TaskHeadwayBased. getHeadway(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns a collector for the task demand.protected Duration
TaskLaneChanging. getHeadway(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Returns a collector for the task demand.void
TaskManager. manage(Set<Task> tasks, LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
Manage tasks.void
TaskManager.SummativeTaskManager. manage(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 Task
Distraction. getTask(LaneBasedGTU gtu)
Returns a task for the given GTU.Task
TaskSupplier.Constant. getTask(LaneBasedGTU gtu)
Returns a task for the given GTU.Task
TaskSupplier. getTask(LaneBasedGTU gtu)
Returns a task for the given GTU.void
StochasticDistractionModel. startDistraction(LaneBasedGTU gtu, Distraction distraction, boolean scheduleNext)
Start a distraction.void
StochasticDistractionModel. stopDistraction(LaneBasedGTU gtu, Task task)
Stops a distraction task. -
Uses of LaneBasedGTU in org.opentrafficsim.road.gtu.lane.plan.operational
Methods in org.opentrafficsim.road.gtu.lane.plan.operational with parameters of type LaneBasedGTU Modifier and Type Method Description static LaneBasedOperationalPlan
LaneOperationalPlanBuilder. 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 LaneBasedOperationalPlan
LaneOperationalPlanBuilder. 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 LaneBasedOperationalPlan
LaneOperationalPlanBuilder. 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 LaneBasedOperationalPlan
LaneOperationalPlanBuilder. 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 LaneBasedOperationalPlan
LaneOperationalPlanBuilder. 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 LaneBasedOperationalPlan
LaneOperationalPlanBuilder. buildPlanFromSimplePlan(LaneBasedGTU gtu, Time startTime, SimpleOperationalPlan simplePlan, LaneChange laneChange)
Build an operational plan based on a simple operational plan and status info.static LaneBasedOperationalPlan
LaneOperationalPlanBuilder. 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.boolean
LaneChange. checkRoom(LaneBasedGTU gtu, Headway headway)
Checks whether the given GTU has sufficient space relative to aHeadway
.static OTSLine3D
LaneOperationalPlanBuilder. createPathAlongCenterLine(LaneBasedGTU gtu, Length distance)
Creates a path along lane center lines.Length
LaneBasedOperationalPlan. getDistanceAlongLane(LaneBasedGTU gtu, DirectedPoint point)
Returns the distance along the reference lane that the GTU travels from the current location up to the point.OTSLine3D
LaneChange. getPath(Duration timeStep, LaneBasedGTU gtu, DirectedLanePosition from, DirectedPoint startPosition, Length planDistance, LateralDirectionality laneChangeDirection)
Returns the path for a lane change.RelativeLane
LaneChange. getSecondLane(LaneBasedGTU gtu)
Second lane of lane change relative to the reference lane.Length
LaneBasedOperationalPlan. getTotalLengthAlongLane(LaneBasedGTU gtu)
Returns the total length along the reference lane that the GTU travels.static void
LaneOperationalPlanBuilder. scheduleLaneChangeFinalization(LaneBasedGTU gtu, Length distance, LateralDirectionality laneChangeDirection)
Schedules a lane change finalization after the given distance is covered.void
SimpleOperationalPlan. 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, 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 LaneBasedGTU
AbstractLaneBasedTacticalPlanner. getGtu()
Methods in org.opentrafficsim.road.gtu.lane.tactical with parameters of type LaneBasedGTU Modifier and Type Method Description static LanePathInfo
AbstractLaneBasedTacticalPlanner. buildLanePathInfo(LaneBasedGTU gtu, Length maxHeadway)
Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.static LanePathInfo
AbstractLaneBasedTacticalPlanner. buildLanePathInfo(LaneBasedGTU gtu, 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 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 boolean
AbstractLaneBasedTacticalPlanner. 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?LaneBasedCFLCTacticalPlanner
LaneBasedCFLCTacticalPlannerFactory. create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.LaneBasedGTUFollowingDirectedChangeTacticalPlanner
LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory. create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.LaneBasedGTUFollowingTacticalPlanner
LaneBasedGTUFollowingTacticalPlannerFactory. create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.T
LaneBasedTacticalPlannerFactory. create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.static NextSplitInfo
AbstractLaneBasedTacticalPlanner. 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 CarFollowingModel
AbstractLaneBasedTacticalPlannerFactory. nextCarFollowingModel(LaneBasedGTU gtu)
Returns the next car following model.protected static boolean
AbstractLaneBasedTacticalPlanner. 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 DirectedLaneMovementStep
AbstractDirectedLaneChangeModel. 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.DirectedLaneMovementStep
DirectedFixedLaneChangeModel. 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.DirectedLaneMovementStep
DirectedLaneChangeModel. 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 AccelerationStep
AbstractGTUFollowingModelMobil. computeAccelerationStep(LaneBasedGTU gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit)
Compute the acceleration that would be used to follow a leader.AccelerationStep
AbstractGTUFollowingModelMobil. computeAccelerationStep(LaneBasedGTU gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit, Duration stepSize)
Compute the acceleration that would be used to follow a leader.AccelerationStep
GTUFollowingModelOld. computeAccelerationStep(LaneBasedGTU gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit)
Compute the acceleration that would be used to follow a leader.AccelerationStep
GTUFollowingModelOld. computeAccelerationStep(LaneBasedGTU gtu, Speed leaderSpeed, Length headway, Length maxDistance, Speed speedLimit, Duration stepSize)
Compute the acceleration that would be used to follow a leader.AccelerationStep
AbstractGTUFollowingModelMobil. computeAccelerationStepWithNoLeader(LaneBasedGTU gtu, Length maxDistance, Speed speedLimit)
Compute the acceleration that would be used if the is not leader in sight.AccelerationStep
AbstractGTUFollowingModelMobil. computeAccelerationStepWithNoLeader(LaneBasedGTU gtu, Length maxDistance, Speed speedLimit, Duration stepSize)
Compute the acceleration that would be used if the is not leader in sight.AccelerationStep
GTUFollowingModelOld. computeAccelerationStepWithNoLeader(LaneBasedGTU gtu, Length maxDistance, Speed speedLimit)
Compute the acceleration that would be used if the is not leader in sight.AccelerationStep
GTUFollowingModelOld. computeAccelerationStepWithNoLeader(LaneBasedGTU gtu, Length maxDistance, Speed speedLimit, Duration stepSize)
Compute the acceleration that would be used if the is not leader in sight.DualAccelerationStep
AbstractGTUFollowingModelMobil. 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.DualAccelerationStep
AbstractGTUFollowingModelMobil. computeDualAccelerationStep(LaneBasedGTU referenceGTU, 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.DualAccelerationStep
GTUFollowingModelOld. 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.DualAccelerationStep
GTUFollowingModelOld. 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.void
AbstractCarFollowingModel. init(LaneBasedGTU gtu)
Initialize car-following model.default void
CarFollowingModel. init(LaneBasedGTU gtu)
Initialize car-following model.void
Initialisable. init(LaneBasedGTU gtu)
Initialize car-following model. -
Uses of LaneBasedGTU in org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil
Methods in org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil with parameters of type LaneBasedGTU Modifier and Type Method Description LaneMovementStep
AbstractLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGTU gtu, Collection<Headway> sameLaneGTUs, Collection<Headway> preferredLaneGTUs, Collection<Headway> nonPreferredLaneGTUs, Speed speedLimit, Acceleration preferredLaneRouteIncentive, Acceleration laneChangeThreshold, Acceleration nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.LaneMovementStep
FixedLaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGTU gtu, Collection<Headway> sameLaneTraffic, Collection<Headway> rightLaneTraffic, Collection<Headway> leftLaneTraffic, Speed speedLimit, Acceleration preferredLaneRouteIncentive, Acceleration laneChangeThreshold, Acceleration nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.LaneMovementStep
LaneChangeModel. computeLaneChangeAndAcceleration(LaneBasedGTU gtu, Collection<Headway> sameLaneTraffic, Collection<Headway> rightLaneTraffic, 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 void
AccelerationBusStop. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationConflicts. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationIncentive. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationNoRightOvertake. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationSpeedLimitTransition. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.void
AccelerationTrafficLights. accelerate(SimpleOperationalPlan simplePlan, RelativeLane lane, Length mergeDistance, LaneBasedGTU gtu, LanePerception perception, CarFollowingModel carFollowingModel, Speed speed, Parameters params, SpeedLimitInfo speedLimitInfo)
Determine acceleration.LMRS
LMRSFactory. create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.LanePerception
DefaultLMRSPerceptionFactory. generatePerception(LaneBasedGTU gtu)
Generate perception.void
SocioDesiredSpeed. init(LaneBasedGTU laneBasedGtu)
Initialize car-following model.default <T extends HeadwayLaneBasedObject>
Iterable<T>AccelerationIncentive. onRoute(Iterable<T> iterable, LaneBasedGTU gtu)
Returns an iterable with only those lane-based objects that are on the route, accounting for longitudinal direction of the GTU type.Constructors in org.opentrafficsim.road.gtu.lane.tactical.lmrs with parameters of type 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 Toledo
ToledoFactory. 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 Acceleration
ConflictUtil. approachConflicts(Parameters parameters, 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 OperationalPlan
Steering. 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 Acceleration
ConflictUtil. approachConflicts(Parameters parameters, 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 boolean
ConflictUtil. 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 boolean
ConflictUtil. stopForPriorityConflict(HeadwayConflict conflict, PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders, Speed speed, Length vehicleLength, Parameters parameters, Length prevEnd)
Approach a priority conflict.static boolean
ConflictUtil. 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 SimpleOperationalPlan
LmrsUtil. determinePlan(LaneBasedGTU gtu, Time startTime, CarFollowingModel carFollowingModel, LaneChange laneChange, LmrsData lmrsData, LanePerception perception, Iterable<MandatoryIncentive> mandatoryIncentives, Iterable<VoluntaryIncentive> voluntaryIncentives)
Determines a simple representation of an operational plan.Method parameters in org.opentrafficsim.road.gtu.lane.tactical.util.lmrs with type arguments of type LaneBasedGTU Modifier and Type Method Description static HeadwayGTU
Synchronization. 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 LaneBasedGTU
AbstractLaneBasedStrategicalPlanner. getGtu()
LaneBasedGTU
LaneBasedStrategicalPlanner. getGtu()
Methods in org.opentrafficsim.road.gtu.strategical with parameters of type LaneBasedGTU Modifier and Type Method Description T
LaneBasedStrategicalPlannerFactory. create(LaneBasedGTU gtu, Route route, Node origin, Node destination)
Creates a new strategical planner for the given GTU.protected LaneBasedTacticalPlanner
AbstractLaneBasedStrategicalPlannerFactory. 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 LaneBasedStrategicalPlanner
LaneBasedStrategicalRoutePlannerFactory. 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 LaneBasedGTU
Lane. getFirstGtu(GTUDirectionality direction)
Get the first GTU on the lane, relative to a driving direction on this lane.LaneBasedGTU
Lane. getGtu(int index)
Returns the index'th GTU.LaneBasedGTU
Lane. getGtu(int index, Time time)
Returns the index'th GTU at specified time.LaneBasedGTU
Lane. 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.LaneBasedGTU
Lane. 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.LaneBasedGTU
Lane. 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 int
Lane. addGTU(LaneBasedGTU gtu, double fractionalPosition)
Add a LaneBasedGTU to the list of this Lane.int
Lane. addGTU(LaneBasedGTU gtu, Length longitudinalPosition)
Add a LaneBasedGTU to the list of this Lane.LaneDirection
LaneDirection. getAdjacentLaneDirection(LateralDirectionality laneChangeDirection, LaneBasedGTU gtu)
Returns the adjacent lane and direction.Set<LaneDirection>
LaneDirection. getNextForRoute(LaneBasedGTU gtu)
Returns a set ofLaneDirection
's that can be followed considering the route.LaneDirection
LaneDirection. getNextLaneDirection(LaneBasedGTU gtu)
Returns the next lane and direction.int
Lane. indexOfGtu(LaneBasedGTU gtu)
Returns the index of the given GTU, or -1 if not present.int
Lane. indexOfGtu(LaneBasedGTU gtu, Time time)
Returns the index of the given GTU, or -1 if not present, at specified time.void
Lane. removeGTU(LaneBasedGTU gtu, boolean removeFromParentLink, Length position)
Remove a GTU from the GTU list of this lane.void
Lane. 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 C
Detector.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.PlatoonMeasurement
Detector.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.C
Detector.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.PlatoonMeasurement
Detector.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 void
TrafficLightSensor. addGTU(LaneBasedGTU gtu)
Add a GTU to the set.protected void
TrafficLightSensor. removeGTU(LaneBasedGTU gtu)
Remove a GTU from the set.void
TrafficLightSensor. signalDetection(FlankSensor sensor, LaneBasedGTU gtu)
One of our flank sensors has triggered.void
AbstractSensor. trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.void
SingleSensor. trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.protected abstract void
AbstractSensor. triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.void
DestinationSensor. triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.protected void
Detector. triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.void
SimpleReportingSensor. triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.void
SinkSensor. 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 void
FlankSensor. 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 LaneBasedGTU
GtuData. getGtu()
Methods in org.opentrafficsim.road.network.sampling with parameters of type LaneBasedGTU Modifier and Type Method Description void
RoadSampler. 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)
-