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

Parameter class for Martinez and Jin (2020) stochastic car-following model. More...

#include <p_martinez_jin_2020.h>

Inheritance diagram for p_martinez_jin_2020:
p_newell params

Public Member Functions

 p_martinez_jin_2020 ()
 Default constructor for the p_martinez_jin_2020 parameter class.
 
 p_martinez_jin_2020 (double u, double tau)
 Constructor with custom parameter values.
 
- Public Member Functions inherited from p_newell
 p_newell ()
 Default constructor for p_newell.
 
 p_newell (double u, double w, double kj)
 Constructor with custom parameter values.
 
- Public Member Functions inherited from params
 params ()
 Default constructor for the params class.
 

Public Attributes

double tau = 1.5
 Wave travel time (τ), controlling the delay in vehicle reactions to changes in traffic.
 
- Public Attributes inherited from p_newell
double u = 90.0 / 3.6
 Free-flow speed in meters per second (default: 90 km/h).
 
double w = 18.0 / 3.6
 Wave speed in meters per second (default: 18 km/h).
 
double kj = 0.15
 Jam density in vehicles per meter (default: 0.15 vehicles/meter).
 

Detailed Description

Parameter class for Martinez and Jin (2020) stochastic car-following model.

This class defines the parameters for the Martinez and Jin (2020) model, an extension of Newell's car-following theory. The model accounts for heterogeneous driver behavior by introducing a wave travel time parameter (tau) and stochastic jam density.

Constructor & Destructor Documentation

◆ p_martinez_jin_2020() [1/2]

p_martinez_jin_2020::p_martinez_jin_2020 ( )

Default constructor for the p_martinez_jin_2020 parameter class.

Initializes the model with default values for wave travel time (tau) and inherited parameters from the Newell model.

◆ p_martinez_jin_2020() [2/2]

p_martinez_jin_2020::p_martinez_jin_2020 ( double u,
double tau )

Constructor with custom parameter values.

Allows setting custom values for the free-flow speed (u) and wave travel time (tau).

Parameters
uFree-flow speed in meters per second.
tauWave travel time in seconds.

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