47 const double vMax =
MAX2(
Krauss car-following model, with acceleration decrease and faster start.
Krauss car-following model, changing accel and speed by slope.
MSCFModel_KraussPS(const MSVehicleType *vtype)
Constructor.
~MSCFModel_KraussPS()
Destructor.
MSCFModel * duplicate(const MSVehicleType *vtype) const
Duplicates the car-following model.
double maxNextSpeed(double speed, const MSVehicle *const veh) const
Returns the maximum speed given the current speed.
The car-following model abstraction.
double getMaxAccel() const
Get the vehicle type's maximum acceleration [m/s^2].
const MSVehicleType * myType
The type to which this model definition belongs to.
double getMaxDecel() const
Get the vehicle type's maximal comfortable deceleration [m/s^2].
Representation of a vehicle in the micro simulation.
double getSlope() const
Returns the slope of the road at vehicle's position in degrees.
The car-following model and parameter.
double getMaxSpeed() const
Get vehicle's (technical) maximum speed [m/s].