| Package | Description |
|---|---|
| org.opentrafficsim.road.network.speed |
Classes to connect driver behavior with many different aspects that govern the desired speed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SpeedLimitTypeSpeed
Implementation of SpeedLimitType suitable for the most common speed info class
Speed. |
class |
SpeedLimitTypeSpeedLegal
Similar to
SpeedLimitTypeSpeed but implements the marker interface LegalSpeedLimit. |
| Modifier and Type | Field and Description |
|---|---|
static SpeedLimitType<SpeedInfoCurvature> |
SpeedLimitTypes.CURVATURE
Curvature speed limit type.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
SpeedLimitProspect.addSpeedInfo(org.djunits.value.vdouble.scalar.Length distance,
SpeedLimitType<T> speedLimitType,
T speedInfo)
Sets the speed info of a speed limit type.
|
<T> void |
SpeedLimitInfo.addSpeedInfo(SpeedLimitType<T> speedLimitType,
T speedInfo)
Adds or overwrites the speed info of the given speed limit type.
|
<T> SpeedLimitInfo |
SpeedLimitProspect.buildSpeedLimitInfo(org.djunits.value.vdouble.scalar.Length distance,
SpeedLimitType<T> speedLimitType)
Builds speed limit info with only MAX_VEHICLE_SPEED and the given speed limit type, where the speed info is obtained at
the given distance.
|
boolean |
SpeedLimitInfo.containsType(SpeedLimitType<?> speedLimitType)
Whether speed info is present for the given speed limit type.
|
List<org.djunits.value.vdouble.scalar.Length> |
SpeedLimitProspect.getDistances(SpeedLimitType<?> speedLimitType)
Returns the distances at which a change of the given speed limit type in the prospect is present in order (most upstream
first).
|
List<org.djunits.value.vdouble.scalar.Length> |
SpeedLimitProspect.getDownstreamDistances(SpeedLimitType<?> speedLimitType)
Returns the downstream distances at which a change of the given speed limit type in the prospect is present in order
(most upstream first).
|
<T> T |
SpeedLimitInfo.getSpeedInfo(SpeedLimitType<T> speedLimitType)
Returns the info regarding a specific speed limit type.
|
<T> T |
SpeedLimitProspect.getSpeedInfoChange(org.djunits.value.vdouble.scalar.Length distance,
SpeedLimitType<T> speedLimitType)
Returns the speed info of given speed limit type where it changed.
|
List<org.djunits.value.vdouble.scalar.Length> |
SpeedLimitProspect.getUpstreamDistances(SpeedLimitType<?> speedLimitType)
Returns the upstream distances at which a change of the given speed limit type in the prospect is present in order (most
upstream first).
|
void |
SpeedLimitProspect.removeSpeedInfo(org.djunits.value.vdouble.scalar.Length distance,
SpeedLimitType<?> speedLimitType)
Removes the speed info of a speed limit type.
|
void |
SpeedLimitInfo.removeSpeedInfo(SpeedLimitType<?> speedLimitType)
Removes the speed info of given speed limit type.
|
boolean |
SpeedLimitProspect.speedInfoChanged(org.djunits.value.vdouble.scalar.Length distance,
SpeedLimitType<?> speedLimitType)
Returns whether the given speed limit type is changed at the given distance.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.