Skip to content

jayesh9747/Alternative-Routes-in-Road-Networks

Repository files navigation

Alternative Routes in Road Networks

This project simulates traffic flow and alternative routes in road networks using OpenGL.

Prerequisites

  • g++
  • OpenGL
  • GLU
  • GLUT

Installation

  1. Install the required packages:

    On Ubuntu:

    sudo apt-get update
    sudo apt-get install g++ freeglut3-dev

    On Fedora:

    sudo dnf install g++ freeglut-devel

    On MacOS (with Homebrew):

    brew install freeglut
  2. Clone the repository:

    git clone https://github.com/jayesh9747/Alternative-Routes-in-Road-Networks.git
    cd Alternative-Routes-in-Road-Networks

Usage

  1. Compile the code:

    g++ -o Alternative-Routes-in-Road-Networks Alternative-Routes-in-Road-Networks.cpp -lGL -lGLU -lglut
  2. Run the simulation:

    ./Alternative-Routes-in-Road-Networks

Files

  • traffic_simulation.cpp: The main source code for the traffic simulation.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Make sure to replace `https://github.com/jayesh9747/Alternative-Routes-in-Road-Networks.git` with the actual URL of your repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages