10#ifndef _NEWELL_CONSTRAINED_TIMESTEP
11#define _NEWELL_CONSTRAINED_TIMESTEP
Base class for different types of trajectories.
Definition trajectory.h:26
Newell (2002) car-following model with a constrained timestep of 1.
Definition newell_constrained_timestep.h:25
newell_constrained_timestep(p_newell *p)
Constructor with custom parameters for Newell's model.
newell_constrained_timestep()
Default constructor for the newell_constrained_timestep model.
void validate_parameters(params *p=nullptr) override
Validates the model parameters, ensuring the timestep is constrained to 1.
point * new_point(generalized_trajectory *leader, trajectory *follower, params *p=nullptr) override
Computes the next point in the follower's trajectory.
Newell's car-following model (2002).
Definition newell.h:34
Parameter class for Newell's car-following model.
Definition p_newell.h:32
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
Represents a dynamic trajectory of a moving object.
Definition trajectory.h:59
File for the clock class definition (short description).
Header file for Newell's car-following model class definition.
File for the point class definition.