|
Autopysta
|
Parameter manager for the Gipps (1986) lane-changing model. More...
#include <lcm_gipps.h>
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). | |
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).
| 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::p_lcm_gipps | ( | double | pvlow, |
| double | pvhigh ) |
Constructor with custom lane-changing parameters.
Initializes parameters with the given values.
| pvlow | Fraction of free-flow speed for overtaking (must be between 0 and 1). |
| pvhigh | Fraction of free-flow speed for returning to the original lane (must be between pvlow and 1). |
| Exception | if the input values are not in the range 0 < pvlow < pvhigh < 1. |