Package | Description |
---|---|
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.plan.operational |
Specific operational plan method for road-vehicles operating in a lane-based network.
|
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.toledo |
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
org.opentrafficsim.road.gtu.lane.tactical.util.lmrs |
LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner.
|
Modifier and Type | Field and Description |
---|---|
static RelativeLane |
RelativeLane.CURRENT
Current lane.
|
static RelativeLane |
RelativeLane.LEFT
Left lane.
|
static RelativeLane |
RelativeLane.RIGHT
right lane.
|
static RelativeLane |
RelativeLane.SECOND_LEFT
Second left lane.
|
static RelativeLane |
RelativeLane.SECOND_RIGHT
Second right lane.
|
Modifier and Type | Method and Description |
---|---|
RelativeLane |
RelativeLane.add(RelativeLane relativeLane)
Returns the relative lane relative to this lane, for example "the left lane" of "the 3rd right lane" is "the 2nd right
lane".
|
RelativeLane |
RelativeLane.getLeft()
Returns the left hand relative lane of this relative lane.
|
RelativeLane |
RelativeLane.getRight()
Returns the right hand relative lane of this relative lane.
|
Modifier and Type | Method and Description |
---|---|
TreeMap<RelativeLane,RollingLaneStructureRecord> |
RollingLaneStructure.AnimationAccess.getCrossSectionRecords() |
<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.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.
|
SortedSet<RelativeLane> |
RollingLaneStructure.getExtendedCrossSection()
Returns the extended cross-section, which includes all lanes for which a first record is present.
|
SortedSet<RelativeLane> |
LaneStructure.getExtendedCrossSection()
Returns the extended cross-section, which includes all lanes for which a first record is present.
|
Modifier and Type | Method and Description |
---|---|
RelativeLane |
RelativeLane.add(RelativeLane relativeLane)
Returns the relative lane relative to this lane, for example "the left lane" of "the 3rd right lane" is "the 2nd right
lane".
|
void |
MultiLanePerceptionIterable.addIterable(RelativeLane lane,
AbstractPerceptionReiterable<H,U> iterable)
Adds an iterable for a lane.
|
int |
RelativeLane.compareTo(RelativeLane rel) |
<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(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.
|
RollingLaneStructureRecord |
RollingLaneStructure.getFirstRecord(RelativeLane lane)
Returns the first record on the given lane.
|
LaneStructureRecord |
LaneStructure.getFirstRecord(RelativeLane lane)
Returns the first record on the given lane.
|
<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.
|
Constructor and Description |
---|
DownstreamNeighborsIterable(LaneBasedGTU perceivingGtu,
LaneRecord<?> root,
Length initialPosition,
Length maxDistance,
RelativePosition relativePosition,
HeadwayGtuType headwayGtuType,
GTU gtu,
RelativeLane lane,
boolean ignoreIfUpstream)
Constructor.
|
UpstreamNeighborsIterable(LaneBasedGTU perceivingGtu,
LaneRecord<?> root,
Length initialPosition,
Length maxDistance,
RelativePosition relativePosition,
HeadwayGtuType headwayGtuType,
RelativeLane lane)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<RelativeLane> |
InfrastructurePerception.getCrossSection()
Returns a set of relative lanes representing the cross section.
|
SortedSet<RelativeLane> |
DirectInfrastructurePerception.getCrossSection()
Returns a set of relative lanes representing the cross section.
|
TimeStampedObject<SortedSet<RelativeLane>> |
DirectInfrastructurePerception.getTimeStampedCrossSection()
Returns a time stamped set of relative lanes representing the cross section.
|
Modifier and Type | Method and Description |
---|---|
PerceptionCollectable<HeadwayConflict,Conflict> |
IntersectionPerception.getConflicts(RelativeLane lane)
Returns a set of conflicts along the route.
|
PerceptionCollectable<HeadwayConflict,Conflict> |
DirectIntersectionPerception.getConflicts(RelativeLane lane)
Returns a set of conflicts along the route.
|
LinearDensity |
TrafficPerception.getDensity(RelativeLane lane)
Returns the perceived density on the given lane.
|
LinearDensity |
AnticipationTrafficPerception.getDensity(RelativeLane lane)
Returns the perceived density on the given lane.
|
<T> TimeStampedObject<T> |
AbstractDelayedPerceptionCategory.getInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType,
RelativeLane lane)
Returns the most recent info of the given type, that is older than the delay.
|
SortedSet<InfrastructureLaneChangeInfo> |
InfrastructurePerception.getInfrastructureLaneChangeInfo(RelativeLane lane)
Returns infrastructure lane change info of a lane.
|
SortedSet<InfrastructureLaneChangeInfo> |
DirectInfrastructurePerception.getInfrastructureLaneChangeInfo(RelativeLane lane)
Returns infrastructure lane change info of a lane.
|
Length |
InfrastructurePerception.getLegalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.
|
Length |
DirectInfrastructurePerception.getLegalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.
|
Length |
InfrastructurePerception.getPhysicalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.
|
Length |
DirectInfrastructurePerception.getPhysicalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.
|
Speed |
TrafficPerception.getSpeed(RelativeLane lane)
Returns the perceived speed on the given lane.
|
Speed |
AnticipationTrafficPerception.getSpeed(RelativeLane lane)
Returns the perceived speed on the given lane.
|
SpeedLimitProspect |
InfrastructurePerception.getSpeedLimitProspect(RelativeLane lane)
Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).
|
SpeedLimitProspect |
DirectInfrastructurePerception.getSpeedLimitProspect(RelativeLane lane)
Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).
|
TimeStampedObject<PerceptionCollectable<HeadwayConflict,Conflict>> |
DirectIntersectionPerception.getTimeStampedConflicts(RelativeLane lane)
Returns a time stamped set of traffic lights along the route.
|
TimeStampedObject<SortedSet<InfrastructureLaneChangeInfo>> |
DirectInfrastructurePerception.getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane)
Returns time stamped infrastructure lane change info of a lane.
|
TimeStampedObject<Length> |
DirectInfrastructurePerception.getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains legally possible.
|
TimeStampedObject<Length> |
DirectInfrastructurePerception.getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains physically possible.
|
TimeStampedObject<SpeedLimitProspect> |
DirectInfrastructurePerception.getTimeStampedSpeedLimitProspect(RelativeLane lane)
Returns the time stamped prospect for speed limits on a lane (dynamic speed limits may vary between lanes).
|
TimeStampedObject<PerceptionCollectable<HeadwayTrafficLight,TrafficLight>> |
DirectIntersectionPerception.getTimeStampedTrafficLights(RelativeLane lane)
Returns a time stamped set of traffic lights along the route.
|
Iterable<HeadwayTrafficLight> |
IntersectionPerception.getTrafficLights(RelativeLane lane)
Returns a set of traffic lights along the route.
|
Iterable<HeadwayTrafficLight> |
DirectIntersectionPerception.getTrafficLights(RelativeLane lane)
Returns a set of traffic lights along the route.
|
<T> void |
AbstractDelayedPerceptionCategory.setInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType,
RelativeLane lane,
TimeStampedObject<T> info)
Set info of given delayed info type, pertaining to a lane.
|
void |
InfrastructurePerception.updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.
|
void |
DirectInfrastructurePerception.updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.
|
void |
InfrastructurePerception.updateLegalLaneChangePossibility(RelativeLane lane,
LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.
|
void |
DirectInfrastructurePerception.updateLegalLaneChangePossibility(RelativeLane lane,
LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.
|
void |
InfrastructurePerception.updatePhysicalLaneChangePossibility(RelativeLane lane,
LateralDirectionality lat)
Updates the distance over which lane changes remains physically possible.
|
void |
DirectInfrastructurePerception.updatePhysicalLaneChangePossibility(RelativeLane lane,
LateralDirectionality lat)
Updates the distance over which lane changes remains physically possible.
|
void |
InfrastructurePerception.updateSpeedLimitProspect(RelativeLane lane)
Updates the speed limit prospect.
|
void |
DirectInfrastructurePerception.updateSpeedLimitProspect(RelativeLane lane)
Updates the speed limit prospect.
|
Constructor and Description |
---|
AnticipationSpeed(Speed desiredSpeed,
Length lookAhead,
RelativeLane lane)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
static AbstractDelayedNeighborsPerception.NeighborsInfoType<SortedSet<RelativeLane>> |
AbstractDelayedNeighborsPerception.CROSSSECTION
Info type id for cross-section.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<RelativeLane> |
AbstractDelayedNeighborsPerception.getDelayedCrossSection()
Returns the cross-section on which the most recent observed neighbors were determined.
|
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.
|
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.
|
void |
NeighborsPerception.updateFollowers(RelativeLane lane)
Update set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
void |
HistoricalNeighborsPerception.updateFollowers(RelativeLane lane)
Update set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
void |
DirectNeighborsPerception.updateFollowers(RelativeLane lane)
Update set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
void |
AbstractDelayedNeighborsPerception.updateFollowers(RelativeLane lane)
Update set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
void |
NeighborsPerception.updateLeaders(RelativeLane lane)
Update set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
void |
HistoricalNeighborsPerception.updateLeaders(RelativeLane lane)
Update set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
void |
DirectNeighborsPerception.updateLeaders(RelativeLane lane)
Update set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
void |
AbstractDelayedNeighborsPerception.updateLeaders(RelativeLane lane)
Update 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 |
---|---|
RelativeLane |
HeadwayBusStop.getRelativeLane() |
Constructor and Description |
---|
HeadwayBusStop(BusStop busStop,
Length distance,
RelativeLane relativeLane,
Set<String> conflictIds) |
Modifier and Type | Method and Description |
---|---|
RelativeLane |
LaneChange.getSecondLane(LaneBasedGTU gtu)
Second lane of lane change relative to the reference lane.
|
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.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<RelativeLane> |
ToledoPerception.getCrossSection()
Returns a set of relative lanes representing the cross section.
|
TimeStampedObject<SortedSet<RelativeLane>> |
ToledoPerception.getTimeStampedCrossSection()
Returns a time stamped set of relative lanes representing the cross section.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<InfrastructureLaneChangeInfoToledo> |
ToledoPerception.getInfrastructureLaneChangeInfo(RelativeLane lane)
Returns infrastructure lane change info of a lane.
|
Length |
ToledoPerception.getLegalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.
|
Length |
ToledoPerception.getPhysicalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.
|
SpeedLimitProspect |
ToledoPerception.getSpeedLimitProspect(RelativeLane lane)
Returns the prospect for speed limits on a lane (dynamic speed limits may vary between lanes).
|
TimeStampedObject<SortedSet<InfrastructureLaneChangeInfoToledo>> |
ToledoPerception.getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane)
Returns time stamped infrastructure lane change info of a lane.
|
TimeStampedObject<Length> |
ToledoPerception.getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains legally possible.
|
TimeStampedObject<Length> |
ToledoPerception.getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains physically possible.
|
TimeStampedObject<SpeedLimitProspect> |
ToledoPerception.getTimeStampedSpeedLimitProspect(RelativeLane lane)
Returns the time stamped prospect for speed limits on a lane (dynamic speed limits may vary between lanes).
|
void |
ToledoPerception.updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.
|
void |
ToledoPerception.updateLegalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.
|
void |
ToledoPerception.updatePhysicalLaneChangePossibility(RelativeLane fromLane,
LateralDirectionality lat)
Updates the distance over which lane changes remains physically possible.
|
void |
ToledoPerception.updateSpeedLimitProspect(RelativeLane lane)
Updates the speed limit prospect.
|
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.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.