Skip to content

This project is part of my c++ nanodegree program. I have learned the basics of concurrent of programming in c++ using my knowledge implemented a concurrent traffic simulator.

Notifications You must be signed in to change notification settings

anikket786/Traffic_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This project is part of my c++ nanodegree program. I have learned the basics of concurrent of programming in c++ using my knowledge implemented a concurrent traffic simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published