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.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.network.lane.conflict |
Contains classes describing intersection conflicts.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPerceptionIterable<H extends Headway,U,C>
Abstract iterable that figures out how to find the next nearest object, including splits.
|
class |
AbstractPerceptionReiterable<H extends Headway,U>
This class uses a single primary iterator which a subclass defines, and makes sure that all elements are only looked up and
created once.
|
class |
DownstreamNeighborsIterable
Iterable to find downstream GTU's.
The behavior of this search is slightly altered using boolean ignoreIfUpstream . |
class |
LaneBasedObjectIterable<H extends Headway,L extends LaneBasedObject>
Iterable that searches downstream for a certain type of lane based object.
|
class |
MultiLanePerceptionIterable<H extends Headway,U>
Iterable class to search over multiple lanes.
|
class |
SortedSetPerceptionIterable<H extends Headway>
Deprecated.
|
class |
UpstreamNeighborsIterable
Iterable to find upstream GTU's.
|
Modifier and Type | Method and Description |
---|---|
PerceptionCollectable<HeadwayBusStop,BusStop> |
DirectBusStopPerception.getBusStops()
Returns the bus stops.
|
PerceptionCollectable<HeadwayBusStop,BusStop> |
BusStopPerception.getBusStops()
Returns the bus stops.
|
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.
|
Modifier and Type | Method and Description |
---|---|
TimeStampedObject<PerceptionCollectable<HeadwayBusStop,BusStop>> |
DirectBusStopPerception.getTimeStampedBusStops()
Returns the time stamped bus stops.
|
TimeStampedObject<PerceptionCollectable<HeadwayConflict,Conflict>> |
DirectIntersectionPerception.getTimeStampedConflicts(RelativeLane lane)
Returns a time stamped set of traffic lights along the route.
|
TimeStampedObject<PerceptionCollectable<HeadwayTrafficLight,TrafficLight>> |
DirectIntersectionPerception.getTimeStampedTrafficLights(RelativeLane lane)
Returns a time stamped set of traffic lights along the route.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static AbstractDelayedNeighborsPerception.NeighborsInfoType<PerceptionCollectable<HeadwayGTU,LaneBasedGTU>> |
AbstractDelayedNeighborsPerception.NeighborsInfoType.getIterableType(String id)
Returns a (cached) info type for a sorted set of GTU's.
|
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 |
---|---|
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.
|
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 |
---|---|
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 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 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 |
---|---|
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.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.