Lane-changing model based on the Gipps (1986) behavioral model.
Definition lcm_gipps.h:59
bool lch_left(point *leader, point *subject, point *new_leader, point *new_follower, model *cfm, params *lcmpars) override
Determine if the vehicle should change lanes to the left.
lcm_gipps(p_lcm_gipps *p)
Constructor for the Gipps lane-changing model with custom parameters.
lcm_gipps()
Default constructor for the Gipps lane-changing model.
bool lch_right(point *leader, point *follower, point *new_leader, point *new_follower, model *cfm, params *lcmpars) override
Determine if the vehicle should change lanes to the right.
Abstract class for lane-changing models.
Definition model.h:129
Abstract car-following model class.
Definition model.h:30
Parameter manager for the Gipps (1986) lane-changing model.
Definition lcm_gipps.h:26
p_lcm_gipps()
Default constructor for the Gipps lane-changing model parameters.
p_lcm_gipps(double pvlow, double pvhigh)
Constructor with custom lane-changing parameters.
double _pvl
Fraction of free-flow speed for overtaking (left lane change).
Definition lcm_gipps.h:28
double _pvh
Fraction of free-flow speed for returning (right lane change).
Definition lcm_gipps.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).