Package | Description |
---|---|
org.opentrafficsim.road.gtu.lane.perception.categories |
Categories define a set of perceivable information.
|
org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2016 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.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<AbstractHeadwayGTU> |
NeighborsPerception.getFirstFollowers(org.opentrafficsim.core.network.LateralDirectionality lat)
Set of followers on a lane, which is usually 0 or 1, but possibly more in case of an upstream merge with no intermediate
GTU.
|
SortedSet<AbstractHeadwayGTU> |
NeighborsPerception.getFirstLeaders(org.opentrafficsim.core.network.LateralDirectionality lat)
Set of leaders on a lane, which is usually 0 or 1, but possibly more in case of a downstream split with no intermediate
GTU.
|
SortedSet<AbstractHeadwayGTU> |
NeighborsPerception.getFollowers(RelativeLane lane)
Set of followers on a lane, including adjacent GTU's who's REAR is back of the own vehicle REAR.
|
SortedSet<AbstractHeadwayGTU> |
NeighborsPerception.getLeaders(RelativeLane lane)
Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<AbstractHeadwayGTU>> |
NeighborsPerception.getTimeStampedFirstFollowers(org.opentrafficsim.core.network.LateralDirectionality lat)
Set of followers on a lane, which is usually 0 or 1, but possibly more in case of an upstream merge with no intermediate
GTU.
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<AbstractHeadwayGTU>> |
NeighborsPerception.getTimeStampedFirstLeaders(org.opentrafficsim.core.network.LateralDirectionality lat)
Set of leaders on a lane, which is usually 0 or 1, but possibly more in case of a downstream split with no intermediate
GTU.
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<AbstractHeadwayGTU>> |
NeighborsPerception.getTimeStampedFollowers(RelativeLane lane)
Set of followers on a lane, including adjacent GTU's who's REAR is back of the own vehicle REAR.
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<AbstractHeadwayGTU>> |
NeighborsPerception.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 | Class and Description |
---|---|
class |
HeadwayGTUReal
Container for a reference to information about a (lane based) GTU and a headway.
|
class |
HeadwayGTUSimple
Container for a reference to information about a (lane based) GTU and a headway.
|
class |
HeadwayGTUType
Container for a reference to information about a (lane based) GTU and a headway.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<AbstractHeadwayGTU> |
HeadwayConflict.getDownstreamConflictingGTUs()
Returns a set of conflicting GTU's downstream of the start of the conflict ordered close to far from the conflict.
|
SortedSet<AbstractHeadwayGTU> |
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,
ConflictRule conflictRule,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<AbstractHeadwayGTU> upstreamConflictingGTUs,
SortedSet<AbstractHeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit)
Constructor without stop lines.
|
HeadwayConflict(ConflictType conflictType,
ConflictRule conflictRule,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<AbstractHeadwayGTU> upstreamConflictingGTUs,
SortedSet<AbstractHeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit)
Constructor without stop lines.
|
HeadwayConflict(ConflictType conflictType,
ConflictRule conflictRule,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<AbstractHeadwayGTU> upstreamConflictingGTUs,
SortedSet<AbstractHeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit,
HeadwayStopLine stopLine,
HeadwayStopLine conflictingStopLine)
Constructor.
|
HeadwayConflict(ConflictType conflictType,
ConflictRule conflictRule,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<AbstractHeadwayGTU> upstreamConflictingGTUs,
SortedSet<AbstractHeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit,
HeadwayStopLine stopLine,
HeadwayStopLine conflictingStopLine)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) org.djunits.value.vdouble.scalar.Time |
ConflictUtil.ConflictPlans.getArrivalTime(AbstractHeadwayGTU gtu)
Returns the estimated arrival time of given GTU.
|
(package private) boolean |
ConflictUtil.ConflictPlans.isYieldPlan(HeadwayConflict conflict,
AbstractHeadwayGTU gtu)
Returns whether a plan exists for yielding at the conflict for the given conflict GTU.
|
(package private) void |
ConflictUtil.ConflictPlans.setArrivalTime(AbstractHeadwayGTU gtu,
org.djunits.value.vdouble.scalar.Time time)
Sets the estimated arrival time of a GTU.
|
(package private) void |
ConflictUtil.ConflictPlans.setYieldPlan(HeadwayConflict conflict,
AbstractHeadwayGTU gtu)
Sets or maintains the plan to yield at the conflict for the given conflict RSU.
|
Modifier and Type | Method and Description |
---|---|
static org.djunits.value.vdouble.scalar.Acceleration |
ConflictUtil.approachConflicts(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
SortedSet<HeadwayConflict> conflicts,
SortedSet<AbstractHeadwayGTU> leaders,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Length vehicleLength,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
ConflictUtil.ConflictPlans conflictPlans)
Approach conflicts by applying appropriate acceleration (or deceleration).
|
static org.djunits.value.vdouble.scalar.Acceleration |
CarFollowingUtil.followLeaders(CarFollowingModel carFollowingModel,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics,
org.djunits.value.vdouble.scalar.Speed speed,
SpeedLimitInfo speedLimitInfo,
SortedSet<AbstractHeadwayGTU> leaders)
Follow a set of headway GTUs.
|
Modifier and Type | Method and Description |
---|---|
Set<AbstractHeadwayGTU> |
LmrsUtil.LmrsStatus.getLastLeaders() |
Modifier and Type | Method and Description |
---|---|
void |
LmrsUtil.LmrsStatus.setLastLeaders(Set<AbstractHeadwayGTU> lastLeaders) |
Copyright © 2014–2016 Delft University of Technology. All rights reserved.