Package | Description |
---|---|
org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
org.opentrafficsim.road.gtu.generator.od |
OD based vehicle generation.
|
org.opentrafficsim.road.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.
|
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.tactical |
Tactical planners for a lane-based GTU.
|
org.opentrafficsim.road.network.factory |
Factories 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.changing |
Lane change possibility models.
|
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.
|
org.opentrafficsim.road.network.sampling |
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Method and Description |
---|---|
Headway |
AbstractGTUGenerator.headway(Length maxDistance,
Lane generatorLane)
Check the available headway for GTU that is about to be constructed.
|
Modifier and Type | Method and Description |
---|---|
<K> K |
ODOptions.get(org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option,
Lane lane,
Node node,
LinkType linkType)
Get option value.
|
<K> ODOptions |
ODOptions.set(Lane lane,
org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option,
K value)
Set option value for lane.
|
Modifier and Type | Method and Description |
---|---|
Map<Lane,Double> |
LaneBasedGTU.fractionalPositions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,Double> |
AbstractLaneBasedGTU.fractionalPositions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,Double> |
LaneBasedGTU.fractionalPositions(RelativePosition relativePosition,
Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,Double> |
AbstractLaneBasedGTU.fractionalPositions(RelativePosition relativePosition,
Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane,Length> |
LaneBasedGTU.positions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane,Length> |
AbstractLaneBasedGTU.positions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane,Length> |
LaneBasedGTU.positions(RelativePosition relativePosition,
Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane,Length> |
AbstractLaneBasedGTU.positions(RelativePosition relativePosition,
Time when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLaneBasedGTU.addGtuToLane(Lane lane,
Length position)
Part of 'enterLane' which registers the GTU with the lane so the lane can report its GTUs.
|
void |
LaneBasedGTU.addTrigger(Lane lane,
SimEventInterface<SimTimeDoubleUnit> event)
Add an event to the list of lane triggers scheduled for this GTU.
|
void |
AbstractLaneBasedGTU.addTrigger(Lane lane,
SimEventInterface<SimTimeDoubleUnit> event)
Add an event to the list of lane triggers scheduled for this GTU.
|
void |
LaneBasedGTU.enterLane(Lane lane,
Length position,
GTUDirectionality gtuDirection)
insert GTU at a certain position.
|
void |
AbstractLaneBasedGTU.enterLane(Lane lane,
Length position,
GTUDirectionality gtuDirection)
insert GTU at a certain position.
|
double |
LaneBasedGTU.fractionalPosition(Lane lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
AbstractLaneBasedGTU.fractionalPosition(Lane lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
LaneBasedGTU.fractionalPosition(Lane lane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
AbstractLaneBasedGTU.fractionalPosition(Lane lane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
GTUDirectionality |
LaneBasedGTU.getDirection(Lane lane)
Return the directionality of a lane on which the GTU is registered for its current operational plan.
|
GTUDirectionality |
AbstractLaneBasedGTU.getDirection(Lane lane)
Return the directionality of a lane on which the GTU is registered for its current operational plan.
|
void |
LaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
AbstractLaneBasedGTU.leaveLane(Lane lane)
Unregister the GTU from a lane.
|
void |
AbstractLaneBasedGTU.leaveLane(Lane lane,
boolean beingDestroyed)
Leave a lane but do not complain about having no lanes left when beingDestroyed is true.
|
Length |
LaneBasedGTU.position(Lane lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
Length |
AbstractLaneBasedGTU.position(Lane lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
Length |
LaneBasedGTU.position(Lane lane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
Length |
AbstractLaneBasedGTU.position(Lane lane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
Length |
LaneBasedGTU.projectedPosition(Lane projectionLane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position on the projection lane that has the same fractional position on one of the current lanes
of the indicated relative position.
|
Length |
AbstractLaneBasedGTU.projectedPosition(Lane projectionLane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position on the projection lane that has the same fractional position on one of the current lanes
of the indicated relative position.
|
Length |
LaneBasedGTU.translatedPosition(Lane projectionLane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position that the indicated relative position of this GTU would have if it were to change to
another Lane with a / the current CrossSectionLink.
|
Length |
AbstractLaneBasedGTU.translatedPosition(Lane projectionLane,
RelativePosition relativePosition,
Time when)
Return the longitudinal position that the indicated relative position of this GTU would have if it were to change to
another Lane with a / the current CrossSectionLink.
|
Modifier and Type | Method and Description |
---|---|
Lane |
RollingLaneStructureRecord.getLane()
Returns the lane.
|
Lane |
LaneRecord.getLane()
Returns the lane.
|
Lane |
LaneDirectionRecord.getLane()
Returns the lane.
|
Constructor and Description |
---|
LaneDirectionRecord(Lane lane,
GTUDirectionality dir,
Length startDistance,
GTUType gtuType)
Constructor.
|
RollingLaneStructureRecord(Lane lane,
GTUDirectionality direction,
Length startDistance) |
RollingLaneStructureRecord(Lane lane,
GTUDirectionality direction,
RollingLaneStructureRecord startDistanceSource,
RollingLaneStructureRecord.RecordLink recordLink)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Lane |
DirectDefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Lane |
DefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Modifier and Type | Method and Description |
---|---|
Lane |
DirectDefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Lane |
DefaultSimplePerception.bestAccessibleAdjacentLane(Lane currentLane,
LateralDirectionality lateralDirection,
Length longitudinalPosition)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane, or null
if no lane could be found.
|
Modifier and Type | Method and Description |
---|---|
Lane |
LanePathInfo.getReferenceLane()
The reference lane is the widest lane on which the reference point of the GTU is fully registered.
|
Modifier and Type | Method and Description |
---|---|
Set<Lane> |
NextSplitInfo.getCorrectCurrentLanes() |
List<Lane> |
LanePathInfo.getLanes() |
Modifier and Type | Method and Description |
---|---|
static LanePathInfo |
AbstractLaneBasedTacticalPlanner.buildLanePathInfo(LaneBasedGTU gtu,
Length maxHeadway,
Lane startLane,
Length position,
GTUDirectionality startDirectionality)
Build a list of lanes forward, with a maximum headway relative to the reference point of the GTU.
|
protected Length |
LaneBasedCFLCTacticalPlanner.computeSuitabilityWithLaneChanges(Lane startLane,
double remainingDistance,
Map<Lane,Length> suitabilities,
int totalLanes,
LateralDirectionality direction,
GTUType gtuType,
GTUDirectionality drivingDirection)
Compute the suitability of a lane from which lane changes are required to get to the next point on the Route.
This method weighs the suitability of the nearest suitable lane by (m - n) / m where n is the number of lane changes required and m is the total number of lanes in the CrossSectionLink. |
protected static boolean |
AbstractLaneBasedTacticalPlanner.connectsToPath(LaneBasedGTU gtu,
Length maxHeadway,
Lane startLane,
Length startLanePosition,
GTUDirectionality startDirectionality,
Link linkAfterSplit)
Determine whether the lane is directly connected to our route, in other words: if we would (continue to) drive on the
given lane, can we take the right branch at the nextSplitNode without switching lanes?
|
protected static boolean |
AbstractLaneBasedTacticalPlanner.noLaneDrop(LaneBasedGTU gtu,
Length maxHeadway,
Lane startLane,
Length startLanePosition,
GTUDirectionality startDirectionality)
Determine whether the lane does not drop, in other words: if we would (continue to) drive on the given lane, can we
continue to drive at the nextSplitNode without switching lanes?
|
Modifier and Type | Method and Description |
---|---|
protected Length |
LaneBasedCFLCTacticalPlanner.computeSuitabilityWithLaneChanges(Lane startLane,
double remainingDistance,
Map<Lane,Length> suitabilities,
int totalLanes,
LateralDirectionality direction,
GTUType gtuType,
GTUDirectionality drivingDirection)
Compute the suitability of a lane from which lane changes are required to get to the next point on the Route.
This method weighs the suitability of the nearest suitable lane by (m - n) / m where n is the number of lane changes required and m is the total number of lanes in the CrossSectionLink. |
Constructor and Description |
---|
NextSplitInfo(Node nextSplitNode,
Set<Lane> correctCurrentLanes) |
NextSplitInfo(Node nextSplitNode,
Set<Lane> correctCurrentLanes,
LateralDirectionality requiredDirection) |
Modifier and Type | Method and Description |
---|---|
static Lane |
LaneFactory.makeLane(Network network,
String name,
OTSNode from,
OTSNode to,
OTSPoint3D[] intermediatePoints,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple Lane.
|
static Lane[] |
LaneFactory.makeMultiLane(Network network,
String name,
OTSNode from,
OTSNode to,
OTSPoint3D[] intermediatePoints,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLane(Network network,
String name,
OTSNode from,
OTSNode to,
OTSPoint3D[] intermediatePoints,
int laneCount,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLaneBezier(Network network,
String name,
OTSNode n1,
OTSNode n2,
OTSNode n3,
OTSNode n4,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes, based on a Bezier curve.
This method returns an array of Lane. |
Modifier and Type | Method and Description |
---|---|
List<Lane> |
LaneFactory.getLanes()
Returns the created lanes in build order.
|
Modifier and Type | Class and Description |
---|---|
class |
NoTrafficLane
Lane without traffic, e.g.
|
Modifier and Type | Method and Description |
---|---|
Lane |
Lane.clone(CrossSectionLink newParentLink,
SimulatorInterface.TimeDoubleUnit newSimulator)
Clone the CrossSectionElement for e.g., copying a network.
|
Lane |
LaneDirection.getLane() |
Lane |
DirectedLanePosition.getLane()
Retrieve the lane.
|
Modifier and Type | Method and Description |
---|---|
Set<Lane> |
Lane.accessibleAdjacentLanesLegal(LateralDirectionality lateralDirection,
GTUType gtuType,
GTUDirectionality drivingDirection)
Determine the set of lanes to the left or to the right of this lane, which are accessible from this lane, or an empty set
if no lane could be found.
|
Set<Lane> |
Lane.accessibleAdjacentLanesPhysical(LateralDirectionality lateralDirection,
GTUType gtuType,
GTUDirectionality drivingDirection)
Determine the set of lanes to the left or to the right of this lane, which are accessible from this lane, or an empty set
if no lane could be found.
|
Map<Lane,GTUDirectionality> |
Lane.downstreamLanes(GTUDirectionality direction,
GTUType gtuType)
Returns the lanes that could be followed in a given direction and for the given GTU type.
|
List<Lane> |
CrossSectionLink.getLanes()
Return a safe copy of the list of lanes of this CrossSectionLink.
|
Map<Lane,GTUDirectionality> |
Lane.nextLanes(GTUType gtuType)
NextLanes returns the successor lane(s) in the design line direction, if any exist.
The next lane(s) are cached, as it is too expensive to make the calculation every time. |
Map<Lane,GTUDirectionality> |
Lane.prevLanes(GTUType gtuType)
PrevLanes returns the predecessor lane(s) relative to the design line direction, if any exist.
The previous lane(s) are cached, as it is too expensive to make the calculation every time. |
Map<Lane,GTUDirectionality> |
Lane.upstreamLanes(GTUDirectionality direction,
GTUType gtuType)
Returns the lanes that could precede in a given direction and for the given GTU type.
|
Constructor and Description |
---|
DirectedLanePosition(Lane lane,
Length position,
GTUDirectionality gtuDirection)
Construct a new DirectedLanePosition.
|
Lane(CrossSectionLink newParentLink,
SimulatorInterface.TimeDoubleUnit newSimulator,
Lane cse)
Clone a Lane for a new network.
|
LaneDirection(Lane lane,
GTUDirectionality direction) |
Modifier and Type | Method and Description |
---|---|
OvertakingDirection |
OvertakingConditions.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leaderGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightOnly.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.None.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAndRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneLeft.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneRight.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.SameLaneBoth.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftAlwaysRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightAlwaysLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leaderGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSet.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leaderGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.LeftSetRightSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
OvertakingDirection |
OvertakingConditions.RightSetLeftSpeed.checkOvertaking(Lane lane,
LaneBasedGTU gtu,
LaneBasedGTU leadereGTU)
Implementation of the overtaking conditions.
|
Modifier and Type | Method and Description |
---|---|
void |
LaneCombinationList.addLaneCombination(Lane lane1,
Lane lane2)
Add lane combination to the list.
|
static void |
ConflictBuilder.buildConflicts(Lane lane1,
GTUDirectionality dir1,
Lane lane2,
GTUDirectionality dir2,
GTUType gtuType,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
ConflictBuilder.WidthGenerator widthGenerator)
Build conflict on single lane pair.
|
static void |
ConflictBuilder.buildConflicts(Lane lane1,
GTUDirectionality dir1,
Lane lane2,
GTUDirectionality dir2,
GTUType gtuType,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
ConflictBuilder.WidthGenerator widthGenerator,
boolean permitted)
Build conflict on single lane pair.
|
boolean |
LaneCombinationList.contains(Lane lane1,
Lane lane2)
Returns whether the combination of the two lanes is included.
|
static void |
Conflict.generateConflictPair(ConflictType conflictType,
ConflictRule conflictRule,
boolean permitted,
Lane lane1,
Length longitudinalPosition1,
Length length1,
GTUDirectionality direction1,
OTSLine3D geometry1,
GTUType gtuType1,
Lane lane2,
Length longitudinalPosition2,
Length length2,
GTUDirectionality direction2,
OTSLine3D geometry2,
GTUType gtuType2,
DEVSSimulatorInterface.TimeDoubleUnit simulator)
Creates a pair of conflicts.
|
double |
ConflictBuilder.WidthGenerator.getWidth(Lane lane,
double fraction)
Returns the begin width of this lane.
|
double |
ConflictBuilder.FixedWidthGenerator.getWidth(Lane lane,
double fraction)
Returns the begin width of this lane.
|
double |
ConflictBuilder.RelativeWidthGenerator.getWidth(Lane lane,
double fraction)
Returns the begin width of this lane.
|
Modifier and Type | Method and Description |
---|---|
static void |
ConflictBuilder.buildConflicts(List<Lane> lanes,
GTUType gtuType,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
ConflictBuilder.WidthGenerator widthGenerator)
Build conflicts on list of lanes.
|
static void |
ConflictBuilder.buildConflicts(List<Lane> lanes,
GTUType gtuType,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
ConflictBuilder.WidthGenerator widthGenerator,
LaneCombinationList ignoreList,
LaneCombinationList permittedList)
Build conflicts on list of lanes.
|
Modifier and Type | Method and Description |
---|---|
Lane |
LaneBasedObject.getLane() |
Lane |
AbstractLaneBasedObject.getLane() |
Modifier and Type | Method and Description |
---|---|
static OTSLine3D |
LaneBasedObject.makeGeometry(Lane lane,
Length position)
Make a geometry perpendicular to the center line of the lane at the given position.
|
Constructor and Description |
---|
AbstractLaneBasedObject(String id,
Lane lane,
Length longitudinalPosition,
OTSLine3D geometry)
Construct a new LaneBasedObject with the required fields.
|
AbstractLaneBasedObject(String id,
Lane lane,
Length longitudinalPosition,
OTSLine3D geometry,
Length height)
Construct a new AbstractLanebasedObject with the required fields.
|
AbstractLaneBasedObject(String id,
Lane lane,
LongitudinalDirectionality direction,
Length longitudinalPosition,
OTSLine3D geometry)
Construct a new LaneBasedObject with the required fields.
|
AbstractLaneBasedObject(String id,
Lane lane,
LongitudinalDirectionality direction,
Length longitudinalPosition,
OTSLine3D geometry,
Length height)
Construct a new AbstractLanebasedObject with the required fields.
|
BusStop(String id,
Lane lane,
Length longitudinalPosition,
String name,
SimulatorInterface.TimeDoubleUnit simulator) |
Distraction(String id,
Lane lane,
Length longitudinalPosition,
SimulatorInterface.TimeDoubleUnit simulator,
Distraction.DistractionProfile profile) |
SpeedSign(String id,
Lane lane,
LongitudinalDirectionality direction,
Length longitudinalPosition,
SimulatorInterface.TimeDoubleUnit simulator,
Speed speed)
Speed sign active all day for all GTU types.
|
SpeedSign(String id,
Lane lane,
LongitudinalDirectionality direction,
Length longitudinalPosition,
SimulatorInterface.TimeDoubleUnit simulator,
Speed speed,
Duration startTimeOfDay,
Duration endTimeOfDay)
Speed sign for all GTU types.
|
SpeedSign(String id,
Lane lane,
LongitudinalDirectionality direction,
Length longitudinalPosition,
SimulatorInterface.TimeDoubleUnit simulator,
Speed speed,
GTUType gtuType)
Speed sign active all day.
|
SpeedSign(String id,
Lane lane,
LongitudinalDirectionality direction,
Length longitudinalPosition,
SimulatorInterface.TimeDoubleUnit simulator,
Speed speed,
GTUType gtuType,
Duration startTimeOfDay,
Duration endTimeOfDay)
Construct a new SpeedSign.
|
Constructor and Description |
---|
AbstractSensor(String id,
Lane lane,
Length longitudinalPosition,
RelativePosition.TYPE positionType,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
Compatible detectedGTUTypes)
Create a new AbstractSensor on a lane at a position on that lane at elevation
Sensor.DEFAULT_SENSOR_ELEVATION and default geometry. |
AbstractSensor(String id,
Lane lane,
Length longitudinalPosition,
RelativePosition.TYPE positionType,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
OTSLine3D geometry,
Compatible detectedGTUTypes)
Create a sensor on a lane at a position on that lane at elevation
Sensor.DEFAULT_SENSOR_ELEVATION . |
AbstractSensor(String id,
Lane lane,
Length longitudinalPosition,
RelativePosition.TYPE positionType,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
OTSLine3D geometry,
Length elevation,
Compatible detectedGTUTypes)
Create a sensor on a lane at a position on that lane.
|
Detector(String id,
Lane lane,
Length longitudinalPosition,
DEVSSimulatorInterface.TimeDoubleUnit simulator)
Constructor for regular Dutch dual-loop detectors measuring flow and mean speed aggregated over 60s.
|
Detector(String id,
Lane lane,
Length longitudinalPosition,
Length length,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
Duration aggregation,
Detector.DetectorMeasurement<?,?>... measurements)
Constructor.
|
SimpleReportingSensor(String id,
Lane lane,
Length position,
RelativePosition.TYPE triggerPosition,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
Compatible compatible)
Construct a new SimpleReportingSensor.
|
SinkSensor(Lane lane,
Length position,
DEVSSimulatorInterface.TimeDoubleUnit simulator) |
SinkSensor(String dummy1,
Lane lane,
Length position,
RelativePosition.TYPE dummy2,
DEVSSimulatorInterface.TimeDoubleUnit simulator) |
TrafficLightSensor(String id,
Lane laneA,
Length positionA,
Lane laneB,
Length positionB,
List<Lane> intermediateLanes,
RelativePosition.TYPE entryPosition,
RelativePosition.TYPE exitPosition,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
Compatible compatible)
Construct a new traffic light sensor.
TODO Possibly provide the GTUTypes that trigger the sensor as an argument for the constructor |
Constructor and Description |
---|
TrafficLightSensor(String id,
Lane laneA,
Length positionA,
Lane laneB,
Length positionB,
List<Lane> intermediateLanes,
RelativePosition.TYPE entryPosition,
RelativePosition.TYPE exitPosition,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
Compatible compatible)
Construct a new traffic light sensor.
TODO Possibly provide the GTUTypes that trigger the sensor as an argument for the constructor |
Constructor and Description |
---|
AbstractTrafficLight(String id,
Lane lane,
Length longitudinalPosition,
DEVSSimulatorInterface.TimeDoubleUnit simulator)
Construct an AbstractTrafficLight at default elevation (use only on roads at elevation 0).
|
AbstractTrafficLight(String id,
Lane lane,
Length longitudinalPosition,
DEVSSimulatorInterface.TimeDoubleUnit simulator,
Length height)
Construct an AbstractTrafficLight with specified elevation.
|
SimpleTrafficLight(String id,
Lane lane,
Length longitudinalPosition,
DEVSSimulatorInterface.TimeDoubleUnit simulator) |
Modifier and Type | Method and Description |
---|---|
Lane |
LaneData.getLane() |
Constructor and Description |
---|
LaneData(Lane lane) |
Copyright © 2014–2019 Delft University of Technology. All rights reserved.