Package | Description |
---|---|
org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSensor
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
SensorLaneEnd
This is a sensor that is placed at the end of a Lane to unregister a GTU from the lane, and unregister the lane from
the GTU when the back of the vehicle passes over the sensor.
|
class |
SensorLaneStart
This is a sensor that is placed at the start of a Lane to register a GTU on the lane, and register the lane with the
GTU when the front of the vehicle passes over the sensor.
|
Modifier and Type | Method and Description |
---|---|
protected SortedMap<Double,List<Sensor>> |
Lane.getSensors() |
List<Sensor> |
Lane.getSensors(DoubleScalar.Rel<LengthUnit> minimumPosition,
DoubleScalar.Rel<LengthUnit> maximumPosition)
Retrieve the list of Sensors of this Lane in the specified distance range.
|
Modifier and Type | Method and Description |
---|---|
void |
Lane.addSensor(Sensor sensor)
Insert the sensor at the right place in the sensor list of this lane.
|
int |
AbstractSensor.compareTo(Sensor o) |
void |
Lane.removeSensor(Sensor sensor)
Remove a sensor from the sensor list of this lane.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.