Class SpeedLimit
java.lang.Object
org.opentrafficsim.kpi.sampling.data.ExtendedDataType<T,O,float[],G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataTypeFloat<SpeedUnit,FloatSpeed,FloatSpeedVector,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataTypeSpeed<GtuData>
org.opentrafficsim.road.network.sampling.data.SpeedLimit
- All Implemented Interfaces:
Identifiable
public class SpeedLimit extends ExtendedDataTypeSpeed<GtuData>
Speed limit for trajectories.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 11 okt. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description SpeedLimit()
Constructor. -
Method Summary
Modifier and Type Method Description FloatSpeed
getValue(GtuData gtu)
java.lang.String
toString()
Methods inherited from class org.opentrafficsim.kpi.sampling.data.ExtendedDataTypeSpeed
convert, convertValue, interpolate
Methods inherited from class org.opentrafficsim.kpi.sampling.data.ExtendedDataTypeFloat
convert, formatValue, getOutputValue, getStorageValue, initializeStorage, setValue
Methods inherited from class org.opentrafficsim.kpi.sampling.data.ExtendedDataType
equals, getId, hashCode
-
Constructor Details
-
SpeedLimit
public SpeedLimit()Constructor.
-
-
Method Details
-
getValue
- Specified by:
getValue
in classExtendedDataType<FloatSpeed,FloatSpeedVector,float[],GtuData>
-
toString
public final java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-