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.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-2019 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-2019 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.changing |
Lane change possibility models.
|
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.sampling |
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLaneBasedGTU
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 support
|
Modifier and Type | Method and Description |
---|---|
Acceleration |
VehicleModel.boundAcceleration(Acceleration acceleration,
LaneBasedGTU gtu)
Returns a bounded acceleration.
|
Acceleration |
VehicleModel.MassBased.boundAcceleration(Acceleration acceleration,
LaneBasedGTU gtu)
Returns a bounded acceleration.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
LanePerception.getGtu() |
Modifier and Type | Method and Description |
---|---|
LanePerception |
PerceptionFactory.generatePerception(LaneBasedGTU gtu)
Generate perception.
|
protected Length |
UpstreamNeighborsIterable.getDistance(LaneBasedGTU object,
LaneRecord<?> record,
Length position)
Returns the distance to the object.
|
protected Length |
DownstreamNeighborsIterable.getDistance(LaneBasedGTU object,
LaneRecord<?> record,
Length position)
Returns the distance to the object.
|
<T extends LaneBasedObject> |
RollingLaneStructure.getDownstreamObjects(Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos)
Retrieve objects of a specific type.
|
<T extends LaneBasedObject> |
LaneStructure.getDownstreamObjects(Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos)
Retrieve objects of a specific type.
|
<T extends LaneBasedObject> |
RollingLaneStructure.getDownstreamObjects(RelativeLane lane,
Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.
|
<T extends LaneBasedObject> |
LaneStructure.getDownstreamObjects(RelativeLane lane,
Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.
|
<T extends LaneBasedObject> |
RollingLaneStructure.getDownstreamObjectsOnRoute(Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos,
Route route)
Retrieve objects of a specific type.
|
<T extends LaneBasedObject> |
LaneStructure.getDownstreamObjectsOnRoute(Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos,
Route route)
Retrieve objects of a specific type.
|
<T extends LaneBasedObject> |
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> |
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> |
RollingLaneStructure.getUpstreamObjects(RelativeLane lane,
Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.
|
<T extends LaneBasedObject> |
LaneStructure.getUpstreamObjects(RelativeLane lane,
Class<T> clazz,
LaneBasedGTU gtu,
RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.
|
HeadwayGTU |
UpstreamNeighborsIterable.perceive(LaneBasedGTU perceivingGtu,
LaneBasedGTU 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.
|
protected abstract H |
AbstractPerceptionReiterable.perceive(LaneBasedGTU perceivingGtu,
U object,
Length distance)
Returns a perceived version of the underlying object.
|
Modifier and Type | Method and Description |
---|---|
<C,I> C |
SortedSetPerceptionIterable.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.
|
Constructor and 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,
GTU gtu,
RelativeLane lane,
boolean ignoreIfUpstream)
Constructor.
|
LaneBasedObjectIterable(LaneBasedGTU perceivingGtu,
Class<L> clazz,
LaneRecord<?> root,
Length initialPosition,
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.
|
Modifier and Type | Method and Description |
---|---|
PerceptionCollectable.PerceptionAccumulator<LaneBasedGTU,AnticipationSpeed.SpeedSet> |
AnticipationSpeed.getAccumulator()
Returns the accumulator.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
NeighborsUtil.DistanceGTU.getGTU()
Returns the GTU.
|
Modifier and Type | Method and Description |
---|---|
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> |
HistoricalNeighborsPerception.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> |
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> |
DelayedNeighborsPerception.getFollowers(RelativeLane lane)
Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
static AbstractDelayedNeighborsPerception.NeighborsInfoType<PerceptionCollectable<HeadwayGTU,LaneBasedGTU>> |
AbstractDelayedNeighborsPerception.NeighborsInfoType.getIterableType(String id)
Returns a (cached) info type for a sorted set of GTU's.
|
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.
|
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> |
HistoricalNeighborsPerception.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> |
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> |
DelayedNeighborsPerception.getLeaders(RelativeLane lane)
Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
TimeStampedObject<PerceptionCollectable<HeadwayGTU,LaneBasedGTU>> |
DirectNeighborsPerception.getTimeStampedFollowers(RelativeLane lane)
Set of followers on a lane, including adjacent GTU's who's REAR is back of the own vehicle REAR.
|
TimeStampedObject<PerceptionCollectable<HeadwayGTU,LaneBasedGTU>> |
DirectNeighborsPerception.getTimeStampedLeaders(RelativeLane lane)
Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
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.
|
Anticipation.NeighborTriplet |
Estimation.estimate(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
Length distance,
boolean downstream,
Time when)
Estimate headway, speed and acceleration.
|
static SortedSet<HeadwayGTU> |
NeighborsUtil.perceive(SortedSet<NeighborsUtil.DistanceGTU> base,
HeadwayGtuType headwayGtuType,
LaneBasedGTU perceivingGtu,
boolean downstream)
Translation from a set of
DistanceGTU 's, to a sorted set of HeadwayGTU 's. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Constructor and 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 and 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)
Constructor without stop lines.
|
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)
Constructor without stop lines.
|
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)
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,
HeadwayStopLine stopLine,
HeadwayStopLine conflictingStopLine)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PerceptionCollectable.PerceptionAccumulator<LaneBasedGTU,Duration> |
TaskHeadwayBased.TaskHeadwayCollector.getAccumulator()
Returns the accumulator.
|
Modifier and Type | Method and Description |
---|---|
double |
TaskRoadSideDistraction.demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
double |
TaskHeadwayBased.demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
double |
Fuller.Task.demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
double |
Fuller.Task.Constant.demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
double |
Fuller.Task.Exponential.demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
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 |
TaskLaneChanging.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 |
TaskCarFollowing.getHeadway(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns a collector for the task demand.
|
Modifier and Type | Method and Description |
---|---|
Fuller.Task |
TaskSupplier.getTask(LaneBasedGTU gtu)
Returns a task for the given GTU.
|
Fuller.Task |
TaskSupplier.Constant.getTask(LaneBasedGTU gtu)
Returns a task for the given GTU.
|
Fuller.Task |
Distraction.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,
Fuller.Task task)
Stops a distraction task.
|
Modifier and Type | Method and 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)
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.
|
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) |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
AbstractLaneBasedTacticalPlanner.getGtu() |
Modifier and Type | Method and 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?
|
T |
LaneBasedTacticalPlannerFactory.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.
|
LaneBasedGTUFollowingDirectedChangeTacticalPlanner |
LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
LaneBasedCFLCTacticalPlanner |
LaneBasedCFLCTacticalPlannerFactory.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?
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
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 |
AbstractGTUFollowingModelMobil.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.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.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)
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.
|
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.
|
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 |
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 |
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. |
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. |
void |
Initialisable.init(LaneBasedGTU gtu)
Initialize car-following model.
|
default void |
CarFollowingModel.init(LaneBasedGTU gtu)
Initialize car-following model.
|
void |
AbstractCarFollowingModel.init(LaneBasedGTU gtu)
Initialize car-following model.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
AccelerationTrafficLights.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
Speed speed,
Parameters params,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationSpeedLimitTransition.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
Speed speed,
Parameters params,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationNoRightOvertake.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
Speed speed,
Parameters params,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationIncentive.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
Speed speed,
Parameters params,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationConflicts.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
Speed speed,
Parameters params,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationBusStop.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
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.
|
Constructor and Description |
---|
LMRS(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception,
Synchronization synchronization,
Cooperation cooperation,
GapAcceptance gapAcceptance,
Tailgating tailGating)
Constructor setting the car-following model.
|
Constructor and Description |
---|
SteeringLmrs(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception,
Synchronization synchronization,
Cooperation cooperation,
GapAcceptance gapAcceptance,
Steering.FeedbackTable feedbackTable)
Constructor setting the car-following model.
|
Modifier and Type | Method and Description |
---|---|
Toledo |
ToledoFactory.create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
Constructor and Description |
---|
Toledo(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Acceleration |
ConflictUtil.approachConflicts(Parameters parameters,
PerceptionCollectable<HeadwayConflict,Conflict> conflicts,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders,
CarFollowingModel carFollowingModel,
Length vehicleLength,
Length vehicleWidth,
Speed speed,
Acceleration acceleration,
SpeedLimitInfo speedLimitInfo,
ConflictUtil.ConflictPlans conflictPlans,
LaneBasedGTU gtu)
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.
|
Modifier and Type | Method and Description |
---|---|
static Acceleration |
ConflictUtil.approachConflicts(Parameters parameters,
PerceptionCollectable<HeadwayConflict,Conflict> conflicts,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders,
CarFollowingModel carFollowingModel,
Length vehicleLength,
Length vehicleWidth,
Speed speed,
Acceleration acceleration,
SpeedLimitInfo speedLimitInfo,
ConflictUtil.ConflictPlans conflictPlans,
LaneBasedGTU gtu)
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)
Approach a give-way conflict.
|
static boolean |
ConflictUtil.stopForPriorityConflict(HeadwayConflict conflict,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders,
Speed speed,
Length vehicleLength,
Parameters parameters,
ConflictUtil.ConflictPlans yieldPlans)
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)
Approach a stop conflict.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static SimpleOperationalPlan |
LmrsUtil.determinePlan(LaneBasedGTU gtu,
Time startTime,
CarFollowingModel carFollowingModel,
LaneChange laneChange,
LmrsData lmrsData,
LanePerception perception,
LinkedHashSet<MandatoryIncentive> mandatoryIncentives,
LinkedHashSet<VoluntaryIncentive> voluntaryIncentives)
Determines a simple representation of an operational plan.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
LaneBasedStrategicalPlanner.getGtu() |
LaneBasedGTU |
AbstractLaneBasedStrategicalPlanner.getGtu() |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
AbstractLaneBasedStrategicalPlanner(LaneBasedGTU gtu) |
LaneBasedStrategicalPlannerNone(LaneBasedGTU gtu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedStrategicalPlanner |
LaneBasedStrategicalRoutePlannerFactory.create(LaneBasedGTU gtu,
Route route,
Node origin,
Node destination)
Creates a new strategical planner for the given GTU.
|
Constructor and Description |
---|
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.
|
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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList<LaneBasedGTU> |
Lane.getGtuList() |
List<LaneBasedGTU> |
Lane.getGtuList(Time time)
Returns the list of GTU's at the specified time.
|
Modifier and Type | Method and 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
OvertakingDirection |
OvertakingConditions.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leaderGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.None.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAndRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneLeft.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneBoth.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAlwaysRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightAlwaysLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leaderGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leaderGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSetRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSetLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 |
SingleSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
void |
AbstractSensor.trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
void |
SinkSensor.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.
|
protected void |
Detector.triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.
|
protected abstract void |
AbstractSensor.triggerResponse(LaneBasedGTU gtu)
Implementation of the response to a trigger of this sensor by a GTU.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTU |
GtuData.getGtu() |
Modifier and Type | Method and Description |
---|---|
void |
RoadSampler.notifySample(LaneBasedGTU gtu,
LaneDirection laneDirection)
Samples a gtu and schedules the next sampling event.
|
Constructor and Description |
---|
GtuData(LaneBasedGTU gtu) |
Copyright © 2014–2019 Delft University of Technology. All rights reserved.