public interface Tailgating
 Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Modifier and Type | Field and Description | 
|---|---|
static Tailgating | 
NONE
No tailgating. 
 | 
static Tailgating | 
PRESSURE
Tailgating based on speed pressure. 
 | 
static org.opentrafficsim.base.parameters.ParameterTypeDouble | 
RHO
Social pressure applied to the leader. 
 | 
static Tailgating | 
RHO_ONLY
No tailgating, but social pressure exists. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static double | 
socialPressure(org.djunits.value.vdouble.scalar.Speed speed,
              org.djunits.value.vdouble.scalar.Speed vCong,
              org.djunits.value.vdouble.scalar.Speed desiredSpeed,
              org.djunits.value.vdouble.scalar.Speed leaderSpeed,
              org.djunits.value.vdouble.scalar.Speed vGain,
              org.djunits.value.vdouble.scalar.Length headway,
              org.djunits.value.vdouble.scalar.Length x0)
Returns a normalized social pressure, equal to (vDesired - vLead) / vGain. 
 | 
void | 
tailgate(LanePerception perception,
        org.opentrafficsim.base.parameters.Parameters parameters)
Apply tailgating. 
 | 
static final org.opentrafficsim.base.parameters.ParameterTypeDouble RHO
static final Tailgating NONE
static final Tailgating RHO_ONLY
static final Tailgating PRESSURE
static double socialPressure(org.djunits.value.vdouble.scalar.Speed speed,
                             org.djunits.value.vdouble.scalar.Speed vCong,
                             org.djunits.value.vdouble.scalar.Speed desiredSpeed,
                             org.djunits.value.vdouble.scalar.Speed leaderSpeed,
                             org.djunits.value.vdouble.scalar.Speed vGain,
                             org.djunits.value.vdouble.scalar.Length headway,
                             org.djunits.value.vdouble.scalar.Length x0)
speed - Speed; speedvCong - Speed; speed indicating congestiondesiredSpeed - Speed; desired speedleaderSpeed - Speed; leader speedvGain - Speed; vGain parameterheadway - Length; headway to the leaderx0 - Length; anticipation distancevoid tailgate(LanePerception perception, org.opentrafficsim.base.parameters.Parameters parameters)
perception - LanePerception; perceptionparameters - Parameters; parametersCopyright © 2014–2018 Delft University of Technology. All rights reserved.