20 #ifndef MSCFModel_KraussAccelBound_h 21 #define MSCFModel_KraussAccelBound_h Representation of a vehicle in the micro simulation.
SUMOReal maxNextSpeed(SUMOReal speed, const MSVehicle *const veh) const
Returns the maximum speed given the current speed.
MSCFModel * duplicate(const MSVehicleType *vtype) const
Duplicates the car-following model.
~MSCFModel_KraussAccelBound()
Destructor.
The car-following model abstraction.
The car-following model and parameter.
Krauss car-following model, with PHEMlight-based acceleration limits.
MSCFModel_KraussAccelBound(const MSVehicleType *vtype, SUMOReal accel, SUMOReal decel, SUMOReal dawdle, SUMOReal headwayTime)
Constructor.
int getModelID() const
Returns the model's name.
SUMOReal dawdle(SUMOReal speed) const
Applies driver imperfection (dawdling / sigma)
Krauss car-following model, with acceleration decrease and faster start.