Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.38 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.38 KB

Traffic Simulation using concurrency in C++

This traffic simulator tries to simulate a real world traffic scenario. The cars arrives in random fashion at traffic lights and controls there behaviour accordingly to avoid accidents at intersections. This project uses thread safe communication protocol between vehicles and intersections to complete simulation.

Dependencies for Running Locally

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory in the top level directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./traffic_simulation.