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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatSpeed
getValue(GtuData gtu)
String
toString()
-
Methods inherited from class org.opentrafficsim.kpi.sampling.data.ExtendedDataTypeSpeed
convert, convertValue, interpolate, parseValue
-
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, getType, hashCode
-
-
-
-
Method Detail
-
getValue
public final FloatSpeed getValue(GtuData gtu)
- Specified by:
getValue
in classExtendedDataType<FloatSpeed,FloatSpeedVector,float[],GtuData>
-
-