SUMO - Simulation of Urban MObility
MSCFModel_KraussAccelBound.h
Go to the documentation of this file.
1 /****************************************************************************/
7 // Krauss car-following model, with PHEMlight-based acceleration limits
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10 // Copyright (C) 2001-2015 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software: you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation, either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #ifndef MSCFModel_KraussAccelBound_h
21 #define MSCFModel_KraussAccelBound_h
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #ifdef _MSC_VER
27 #include <windows_config.h>
28 #else
29 #include <config.h>
30 #endif
31 
32 #include "MSCFModel_Krauss.h"
34 
35 
36 // ===========================================================================
37 // class definitions
38 // ===========================================================================
44 public:
51  MSCFModel_KraussAccelBound(const MSVehicleType* vtype, SUMOReal accel, SUMOReal decel, SUMOReal dawdle, SUMOReal headwayTime);
52 
53 
56 
57 
60 
73  SUMOReal maxNextSpeed(SUMOReal speed, const MSVehicle* const veh) const;
74 
75 
80  int getModelID() const {
82  }
84 
85 
90  MSCFModel* duplicate(const MSVehicleType* vtype) const;
91 
92 
93 };
94 
95 #endif /* MSCFModel_KraussAccelBound_H */
96 
Representation of a vehicle in the micro simulation.
Definition: MSVehicle.h:80
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.
The car-following model abstraction.
Definition: MSCFModel.h:59
The car-following model and parameter.
Definition: MSVehicleType.h:74
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)
#define SUMOReal
Definition: config.h:218
Krauss car-following model, with acceleration decrease and faster start.