| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.lane.perception |
Implementation of lane-based perception for the 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.
|
| Modifier and Type | Method and Description |
|---|---|
Map<LaneType,Speed> |
GTUTypeAssumptions.getMaxSpeeds(GTUType gtuType)
Return a safe copy of the maximum speed for all LaneTypes for a certain GTUType as an assumption for that GTUType.
|
| Modifier and Type | Method and Description |
|---|---|
Speed |
GTUTypeAssumptions.getLaneTypeMaxSpeed(GTUType gtuType,
LaneType laneType)
Return the maximum speed on a LaneType for a certain GTUType as an assumption for that GTUType.
|
void |
GTUTypeAssumptions.setLaneTypeMaxSpeed(GTUType gtuType,
LaneType laneType,
Speed maxSpeed)
Set the maximum speed for a certain GTUType on a certain LaneType as an assumption for that GTUType.
|
| Modifier and Type | Method and Description |
|---|---|
static Lane |
LaneFactory.makeLane(Network network,
String name,
OTSNode from,
OTSNode to,
OTSPoint3D[] intermediatePoints,
LaneType laneType,
Speed speedLimit,
DEVSSimulatorInterface.TimeDoubleUnit 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,
DEVSSimulatorInterface.TimeDoubleUnit 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,
DEVSSimulatorInterface.TimeDoubleUnit 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,
DEVSSimulatorInterface.TimeDoubleUnit 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 | Field and Description |
|---|---|
static LaneType |
LaneType.BICYCLE_PATH
Bicycle path (Dutch: fietspad).
|
static LaneType |
LaneType.BUS_LANE
Bidirectional bus lane (Dutch: busstrook).
|
static LaneType |
LaneType.FOOTPATH
Bidirectional footpath (Dutch: voetpad).
|
static LaneType |
LaneType.FREEWAY
Controlled access roads (Dutch: snelweg).
|
static LaneType |
LaneType.HIGHWAY
High speed vehicular roads (Dutch: autoweg).
|
static LaneType |
LaneType.MOPED_PATH
Bidirectional bicycle lane (Dutch: (brom)fietspad).
|
static LaneType |
LaneType.NONE
The lane type used for lanes that are forbidden to all GTU types.
|
static LaneType |
LaneType.ONE_WAY_LANE
Vehicular lane that is two-way for PEDESTRIANS but only permitted in design direction for all other road users.
|
static LaneType |
LaneType.RESIDENTIAL_ROAD_LANE
Residential vehicular roads (Dutch: woonerf).
|
static LaneType |
LaneType.RURAL_ROAD_LANE
Lane on rural vehicular roads (Dutch: weg buiten bebouwde kom).
|
static LaneType |
LaneType.TWO_WAY_LANE
Vehicular roads (Dutch: weg); allows all road vehicles and pedestrians.
|
static LaneType |
LaneType.URBAN_ROAD_LANE
Lane on urban vehicular roads (Dutch: weg binnen bebouwde kom).
|
| Modifier and Type | Method and Description |
|---|---|
LaneType |
Lane.getLaneType() |
LaneType |
LaneType.inv()
Construct a new Lane type based on another Lane type with longitudinally inverted compatibility.
|
| Constructor and Description |
|---|
Lane(CrossSectionLink parentLink,
String id,
Length lateralOffset,
Length width,
LaneType laneType,
Map<GTUType,Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
Length lateralOffset,
Length width,
LaneType laneType,
Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
Length lateralOffsetAtStart,
Length lateralOffsetAtEnd,
Length beginWidth,
Length endWidth,
LaneType laneType,
Map<GTUType,Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
Length lateralOffsetAtStart,
Length lateralOffsetAtEnd,
Length beginWidth,
Length endWidth,
LaneType laneType,
Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices,
LaneType laneType,
Map<GTUType,Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices,
LaneType laneType,
Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
LaneType(String id,
LaneType parent,
GTUCompatibility<LaneType> compatibility)
Create a new Lane type with a compatibility set.
|
| Constructor and Description |
|---|
LaneType(String id,
LaneType parent,
GTUCompatibility<LaneType> compatibility)
Create a new Lane type with a compatibility set.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.