Class ReactionTime

java.lang.Object
org.opentrafficsim.kpi.sampling.DataType<T,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataType<T,O,float[],G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataFloat<DurationUnit,org.djunits.value.vfloat.scalar.FloatDuration,org.djunits.value.vfloat.vector.FloatDurationVector,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataDuration<GtuDataRoad>
org.opentrafficsim.road.network.sampling.data.ReactionTime
All Implemented Interfaces:
Identifiable

public class ReactionTime extends ExtendedDataDuration<GtuDataRoad>
Leader id in trajectory information.

Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • ReactionTime

      public ReactionTime()
      Constructor.
  • Method Details

    • getValue

      public Optional<org.djunits.value.vfloat.scalar.FloatDuration> getValue(GtuDataRoad gtu)
      Specified by:
      getValue in class ExtendedDataType<org.djunits.value.vfloat.scalar.FloatDuration,org.djunits.value.vfloat.vector.FloatDurationVector,float[],GtuDataRoad>