Interface DesiredHeadwayModel
- All Known Subinterfaces:
CarFollowingModel
,GtuFollowingModelOld
- All Known Implementing Classes:
AbstractCarFollowingModel
,AbstractGtuFollowingModelMobil
,AbstractIdm
,FixedAccelerationModel
,Idm
,IdmOld
,IdmPlus
,IdmPlusMulti
,IdmPlusOld
,SequentialFixedAccelerationModel
,ToledoCarFollowing
public interface DesiredHeadwayModel
Desired headway model.
Copyright (c) 2013-2024 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
-
Method Summary
Modifier and TypeMethodDescriptionorg.djunits.value.vdouble.scalar.Length
desiredHeadway
(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed) Determines the desired headway in equilibrium conditions, i.e. no speed difference with the leader.
-
Method Details
-
desiredHeadway
org.djunits.value.vdouble.scalar.Length desiredHeadway(org.opentrafficsim.base.parameters.Parameters parameters, org.djunits.value.vdouble.scalar.Speed speed) throws org.opentrafficsim.base.parameters.ParameterException Determines the desired headway in equilibrium conditions, i.e. no speed difference with the leader.- Parameters:
parameters
- Parameters; parametersspeed
- Speed; speed to determine the desired headway at- Returns:
- desired headway
- Throws:
org.opentrafficsim.base.parameters.ParameterException
- if parameter exception occurs
-