Interface DesiredSpeedModel
- All Known Subinterfaces:
CarFollowingModel
- All Known Implementing Classes:
AbstractCarFollowingModel,AbstractIdm,AbstractIdm.IdmDesiredSpeedModel,Idm,IdmPlus,IdmPlusMulti,SocioDesiredSpeed
public interface DesiredSpeedModel
Desired speed model.
Copyright (c) 2013-2026 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.SpeeddesiredSpeed(Parameters parameters, SpeedLimits speedLimits, org.djunits.value.vdouble.scalar.Speed maxVehicleSpeed) Determines the desired speed.
-
Method Details
-
desiredSpeed
org.djunits.value.vdouble.scalar.Speed desiredSpeed(Parameters parameters, SpeedLimits speedLimits, org.djunits.value.vdouble.scalar.Speed maxVehicleSpeed) throws ParameterException Determines the desired speed.- Parameters:
parameters- parametersspeedLimits- speed limitsmaxVehicleSpeed- maximum speed of the vehicle- Returns:
- desired speed
- Throws:
ParameterException- if parameter exception occurs
-