23 #ifndef MSCFModel_Krauss_h
24 #define MSCFModel_Krauss_h
MSCFModel_Krauss(const MSVehicleType *vtype, SUMOReal accel, SUMOReal decel, SUMOReal dawdle, SUMOReal headwayTime)
Constructor.
Representation of a vehicle in the micro simulation.
The car-following model abstraction.
The original Krauss (1998) car-following model and parameter.
~MSCFModel_Krauss()
Destructor.
SUMOReal stopSpeed(const MSVehicle *const veh, const SUMOReal speed, SUMOReal gap2pred) const
Computes the vehicle's safe speed for approaching a non-moving obstacle (no dawdling) this uses the m...
The car-following model and parameter.
SUMOReal followSpeed(const MSVehicle *const veh, SUMOReal speed, SUMOReal gap2pred, SUMOReal predSpeed, SUMOReal predMaxDecel) const
Computes the vehicle's safe speed (no dawdling) this uses the maximumSafeFollowSpeed.
MSCFModel * duplicate(const MSVehicleType *vtype) const
Duplicates the car-following model.
SUMOReal dawdle(SUMOReal speed) const
Applies driver imperfection (dawdling / sigma)
Krauss car-following model, with acceleration decrease and faster start.
int getModelID() const
Returns the model's name.