| Package | Description | 
|---|---|
| org.opentrafficsim.graphs | 
 Basic graphs for traffic simulation. 
 | 
| org.opentrafficsim.road.gtu.lane.perception | 
 Implementation of lane-based perception for the GTU. 
 | 
| org.opentrafficsim.road.network.animation | 
 Animation for Links, Lanes, Nodes. 
 | 
| org.opentrafficsim.road.network.lane | 
 Classes that provide detailed cross-sections of a link using lanes, markers and sensors. 
 | 
| org.opentrafficsim.road.network.lane.conflict | 
 Contains classes describing intersection conflicts. 
 | 
| org.opentrafficsim.road.network.lane.object | 
 Lane-based objects such as barriers, gates, traffic lights, DRIPs, speed signs, obstacles on the road, etc. 
 | 
| org.opentrafficsim.road.network.lane.object.sensor | 
 Lane-based objects that act as sensors. 
 | 
| org.opentrafficsim.road.network.lane.object.trafficlight | 
 Traffic light and traffic light controller objects. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
(package private) class  | 
FundamentalDiagram.FundamentalDiagramSensor
Internal Sensor class. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
LaneBasedObjectIterable<H extends Headway,L extends LaneBasedObject>
Iterable that searches downstream for a certain type of lane based object. 
 | 
static class  | 
LaneStructure.Entry<T extends LaneBasedObject>
Wrapper to hold lane-based object and it's distance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends LaneBasedObject> | 
RollingLaneStructure.getDownstreamObjects(Class<T> clazz,
                    LaneBasedGTU gtu,
                    org.opentrafficsim.core.gtu.RelativePosition.TYPE pos)
Retrieve objects of a specific type. 
 | 
<T extends LaneBasedObject> | 
LaneStructure.getDownstreamObjects(Class<T> clazz,
                    LaneBasedGTU gtu,
                    org.opentrafficsim.core.gtu.RelativePosition.TYPE pos)
Retrieve objects of a specific type. 
 | 
<T extends LaneBasedObject> | 
RollingLaneStructure.getDownstreamObjects(RelativeLane lane,
                    Class<T> clazz,
                    LaneBasedGTU gtu,
                    org.opentrafficsim.core.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,
                    org.opentrafficsim.core.gtu.RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type. 
 | 
<T extends LaneBasedObject> | 
RollingLaneStructure.getDownstreamObjectsOnRoute(Class<T> clazz,
                           LaneBasedGTU gtu,
                           org.opentrafficsim.core.gtu.RelativePosition.TYPE pos,
                           org.opentrafficsim.core.network.route.Route route)
Retrieve objects of a specific type. 
 | 
<T extends LaneBasedObject> | 
LaneStructure.getDownstreamObjectsOnRoute(Class<T> clazz,
                           LaneBasedGTU gtu,
                           org.opentrafficsim.core.gtu.RelativePosition.TYPE pos,
                           org.opentrafficsim.core.network.route.Route route)
Retrieve objects of a specific type. 
 | 
<T extends LaneBasedObject> | 
RollingLaneStructure.getDownstreamObjectsOnRoute(RelativeLane lane,
                           Class<T> clazz,
                           LaneBasedGTU gtu,
                           org.opentrafficsim.core.gtu.RelativePosition.TYPE pos,
                           org.opentrafficsim.core.network.route.Route route)
Retrieve objects on a lane of a specific type. 
 | 
<T extends LaneBasedObject> | 
LaneStructure.getDownstreamObjectsOnRoute(RelativeLane lane,
                           Class<T> clazz,
                           LaneBasedGTU gtu,
                           org.opentrafficsim.core.gtu.RelativePosition.TYPE pos,
                           org.opentrafficsim.core.network.route.Route route)
Retrieve objects on a lane of a specific type. 
 | 
<T extends LaneBasedObject> | 
RollingLaneStructure.getUpstreamObjects(RelativeLane lane,
                  Class<T> clazz,
                  LaneBasedGTU gtu,
                  org.opentrafficsim.core.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,
                  org.opentrafficsim.core.gtu.RelativePosition.TYPE pos)
Retrieve objects on a lane of a specific type. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractLineAnimation<T extends LaneBasedObject>
Abstract class for objects that draw a line perpendicular on the lane. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SortedMap<Double,List<LaneBasedObject>> | 
Lane.getLaneBasedObjectMap()
Retrieve the list of LaneBasedObjects of this Lane. 
 | 
List<LaneBasedObject> | 
Lane.getLaneBasedObjects()
Retrieve the list of all LaneBasedObjects of this Lane. 
 | 
List<LaneBasedObject> | 
Lane.getLaneBasedObjects(org.djunits.value.vdouble.scalar.Length minimumPosition,
                   org.djunits.value.vdouble.scalar.Length maximumPosition)
Retrieve the list of LaneBasedObjects of this Lane in the specified distance range. 
 | 
List<LaneBasedObject> | 
Lane.getObjectAhead(org.djunits.value.vdouble.scalar.Length position,
              org.opentrafficsim.core.gtu.GTUDirectionality direction)
Get the first object where the relativePosition is in front of a certain position on the lane, in a driving direction on
 this lane, compared to the DESIGN LINE. 
 | 
List<LaneBasedObject> | 
Lane.getObjectBehind(org.djunits.value.vdouble.scalar.Length position,
               org.opentrafficsim.core.gtu.GTUDirectionality direction)
Get the first object where the relativePosition is behind of a certain position on the lane, in a driving direction on
 this lane, compared to the DESIGN LINE. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Lane.addLaneBasedObject(LaneBasedObject laneBasedObject)
Insert a laneBasedObject at the right place in the laneBasedObject list of this Lane. 
 | 
void | 
Lane.removeLaneBasedObject(LaneBasedObject laneBasedObject)
Remove a laneBasedObject from the laneBasedObject list of this Lane. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Conflict
Conflicts deal with traffic on different links/roads that need to consider each other as their paths may be in conflict
 spatially. 
 | 
class  | 
Conflict.ConflictEnd
Light-weight lane based object to indicate the end of a conflict. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractLaneBasedObject
An abstract implementation of the LaneBasedObject interface with the required fields being initialized and getters for those
 fields. 
 | 
class  | 
BusStop
A bus stop is a location on a lane. 
 | 
class  | 
Distraction
Distraction following a distance profile. 
 | 
class  | 
SpeedSign
Speed sign. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
SingleSensor
A sensor is a lane-based object that can be triggered by a relative position of the GTU (e.g., front, back) when that
 relative position passes over the sensor location on the lane. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractSensor
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
class  | 
Detector
Detector, measuring a dynamic set of measurements. 
 | 
(package private) class  | 
FlankSensor
The embedded sensors of a TrafficLightSensor. 
 | 
class  | 
SimpleReportingSensor
Sensor that prints which GTU triggers it. 
 | 
class  | 
SinkSensor
A SinkSensor is a sensor that deletes every GTU that hits it. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LaneBasedObject | 
DirectionalOccupancySensor.getLanePositionEntry()
Return the entry position of this DirectionalOccupancySensor. 
 | 
LaneBasedObject | 
DirectionalOccupancySensor.getLanePositionExit()
Return the exit position of this DirectionalOccupancySensor. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
TrafficLight
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractTrafficLight
Basic, abstract implementation of a traffic light. 
 | 
class  | 
SimpleTrafficLight
Standard implementation of a traffic light. 
 | 
Copyright © 2014–2018 Delft University of Technology. All rights reserved.