Package | Description |
---|---|
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-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 | Method and Description |
---|---|
Acceleration |
AbstractLinearFreeControl.getDesiredAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the desired acceleration from the longitudinal control.
|
abstract Acceleration |
AbstractActuatedControl.getDesiredAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the desired acceleration from the longitudinal control.
|
Acceleration |
PloegCACC.getFollowingAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the following acceleration of the longitudinal control.
|
Acceleration |
LinearCACC.getFollowingAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the following acceleration of the longitudinal control.
|
abstract Acceleration |
AbstractLinearFreeControl.getFollowingAcceleration(LaneBasedGTU gtu,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders)
Returns the following acceleration of the longitudinal control.
|
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.computeBusStops()
Returns bus stops.
|
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 |
---|---|
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> |
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> |
LongitudinalControllerPerception.getLeaders()
Returns the leaders.
|
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> |
CaccPerception.getLeaders()
Returns the leaders.
|
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> |
AccPerception.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.
|
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.
|
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,
RelativeLane lane)
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,
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)
Approach a give-way conflict.
|
static boolean |
ConflictUtil.stopForPriorityConflict(HeadwayConflict conflict,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> leaders,
Speed speed,
Length vehicleLength,
Parameters parameters)
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.