Representation of a vehicle in the micro simulation.
SUMOReal getMaxSpeed() const
Get vehicle's maximum speed [m/s].
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.
SUMOReal myAccel
The vehicle's maximum acceleration [m/s^2].
SUMOReal myHeadwayTime
The driver's desired time headway (aka reaction time tau) [s].
SUMOReal getPositionOnLane() const
Get the vehicle's position along the lane.
The car-following model and parameter.
SUMOReal slopeDegreeAtOffset(SUMOReal pos) const
Returns the slope at the given length.
SUMOReal myDawdle
The vehicle's dawdle-parameter. 0 for no dawdling, 1 for max.
MSCFModel_KraussAccelBound(const MSVehicleType *vtype, SUMOReal accel, SUMOReal decel, SUMOReal dawdle, SUMOReal headwayTime)
Constructor.
SUMOReal interpolateLanePosToGeometryPos(SUMOReal lanePos) const
const MSVehicleType & getVehicleType() const
Returns the vehicle's type definition.
static SUMOReal getMaxAccel(SUMOEmissionClass c, double v, double a, double slope)
Returns the maximum possible acceleration.
const PositionVector & getShape() const
Returns this lane's shape.
SUMOEmissionClass getEmissionClass() const
Get this vehicle type's emission class.
MSLane * getLane() const
Returns the lane the vehicle is on.
Krauss car-following model, with acceleration decrease and faster start.
Representation of a lane in the micro simulation.
SUMOReal myDecel
The vehicle's maximum deceleration [m/s^2].