Interface Estimation

  • All Known Implementing Classes:
    Estimation.FactorEstimation

    @Deprecated
    public interface Estimation
    Deprecated.
    Estimation of neighbor headway, speed and acceleration.
    XXX: Looking into the neighbor's internal state? Time 'when' necessary?

    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 6 apr. 2018
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    • Field Detail

      • NONE

        static final Estimation NONE
        Deprecated.
        No estimation errors.
      • UNDERESTIMATION

        static final Estimation UNDERESTIMATION
        Deprecated.
        Underestimation based on situational awareness.
      • OVERESTIMATION

        static final Estimation OVERESTIMATION
        Deprecated.
        OVerestimation based on situational awareness.
    • Method Detail

      • estimate

        NeighborTriplet estimate​(InternalLaneBasedGtu perceivingGtu,
                                 LaneBasedGtu perceivedGtu,
                                 Length distance,
                                 boolean downstream,
                                 Time when)
                          throws ParameterException
        Deprecated.
        Estimate headway, speed and acceleration.
        Parameters:
        perceivingGtu - InternalLaneBasedGtu; perceiving GTU
        perceivedGtu - LaneBasedGtu; perceived GTU
        distance - Length; actual headway at 'now' (i.e. not at 'when' if there is a reaction time)
        downstream - boolean; downstream (or upstream) neighbor
        when - Time; moment of perception, reaction time included
        Returns:
        NeighborTriplet; perceived headway, speed and acceleration
        Throws:
        ParameterException - on invalid parameter value or if parameter is not available
      • getDelayedHeadway

        default Length getDelayedHeadway​(InternalLaneBasedGtu perceivingGtu,
                                         LaneBasedGtu perceivedGtu,
                                         Length distance,
                                         boolean downstream,
                                         Time when)
        Deprecated.
        Returns a delayed headway.
        Parameters:
        perceivingGtu - InternalLaneBasedGtu; perceiving GTU
        perceivedGtu - LaneBasedGtu; perceived GTU
        distance - Length; actual headway at 'now' (i.e. not at 'when' if there is a reaction time)
        downstream - boolean; downstream (or upstream) neighbor
        when - Time; moment of perception, reaction time included
        Returns:
        Length; delayed headway
      • getEgoSpeed

        default Speed getEgoSpeed​(InternalLaneBasedGtu perceivingGtu)
        Deprecated.
        Returns the ego speed. This is the speed used in AbstractLaneBasedGTU.getCarFollowingAcceleration(), and hence this is the reference speed for the stimulus of speed difference.
        Parameters:
        perceivingGtu - InternalLaneBasedGtu; perceiving GTU
        Returns:
        Speed; ego speed
      • getDelayedSpeedDifference

        default Speed getDelayedSpeedDifference​(InternalLaneBasedGtu perceivingGtu,
                                                LaneBasedGtu perceivedGtu,
                                                Time when)
        Deprecated.
        Returns a delayed speed difference (other minus ego).
        Parameters:
        perceivingGtu - InternalLaneBasedGtu; perceiving GTU
        perceivedGtu - LaneBasedGtu; perceived GTU
        when - Time; moment of perception, reaction time included
        Returns:
        Speed; delayed speed difference (other minus ego)