Skip to content

MFurmanczyk/Dijkstra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dijsktra's algorithm

Implementation of Dijkstra's SP algorithm.

Data structures and algorithms

  • K-d tree - finds nearest vertex in a graph for start point and end point.
  • Dijkstra's algorithm - finds shortest path in graph.
  • Priority indexed queue - used in egde relaxation.
  • Directed graph with weighted edges.

Libraries

One of the goals of the project was to use the standard library in as many cases as possible. Visual side of this application is coded with SFML.

Controlls

Action Button
Set start point LMB
Set end point RMB
Quit Esc
Reset R

In order to find path user needs to:

  1. Set start point.
  2. Set end point.
  3. If user wants to find another path Reset action is required.

Screenshots

Scr2

Literature

Literature and sites I used while coding this application:

About

Implementation of Dijkstra Shortest Path algorithm with C++ and SFML.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published