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-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 1 nov. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Length
desiredHeadway(Parameters parameters, Speed speed)
Determines the desired headway in equilibrium conditions, i.e.
-
-
-
Method Detail
-
desiredHeadway
Length desiredHeadway(Parameters parameters, Speed speed) throws 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:
ParameterException
- if parameter exception occurs
-
-