| 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,org.djunits.value.vdouble.scalar.Speed> |
GTUTypeAssumptions.getMaxSpeeds(org.opentrafficsim.core.gtu.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 |
|---|---|
org.djunits.value.vdouble.scalar.Speed |
GTUTypeAssumptions.getLaneTypeMaxSpeed(org.opentrafficsim.core.gtu.GTUType gtuType,
LaneType laneType)
Return the maximum speed on a LaneType for a certain GTUType as an assumption for that GTUType.
|
void |
GTUTypeAssumptions.setLaneTypeMaxSpeed(org.opentrafficsim.core.gtu.GTUType gtuType,
LaneType laneType,
org.djunits.value.vdouble.scalar.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(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode from,
org.opentrafficsim.core.network.OTSNode to,
org.opentrafficsim.core.geometry.OTSPoint3D[] intermediatePoints,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
Create a simple Lane.
|
static Lane[] |
LaneFactory.makeMultiLane(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode from,
org.opentrafficsim.core.network.OTSNode to,
org.opentrafficsim.core.geometry.OTSPoint3D[] intermediatePoints,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLane(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode from,
org.opentrafficsim.core.network.OTSNode to,
org.opentrafficsim.core.geometry.OTSPoint3D[] intermediatePoints,
int laneCount,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLaneBezier(org.opentrafficsim.core.network.Network network,
String name,
org.opentrafficsim.core.network.OTSNode n1,
org.opentrafficsim.core.network.OTSNode n2,
org.opentrafficsim.core.network.OTSNode n3,
org.opentrafficsim.core.network.OTSNode n4,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.LongitudinalDirectionality direction)
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.ALL
Lane type that allows all vehicles.
|
static LaneType |
LaneType.NONE
Lane type that does not allow any vehicles.
|
| Modifier and Type | Method and Description |
|---|---|
LaneType |
Lane.getLaneType() |
| Constructor and Description |
|---|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffset,
org.djunits.value.vdouble.scalar.Length width,
LaneType laneType,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
org.djunits.value.vdouble.scalar.Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffset,
org.djunits.value.vdouble.scalar.Length width,
LaneType laneType,
Map<org.opentrafficsim.core.gtu.GTUType,org.opentrafficsim.core.network.LongitudinalDirectionality> directionalityMap,
Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtStart,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtEnd,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.Length endWidth,
LaneType laneType,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
org.djunits.value.vdouble.scalar.Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtStart,
org.djunits.value.vdouble.scalar.Length lateralOffsetAtEnd,
org.djunits.value.vdouble.scalar.Length beginWidth,
org.djunits.value.vdouble.scalar.Length endWidth,
LaneType laneType,
Map<org.opentrafficsim.core.gtu.GTUType,org.opentrafficsim.core.network.LongitudinalDirectionality> directionalityMap,
Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices,
LaneType laneType,
org.opentrafficsim.core.network.LongitudinalDirectionality directionality,
org.djunits.value.vdouble.scalar.Speed speedLimit,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Lane(CrossSectionLink parentLink,
String id,
List<CrossSectionSlice> crossSectionSlices,
LaneType laneType,
Map<org.opentrafficsim.core.gtu.GTUType,org.opentrafficsim.core.network.LongitudinalDirectionality> directionalityMap,
Map<org.opentrafficsim.core.gtu.GTUType,org.djunits.value.vdouble.scalar.Speed> speedLimitMap,
OvertakingConditions overtakingConditions)
Construct a new Lane.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.