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.headway |
Copyright (c) 2013-2017 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-2017 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 |
---|---|
SortedSet<RelativeLane> |
LaneStructure.getCrossSection()
Returns the cross section.
|
<T extends LaneBasedObject> |
LaneStructure.getDownstreamObjectsOnRoute(Class<T> clazz,
org.opentrafficsim.core.gtu.GTU gtu,
org.opentrafficsim.core.gtu.RelativePosition.TYPE pos,
org.opentrafficsim.core.network.route.Route route)
Retrieve objects of a specific type.
|
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 |
LaneStructure.addLaneStructureRecord(LaneStructureRecord lsr,
RelativeLane relativeLane)
Adds a lane structure record in a mapping from relative lanes.
|
int |
RelativeLane.compareTo(RelativeLane rel) |
<T extends LaneBasedObject> |
LaneStructure.getDownstreamObjects(RelativeLane lane,
Class<T> clazz,
org.opentrafficsim.core.gtu.GTU gtu,
org.opentrafficsim.core.gtu.RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.
|
<T extends LaneBasedObject> |
LaneStructure.getDownstreamObjectsOnRoute(RelativeLane lane,
Class<T> clazz,
org.opentrafficsim.core.gtu.GTU gtu,
org.opentrafficsim.core.gtu.RelativePosition.TYPE pos,
org.opentrafficsim.core.network.route.Route route)
Retrieve objects on a lane of a specific type.
|
LaneStructureRecord |
LaneStructure.getLaneLSR(RelativeLane lane) |
<T extends LaneBasedObject> |
LaneStructure.getUpstreamObjects(RelativeLane lane,
Class<T> clazz,
org.opentrafficsim.core.gtu.GTU gtu,
org.opentrafficsim.core.gtu.RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type.
|
Modifier and Type | Method and Description |
---|---|
void |
LaneStructure.removeInvalidMappings(Map<RelativeLane,?> map)
Removes all mappings to relative lanes that are not in the most recent cross section.
|
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> |
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.
|
SortedSet<RelativeLane> |
AbstractDelayedNeighborsPerception.getDelayedCrossSection()
Returns the cross-section on which the most recent observed neighbors were determined.
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<RelativeLane>> |
DirectInfrastructurePerception.getTimeStampedCrossSection()
Returns a time stamped set of relative lanes representing the cross section.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<HeadwayConflict> |
IntersectionPerception.getConflicts(RelativeLane lane)
Returns a set of conflicts along the route.
|
SortedSet<HeadwayConflict> |
DirectIntersectionPerception.getConflicts(RelativeLane lane)
Returns a set of conflicts along the route.
|
SortedSet<HeadwayGTU> |
NeighborsPerception.getFollowers(RelativeLane lane)
Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
SortedSet<HeadwayGTU> |
DirectNeighborsPerception.getFollowers(RelativeLane lane)
Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
SortedSet<HeadwayGTU> |
DelayedNeighborsPerception.getFollowers(RelativeLane lane)
Set of followers on a lane, including adjacent GTU's who's FRONT is back of the own vehicle FRONT.
|
<T> org.opentrafficsim.base.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.
|
SortedSet<HeadwayGTU> |
NeighborsPerception.getLeaders(RelativeLane lane)
Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
SortedSet<HeadwayGTU> |
DirectNeighborsPerception.getLeaders(RelativeLane lane)
Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
SortedSet<HeadwayGTU> |
DelayedNeighborsPerception.getLeaders(RelativeLane lane)
Set of leaders on a lane, including adjacent GTU's who's FRONT is ahead of the own vehicle FRONT.
|
org.djunits.value.vdouble.scalar.Length |
InfrastructurePerception.getLegalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.
|
org.djunits.value.vdouble.scalar.Length |
DirectInfrastructurePerception.getLegalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.
|
org.djunits.value.vdouble.scalar.Length |
InfrastructurePerception.getPhysicalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.
|
org.djunits.value.vdouble.scalar.Length |
DirectInfrastructurePerception.getPhysicalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the distance over which a lane change remains physically possible.
|
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).
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<HeadwayConflict>> |
DirectIntersectionPerception.getTimeStampedConflicts(RelativeLane lane)
Returns a time stamped set of traffic lights along the route.
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<HeadwayGTU>> |
DirectNeighborsPerception.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<InfrastructureLaneChangeInfo>> |
DirectInfrastructurePerception.getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane)
Returns time stamped infrastructure lane change info of a lane.
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<HeadwayGTU>> |
DirectNeighborsPerception.getTimeStampedLeaders(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<org.djunits.value.vdouble.scalar.Length> |
DirectInfrastructurePerception.getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains legally possible.
|
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Length> |
DirectInfrastructurePerception.getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains physically possible.
|
org.opentrafficsim.base.TimeStampedObject<SpeedLimitProspect> |
DirectInfrastructurePerception.getTimeStampedSpeedLimitProspect(RelativeLane lane)
Returns the time stamped prospect for speed limits on a lane (dynamic speed limits may vary between lanes).
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<HeadwayTrafficLight>> |
DirectIntersectionPerception.getTimeStampedTrafficLights(RelativeLane lane)
Returns a time stamped set of traffic lights along the route.
|
SortedSet<HeadwayTrafficLight> |
IntersectionPerception.getTrafficLights(RelativeLane lane)
Returns a set of traffic lights along the route.
|
SortedSet<HeadwayTrafficLight> |
DirectIntersectionPerception.getTrafficLights(RelativeLane lane)
Returns a set of traffic lights along the route.
|
<T> void |
AbstractDelayedPerceptionCategory.setInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType,
RelativeLane lane,
org.opentrafficsim.base.TimeStampedObject<T> info)
Set info of given delayed info type, pertaining to a lane.
|
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 |
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 |
InfrastructurePerception.updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.
|
void |
DirectInfrastructurePerception.updateInfrastructureLaneChangeInfo(RelativeLane lane)
Updates the infrastructural lane change info.
|
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 |
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.
|
void |
InfrastructurePerception.updateLegalLaneChangePossibility(RelativeLane lane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.
|
void |
DirectInfrastructurePerception.updateLegalLaneChangePossibility(RelativeLane lane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.
|
void |
InfrastructurePerception.updatePhysicalLaneChangePossibility(RelativeLane lane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Updates the distance over which lane changes remains physically possible.
|
void |
DirectInfrastructurePerception.updatePhysicalLaneChangePossibility(RelativeLane lane,
org.opentrafficsim.core.network.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.
|
Modifier and Type | Method and Description |
---|---|
RelativeLane |
HeadwayBusStop.getRelativeLane() |
Constructor and Description |
---|
HeadwayBusStop(BusStop busStop,
org.djunits.value.vdouble.scalar.Length distance,
RelativeLane relativeLane,
Set<String> conflictIds) |
Modifier and Type | Method and Description |
---|---|
RelativeLane |
LaneOperationalPlanBuilder.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,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationSpeedLimitTransition.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationIncentive.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationConflicts.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
void |
AccelerationBusStop.accelerate(SimpleOperationalPlan simplePlan,
RelativeLane lane,
LaneBasedGTU gtu,
LanePerception perception,
CarFollowingModel carFollowingModel,
org.djunits.value.vdouble.scalar.Speed speed,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics bc,
SpeedLimitInfo speedLimitInfo)
Determine acceleration.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<RelativeLane> |
ToledoPerception.getCrossSection()
Returns a set of relative lanes representing the cross section.
|
org.opentrafficsim.base.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.
|
org.djunits.value.vdouble.scalar.Length |
ToledoPerception.getLegalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the distance over which a lane change remains legally possible.
|
org.djunits.value.vdouble.scalar.Length |
ToledoPerception.getPhysicalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.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).
|
org.opentrafficsim.base.TimeStampedObject<SortedSet<InfrastructureLaneChangeInfoToledo>> |
ToledoPerception.getTimeStampedInfrastructureLaneChangeInfo(RelativeLane lane)
Returns time stamped infrastructure lane change info of a lane.
|
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Length> |
ToledoPerception.getTimeStampedLegalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains legally possible.
|
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Length> |
ToledoPerception.getTimeStampedPhysicalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the time stamped distance over which a lane change remains physically possible.
|
org.opentrafficsim.base.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,
org.opentrafficsim.core.network.LateralDirectionality lat)
Updates the distance over which lane changes remains legally possible.
|
void |
ToledoPerception.updatePhysicalLaneChangePossibility(RelativeLane fromLane,
org.opentrafficsim.core.network.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 |
---|---|
(package private) static SortedSet<HeadwayGTU> |
Synchronization.removeAllUpstreamOfConflicts(SortedSet<HeadwayGTU> 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–2017 Delft University of Technology. All rights reserved.