67 double desired_minimum_gap(
double vl,
double vf,
params* q =
nullptr);
The Intelligent Driver Model (IDM) for car-following behavior.
Definition idm.h:38
idm()
Default constructor for the IDM model.
double equil_spcg(double vl, double vf, params *q=nullptr) override
Computes the equilibrium spacing between the leader and follower.
idm(p_idm *pars)
Constructor for the IDM model with custom parameters.
double wave_speed(point *leader, point *follower, params *p) override
Computes the wave speed in a traffic disturbance.
double free_flow_speed(params *p=nullptr) override
Returns the free-flow speed of the IDM model.
Abstract car-following model class.
Definition model.h:30
params * pars
Parameters for the car-following model.
Definition model.h:47
Parameters for the Intelligent Driver Model (IDM).
Definition p_idm.h:29
Base class for car-following model parameters.
Definition params.h:24
Represents a point in time for a vehicle in a traffic simulation.
Definition point.h:23
File for the model and lcm classes definitions (short description).
Parameters for the Intelligent Driver Model (IDM).
File for the point class definition.