public interface Estimation
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Estimation.FactorEstimation
Estimation based on a factor.
|
| Modifier and Type | Field and Description |
|---|---|
static Estimation |
NONE
No estimation errors.
|
static Estimation |
OVERESTIMATION
OVerestimation based on situational awareness.
|
static Estimation |
UNDERESTIMATION
Underestimation based on situational awareness.
|
| Modifier and Type | Method and Description |
|---|---|
NeighborTriplet |
estimate(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
Length distance,
boolean downstream,
Time when)
Estimate headway, speed and acceleration.
|
default Length |
getDelayedHeadway(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
Length distance,
boolean downstream,
Time when)
Returns a delayed headway.
|
default Speed |
getDelayedSpeedDifference(LaneBasedGTU perceivingGtu,
LaneBasedGTU perceivedGtu,
Time when)
Returns a delayed speed difference (other minus ego).
|
default Speed |
getEgoSpeed(LaneBasedGTU perceivingGtu)
Returns the ego speed.
|
static final Estimation NONE
static final Estimation UNDERESTIMATION
static final Estimation OVERESTIMATION
NeighborTriplet estimate(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when) throws ParameterException
perceivingGtu - LaneBasedGTU; perceiving GTUperceivedGtu - LaneBasedGTU; perceived GTUdistance - Length; actual headway at 'now' (i.e. not at 'when' if there is a reaction time)downstream - boolean; downstream (or upstream) neighborwhen - Time; moment of perception, reaction time includedParameterException - on invalid parameter value or if parameter is not availabledefault Length getDelayedHeadway(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Length distance, boolean downstream, Time when)
perceivingGtu - LaneBasedGTU; perceiving GTUperceivedGtu - LaneBasedGTU; perceived GTUdistance - Length; actual headway at 'now' (i.e. not at 'when' if there is a reaction time)downstream - boolean; downstream (or upstream) neighborwhen - Time; moment of perception, reaction time includeddefault Speed getEgoSpeed(LaneBasedGTU perceivingGtu)
perceivingGtu - LaneBasedGTU; perceiving GTUdefault Speed getDelayedSpeedDifference(LaneBasedGTU perceivingGtu, LaneBasedGTU perceivedGtu, Time when)
perceivingGtu - LaneBasedGTU; perceiving GTUperceivedGtu - LaneBasedGTU; perceived GTUwhen - Time; moment of perception, reaction time includedCopyright © 2014–2019 Delft University of Technology. All rights reserved.