Skip to content

Simulation of Dijkstra's Algorithm written in C using OpenGL graphics library.

Notifications You must be signed in to change notification settings

suhas023/Dijkstras-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Dijkstras-Algorithm

Simulation of Dijkstra's Algorithm written in C using OpenGL graphics library.

Video on YouTube

Project in Action

To Compile

gcc -o dijkstra dijkstra.c -lGL -lglut -lGLU -lm -std=c99

  • make sure to install glut on your platform before compiling
  • sudo apt-get install freeglut3-dev

To Execute

./dijkstra

Instructions

  1. Use Mouse Left Button to Create Nodes.
  2. Select any two Nodes to form a Path.
  3. Use Mouse Right Button to select Source and Destrination.
  4. Press ENTER key to begin Dijkstra's Algorithm.

Screenshot

sample shot

About

Simulation of Dijkstra's Algorithm written in C using OpenGL graphics library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages