Dynamical system model
|
The aim of this project is to rework the original Traffic Flow Dynamics Model. This rework consists of a full code rewriting, in order to implement more features (like intersections) and get advantage from the latest C++ updates.
The project only requires C++20
or greater and cmake
.
Utilities are written in python. To install their dependencies:
The library can be installed using CMake. To build and install the project in the default folder run:
Otherwise, it is possible to customize the installation path:
then building and installing it (eventually in sudo mode) with:
This project uses Doctest for testing.
To compile tests run:
To run all the tests together use the command:
Some functionalities of the library have been benchmarked in order to assess their efficiency.
The benchmarks are performed using a small toolkit developed by @sbaldu, in order to keep them simple and without needing to rely on large external libraries.
To compile the benchmarks use the commands:
To run all the benchmarks together use the command: