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