Autopysta
Loading...
Searching...
No Matches
p_lcm_gipps Class Reference

Parameter manager for the Gipps (1986) lane-changing model. More...

#include <lcm_gipps.h>

Inheritance diagram for p_lcm_gipps:
params

Public Member Functions

 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.
 
- Public Member Functions inherited from params
 params ()
 Default constructor for the params class.
 

Public Attributes

double _pvl
 Fraction of free-flow speed for overtaking (left lane change).
 
double _pvh
 Fraction of free-flow speed for returning (right lane change).
 

Detailed Description

Parameter manager for the Gipps (1986) lane-changing model.

This class handles the lane-changing parameters, including the fractions of free-flow speed required to initiate overtaking (left lane change) and to revert to the original lane (right lane change).

Constructor & Destructor Documentation

◆ p_lcm_gipps() [1/2]

p_lcm_gipps::p_lcm_gipps ( )

Default constructor for the Gipps lane-changing model parameters.

Initializes parameters with default values: _pvl = 0.9 and _pvh = 0.95.

◆ p_lcm_gipps() [2/2]

p_lcm_gipps::p_lcm_gipps ( double pvlow,
double pvhigh )

Constructor with custom lane-changing parameters.

Initializes parameters with the given values.

Parameters
pvlowFraction of free-flow speed for overtaking (must be between 0 and 1).
pvhighFraction of free-flow speed for returning to the original lane (must be between pvlow and 1).
Exceptions
Exceptionif the input values are not in the range 0 < pvlow < pvhigh < 1.

The documentation for this class was generated from the following file: