21 #ifndef MSCFModel_Wiedemann_H 22 #define MSCFModel_Wiedemann_H The Wiedemann Model car-following model.
SUMOReal _v(const MSVehicle *veh, SUMOReal predSpeed, SUMOReal gap) const
Representation of a vehicle in the micro simulation.
MSCFModel_Wiedemann(const MSVehicleType *vtype, SUMOReal accel, SUMOReal decel, SUMOReal security, SUMOReal estimation)
Constructor.
SUMOReal interactionGap(const MSVehicle *const, SUMOReal vL) const
Returns the maximum gap at which an interaction between both vehicles occurs.
The car-following model abstraction.
MSCFModel_Wiedemann & operator=(const MSCFModel_Wiedemann &s)
Invalidated assignment operator.
int getModelID() const
Returns the model's name.
const SUMOReal myAX
front-bumper to front-bumper distance
The car-following model and parameter.
SUMOReal accelSign
state variable for remembering the drift direction
static const SUMOReal D_MAX
free-flow distance in m
const SUMOReal myEstimation
The driver's estimation parameter // also 'ZF2'.
const SUMOReal myMinAccel
The vehicle's minimum acceleration [m/s^2].
~MSCFModel_Wiedemann()
Destructor.
SUMOReal moveHelper(MSVehicle *const veh, SUMOReal vPos) const
Applies interaction with stops and lane changing model influences.
const SUMOReal myCX
perception threshold modifier
SUMOReal approaching(SUMOReal dv, SUMOReal dx, SUMOReal bx) const
SUMOReal following(SUMOReal sign) const
const SUMOReal mySecurity
The driver's security parameter // also 'ZF1'.
VehicleVariables * createVehicleVariables() const
Returns model specific values which are stored inside a vehicle and must be used with casting...
MSCFModel * duplicate(const MSVehicleType *vtype) const
Duplicates the car-following model.
SUMOReal stopSpeed(const MSVehicle *const veh, const SUMOReal speed, SUMOReal gap) const
Computes the vehicle's safe speed for approaching a non-moving obstacle (no dawdling) ...
SUMOReal followSpeed(const MSVehicle *const veh, SUMOReal speed, SUMOReal gap2pred, SUMOReal predSpeed, SUMOReal predMaxDecel) const
Computes the vehicle's safe speed (no dawdling)
SUMOReal fullspeed(SUMOReal v, SUMOReal vpref, SUMOReal dx, SUMOReal bx) const
SUMOReal emergency(SUMOReal dv, SUMOReal dx) const
SUMOReal krauss_vsafe(SUMOReal gap, SUMOReal predSpeed) const
vsafe from krauss since Wiedemann is deficient at approaching